Lines Matching refs:ctx
106 int xdp_prognum0(struct xdp_md *ctx) in xdp_prognum0() argument
108 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum0()
109 void *data = (void *)(long)ctx->data; in xdp_prognum0()
148 int xdp_prognum1(struct xdp_md *ctx) in xdp_prognum1() argument
150 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum1()
151 void *data = (void *)(long)ctx->data; in xdp_prognum1()
182 int xdp_prognum2(struct xdp_md *ctx) in xdp_prognum2() argument
184 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum2()
185 void *data = (void *)(long)ctx->data; in xdp_prognum2()
207 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum2()
241 int xdp_prognum3(struct xdp_md *ctx) in xdp_prognum3() argument
243 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum3()
244 void *data = (void *)(long)ctx->data; in xdp_prognum3()
259 bpf_xdp_adjust_head(ctx, VLAN_HDR_SZ); in xdp_prognum3()
271 int _tc_progA(struct __sk_buff *ctx) in _tc_progA() argument
273 bpf_skb_vlan_push(ctx, bpf_htons(ETH_P_8021Q), TESTVLAN); in _tc_progA()