]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - tools/testing/selftests/bpf/progs/test_skb_ctx.c
1 // SPDX-License-Identifier: GPL-2.0
4 #include "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)