Home
last modified time | relevance | path

Searched refs:xdp_md (Results 1 – 20 of 20) sorted by relevance

/tools/testing/selftests/bpf/verifier/
Dxdp_direct_packet_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
6 offsetof(struct xdp_md, data_end)),
22 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
24 offsetof(struct xdp_md, data_end)),
40 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
42 offsetof(struct xdp_md, data_end)),
57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
59 offsetof(struct xdp_md, data_end)),
75 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
77 offsetof(struct xdp_md, data_end)),
[all …]
Dmeta_access.c5 offsetof(struct xdp_md, data_meta)),
6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)),
21 offsetof(struct xdp_md, data_meta)),
22 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)),
40 offsetof(struct xdp_md, data_meta)),
42 offsetof(struct xdp_md, data_end)),
58 offsetof(struct xdp_md, data_meta)),
60 offsetof(struct xdp_md, data_end)),
61 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, offsetof(struct xdp_md, data)),
77 offsetof(struct xdp_md, data_meta)),
[all …]
Dhelper_packet_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
6 offsetof(struct xdp_md, data_end)),
25 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
39 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
41 offsetof(struct xdp_md, data_end)),
64 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
66 offsetof(struct xdp_md, data_end)),
85 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
87 offsetof(struct xdp_md, data_end)),
Dxdp.c6 offsetof(struct xdp_md, ingress_ifindex)),
Dxadd.c37 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
39 offsetof(struct xdp_md, data_end)),
Dcalls.c357 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1, offsetof(struct xdp_md, data)),
359 offsetof(struct xdp_md, data_end)),
/tools/testing/selftests/bpf/progs/
Dxdp_redirect_map.c14 int xdp_redirect_map_0(struct xdp_md *xdp) in xdp_redirect_map_0()
20 int xdp_redirect_map_1(struct xdp_md *xdp) in xdp_redirect_map_1()
26 int xdp_redirect_map_2(struct xdp_md *xdp) in xdp_redirect_map_2()
Dtest_xdp_redirect.c18 int xdp_redirect_to_111(struct xdp_md *xdp) in xdp_redirect_to_111()
23 int xdp_redirect_to_222(struct xdp_md *xdp) in xdp_redirect_to_222()
Dtest_xdp_vlan.c106 int xdp_prognum0(struct xdp_md *ctx) in xdp_prognum0()
148 int xdp_prognum1(struct xdp_md *ctx) in xdp_prognum1()
182 int xdp_prognum2(struct xdp_md *ctx) in xdp_prognum2()
241 int xdp_prognum3(struct xdp_md *ctx) in xdp_prognum3()
Dxdp_tx.c7 int xdp_tx(struct xdp_md *xdp) in xdp_tx()
Dxdp_dummy.c8 int xdp_dummy_prog(struct xdp_md *ctx) in xdp_dummy_prog()
Dtest_adjust_tail.c15 int _xdp_adjust_tail(struct xdp_md *xdp) in _xdp_adjust_tail()
Dxdping_kern.c59 static __always_inline int icmp_check(struct xdp_md *ctx, int type) in icmp_check()
90 int xdping_client(struct xdp_md *ctx) in xdping_client()
154 int xdping_server(struct xdp_md *ctx) in xdping_server()
Dtest_xdp.c80 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4()
153 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6()
214 int _xdp_tx_iptunnel(struct xdp_md *xdp) in _xdp_tx_iptunnel()
Dtest_xdp_loop.c76 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4()
149 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6()
210 int _xdp_tx_iptunnel(struct xdp_md *xdp) in _xdp_tx_iptunnel()
Dtest_map_in_map.c27 int xdp_mimtest0(struct xdp_md *ctx) in xdp_mimtest0()
Dtest_xdp_meta.c32 int ing_xdp(struct xdp_md *ctx) in ing_xdp()
Dtest_xdp_noinline.c278 bool encap_v6(struct xdp_md *xdp, struct ctl_value *cval, in encap_v6()
321 bool encap_v4(struct xdp_md *xdp, struct ctl_value *cval, in encap_v4()
375 bool decap_v6(struct xdp_md *xdp, void **data, void **data_end, bool inner_v4) in decap_v6()
396 bool decap_v4(struct xdp_md *xdp, void **data, void **data_end) in decap_v4()
692 bool is_ipv6, struct xdp_md *xdp) in process_packet()
801 int balancer_ingress(struct xdp_md *ctx) in balancer_ingress()
Dtest_tcp_check_syncookie_kern.c160 int check_syncookie_xdp(struct xdp_md *ctx) in check_syncookie_xdp()
/tools/include/uapi/linux/
Dbpf.h3189 struct xdp_md { struct