1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2019 Facebook */
4 #include <bpf/bpf_helpers.h>
5 #include "bpf_trace_helpers.h"
11 __u64 test_result
= 0;
13 SEC("fexit/test_pkt_md_access")
14 int BPF_PROG(test_main2
, struct sk_buff
*skb
, int ret
)
18 __builtin_preserve_access_index(({
21 if (len
!= 74 || ret
!= 0)
27 char _license
[] SEC("license") = "GPL";