X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=samples%2Fbpf%2Fbpf_helpers.h;h=84e3fd919a06ceff3f504658e57a17fc32b4634a;hb=a3f74617340b;hp=7904a2a493de43f69c0cf868d78c38d8509790af;hpb=5d8cf7688ede7128ebdad8741ed5bdea0f2cd637;p=cascardo%2Flinux.git diff --git a/samples/bpf/bpf_helpers.h b/samples/bpf/bpf_helpers.h index 7904a2a493de..84e3fd919a06 100644 --- a/samples/bpf/bpf_helpers.h +++ b/samples/bpf/bpf_helpers.h @@ -70,6 +70,8 @@ static int (*bpf_l3_csum_replace)(void *ctx, int off, int from, int to, int flag (void *) BPF_FUNC_l3_csum_replace; static int (*bpf_l4_csum_replace)(void *ctx, int off, int from, int to, int flags) = (void *) BPF_FUNC_l4_csum_replace; +static int (*bpf_skb_in_cgroup)(void *ctx, void *map, int index) = + (void *) BPF_FUNC_skb_in_cgroup; #if defined(__x86_64__)