1 // SPDX-License-Identifier: GPL-2.0
4 #include <bpf/bpf_helpers.h>
6 int _version
SEC("version") = 1;
7 char _license
[] SEC("license") = "GPL";
10 int process(struct __sk_buff
*skb
)
12 #pragma clang loop unroll(full)
13 for (int i
= 0; i
< 5; i
++) {
14 if (skb
->cb
[i
] != i
+ 1)
22 if (skb
->wire_len
!= 100)
24 if (skb
->gso_segs
!= 8)
26 if (skb
->gso_size
!= 10)