/Linux-v4.19/samples/bpf/ |
D | xdp_redirect_cpu_kern.c | 155 u16 get_dest_port_ipv4_udp(struct xdp_md *ctx, u64 nh_off) in get_dest_port_ipv4_udp() 177 int get_proto_ipv4(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv4() 189 int get_proto_ipv6(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv6() 201 int xdp_prognum0_no_touch(struct xdp_md *ctx) in xdp_prognum0_no_touch() 231 int xdp_prognum1_touch_data(struct xdp_md *ctx) in xdp_prognum1_touch_data() 274 int xdp_prognum2_round_robin(struct xdp_md *ctx) in xdp_prognum2_round_robin() 322 int xdp_prognum3_proto_separate(struct xdp_md *ctx) in xdp_prognum3_proto_separate() 390 int xdp_prognum4_ddos_filter_pktgen(struct xdp_md *ctx) in xdp_prognum4_ddos_filter_pktgen() 469 u32 get_ipv4_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv4_hash_ip_pair() 486 u32 get_ipv6_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv6_hash_ip_pair() [all …]
|
D | xdp_fwd_kern.c | 43 static __always_inline int xdp_fwd_flags(struct xdp_md *ctx, u32 flags) in xdp_fwd_flags() 127 int xdp_fwd_prog(struct xdp_md *ctx) in xdp_fwd_prog() 133 int xdp_fwd_direct_prog(struct xdp_md *ctx) in xdp_fwd_direct_prog()
|
D | xdp_adjust_tail_kern.c | 67 static __always_inline int send_icmp4_too_big(struct xdp_md *xdp) in send_icmp4_too_big() 117 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() 134 int _xdp_icmp(struct xdp_md *xdp) in _xdp_icmp()
|
D | xdp_redirect_kern.c | 56 int xdp_redirect_prog(struct xdp_md *ctx) in xdp_redirect_prog() 85 int xdp_redirect_dummy_prog(struct xdp_md *ctx) in xdp_redirect_dummy_prog()
|
D | xdp_redirect_map_kern.c | 56 int xdp_redirect_map_prog(struct xdp_md *ctx) in xdp_redirect_map_prog() 87 int xdp_redirect_dummy_prog(struct xdp_md *ctx) in xdp_redirect_dummy_prog()
|
D | xdp_tx_iptunnel_kern.c | 77 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() 152 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() 216 int _xdp_tx_iptunnel(struct xdp_md *xdp) in _xdp_tx_iptunnel()
|
D | xdp2skb_meta_kern.c | 32 int _xdp_mark(struct xdp_md *ctx) in _xdp_mark()
|
D | xdpsock_kern.c | 30 int xdp_sock_prog(struct xdp_md *ctx) in xdp_sock_prog()
|
D | xdp_sample_pkts_kern.c | 25 int xdp_sample_prog(struct xdp_md *ctx) in xdp_sample_prog()
|
D | xdp1_kern.c | 43 int xdp_prog1(struct xdp_md *ctx) in xdp_prog1()
|
D | xdp2_kern.c | 59 int xdp_prog1(struct xdp_md *ctx) in xdp_prog1()
|
D | xdp_rxq_info_kern.c | 74 int xdp_prognum0(struct xdp_md *ctx) in xdp_prognum0()
|
D | xdp_router_ipv4_kern.c | 109 int xdp_router_ipv4_prog(struct xdp_md *ctx) in xdp_router_ipv4_prog()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_xdp_redirect.c | 18 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()
|
D | test_verifier.c | 3911 offsetof(struct xdp_md, data)), 3913 offsetof(struct xdp_md, data_end)), 3934 offsetof(struct xdp_md, data)), 3950 offsetof(struct xdp_md, data)), 3952 offsetof(struct xdp_md, data_end)), 3977 offsetof(struct xdp_md, data)), 3979 offsetof(struct xdp_md, data_end)), 4000 offsetof(struct xdp_md, data)), 4002 offsetof(struct xdp_md, data_end)), 8515 offsetof(struct xdp_md, ingress_ifindex)), [all …]
|
D | test_xdp.c | 80 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()
|
D | test_adjust_tail.c | 15 int _xdp_adjust_tail(struct xdp_md *xdp) in _xdp_adjust_tail()
|
D | test_xdp_noinline.c | 289 bool encap_v6(struct xdp_md *xdp, struct ctl_value *cval, in encap_v6() 332 bool encap_v4(struct xdp_md *xdp, struct ctl_value *cval, in encap_v4() 386 bool decap_v6(struct xdp_md *xdp, void **data, void **data_end, bool inner_v4) in decap_v6() 407 bool decap_v4(struct xdp_md *xdp, void **data, void **data_end) in decap_v4() 703 bool is_ipv6, struct xdp_md *xdp) in process_packet() 812 int balancer_ingress(struct xdp_md *ctx) in balancer_ingress()
|
D | test_xdp_meta.c | 32 int ing_xdp(struct xdp_md *ctx) in ing_xdp()
|
/Linux-v4.19/tools/include/uapi/linux/ |
D | bpf.h | 2416 struct xdp_md { struct
|
/Linux-v4.19/include/uapi/linux/ |
D | bpf.h | 2416 struct xdp_md { struct
|
/Linux-v4.19/net/core/ |
D | filter.c | 5488 if (off < 0 || off >= sizeof(struct xdp_md)) in __is_valid_xdp_access() 5506 case offsetof(struct xdp_md, rx_queue_index): in xdp_is_valid_access() 5514 case offsetof(struct xdp_md, data): in xdp_is_valid_access() 5517 case offsetof(struct xdp_md, data_meta): in xdp_is_valid_access() 5520 case offsetof(struct xdp_md, data_end): in xdp_is_valid_access() 6174 case offsetof(struct xdp_md, data): in xdp_convert_ctx_access() 6179 case offsetof(struct xdp_md, data_meta): in xdp_convert_ctx_access() 6184 case offsetof(struct xdp_md, data_end): in xdp_convert_ctx_access() 6189 case offsetof(struct xdp_md, ingress_ifindex): in xdp_convert_ctx_access() 6199 case offsetof(struct xdp_md, rx_queue_index): in xdp_convert_ctx_access()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/ |
D | verifier.c | 487 case offsetof(struct xdp_md, rx_queue_index): in nfp_bpf_check_store()
|
D | jit.c | 2532 case offsetof(struct xdp_md, data): in mem_ldx_xdp() 2533 if (size != FIELD_SIZEOF(struct xdp_md, data)) in mem_ldx_xdp() 2537 case offsetof(struct xdp_md, data_end): in mem_ldx_xdp() 2538 if (size != FIELD_SIZEOF(struct xdp_md, data_end)) in mem_ldx_xdp() 2819 case offsetof(struct xdp_md, rx_queue_index): in mem_stx_xdp()
|