/Linux-v6.6/samples/bpf/ |
D | parse_varlen.c | 22 static int tcp(void *data, uint64_t tp_off, void *data_end) in tcp() 33 static int udp(void *data, uint64_t tp_off, void *data_end) in udp() 51 static int parse_ipv4(void *data, uint64_t nh_off, void *data_end) in parse_ipv4() 78 static int parse_ipv6(void *data, uint64_t nh_off, void *data_end) in parse_ipv6() 117 void *data_end = (void *)(long)skb->data_end; in handle_ingress() local
|
D | xdp_tx_iptunnel_kern.c | 45 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() 79 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() local 154 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() local 218 void *data_end = (void *)(long)xdp->data_end; in _xdp_tx_iptunnel() local
|
D | tc_l2_redirect_kern.c | 64 void *data_end = (void *)(long)skb->data_end; in _l2_to_iptun_ingress_forward() local 115 void *data_end = (void *)(long)skb->data_end; in _l2_to_iptun_ingress_redirect() local 156 void *data_end = (void *)(long)skb->data_end; in _l2_to_ip6tun_ingress_redirect() local 211 void *data_end = (void *)(long)skb->data_end; in _drop_non_tun_vip() local
|
D | xdp_adjust_tail_kern.c | 77 void *data_end = (void *)(long)xdp->data_end; in send_icmp4_too_big() local 122 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() local 139 void *data_end = (void *)(long)xdp->data_end; in _xdp_icmp() local
|
D | xdp2skb_meta_kern.c | 35 void *data, *data_end; in _xdp_mark() local 66 void *data_end = (void *)(unsigned long)ctx->data_end; in _tc_mark() local
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_xdp_do_redirect.c | 32 void *data_end = (void *)(long)xdp->data_end; in xdp_redirect() local 67 static bool check_pkt(void *data, void *data_end, const __u32 mark) in check_pkt() 89 void *data_end = (void *)(long)xdp->data_end; in xdp_count_pkts() local 105 void *data_end = (void *)(long)skb->data_end; in tc_count_pkts() local
|
D | test_xdp_noinline.c | 232 bool parse_udp(void *data, void *data_end, in parse_udp() 254 bool parse_tcp(void *data, void *data_end, in parse_tcp() 286 void *data_end; in encap_v6() local 332 void *data_end; in encap_v4() local 375 int swap_mac_and_send(void *data, void *data_end) in swap_mac_and_send() 388 int send_icmp_reply(void *data, void *data_end) in send_icmp_reply() 420 int send_icmp6_reply(void *data, void *data_end) in send_icmp6_reply() 444 int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6() 469 int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp() 591 void *data_end) in process_l3_headers_v6() [all …]
|
D | test_tc_neigh_fib.c | 27 void *data_end = ctx_ptr(skb->data_end); in fill_fib_params_v4() local 55 void *data_end = ctx_ptr(skb->data_end); in fill_fib_params_v6() local 81 void *data_end = ctx_ptr(skb->data_end); in tc_chk() local 128 void *data_end = ctx_ptr(skb->data_end); in tc_redir() local
|
D | test_xdp_vlan.c | 57 bool parse_eth_frame(struct ethhdr *eth, void *data_end, struct parse_pkt *pkt) in parse_eth_frame() 108 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum0() local 150 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum1() local 184 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum2() local 230 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum3() local
|
D | xdpwall.c | 106 static __always_inline struct ethhdr *parse_ethhdr(void *data, void *data_end) in parse_ethhdr() 165 get_transport_hdr(__u16 offset, void *data, void *data_end) in get_transport_hdr() 191 parse_tcp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_tcp() 206 parse_udp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_udp() 234 filter_transport_hdr(void *transport_hdr, void *data_end, in filter_transport_hdr() 257 parse_gue_v6(struct pkt_info *info, struct ipv6hdr *ip6h, void *data_end) in parse_gue_v6() 299 void *data, void *data_end) in parse_ipv6_gue() 320 void *data_end = (void *)(long)(ctx->data_end); in edgewall() local
|
D | vrf_socket_lookup.c | 18 static void socket_lookup(void *ctx, void *data_end, void *data) in socket_lookup() 66 void *data_end = (void *)(long)skb->data_end; in tc_socket_lookup() local 79 void *data_end = (void *)(long)xdp->data_end; in xdp_socket_lookup() local
|
D | test_xdp.c | 46 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() 80 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() local 153 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() local 214 void *data_end = (void *)(long)xdp->data_end; in _xdp_tx_iptunnel() local
|
D | test_xdp_loop.c | 42 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() 76 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() local 149 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() local 210 void *data_end = (void *)(long)xdp->data_end; in _xdp_tx_iptunnel() local
|
D | test_btf_skc_cls_ingress.c | 33 void *data_end; in test_syncookie_helper() local 75 void *data_end; in handle_ip6_tcp() local 153 void *data_end; in cls_ingress() local
|
D | test_tc_neigh.c | 42 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v4() local 59 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v6() local 76 void *data_end = ctx_ptr(skb->data_end); in tc_chk() local
|
D | xdp_synproxy_kern.c | 188 void *data_end; member 259 __be32 *tsecr, void *data_end) in tscookie_init() 353 static __always_inline int tcp_dissect(void *data, void *data_end, in tcp_dissect() 559 void *data, void *data_end, in syncookie_handle_syn() 728 static __always_inline int syncookie_part1(void *ctx, void *data, void *data_end, in syncookie_part1() 765 static __always_inline int syncookie_part2(void *ctx, void *data, void *data_end, in syncookie_part2() 802 void *data_end = (void *)(long)ctx->data_end; in syncookie_xdp() local 820 void *data_end = (void *)(long)skb->data_end; in syncookie_tc() local
|
D | test_l4lb.c | 234 static __always_inline int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6() 256 static __always_inline int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp() 281 static __always_inline bool parse_udp(void *data, __u64 off, void *data_end, in parse_udp() 300 static __always_inline bool parse_tcp(void *data, __u64 off, void *data_end, in parse_tcp() 322 static __always_inline int process_packet(void *data, __u64 off, void *data_end, in process_packet() 454 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local
|
D | test_l4lb_noinline.c | 233 static __noinline int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6() 255 static __noinline int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp() 280 static __noinline bool parse_udp(void *data, __u64 off, void *data_end, in parse_udp() 299 static __noinline bool parse_tcp(void *data, __u64 off, void *data_end, in parse_tcp() 321 static __noinline int process_packet(void *data, __u64 off, void *data_end, in process_packet() 453 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local
|
D | test_check_mtu.c | 61 void *data_end = (void *)(long)ctx->data_end; in xdp_exceed_mtu() local 88 void *data_end = (void *)(long)ctx->data_end; in xdp_minus_delta() local 112 void *data_end = (void *)(long)ctx->data_end; in xdp_input_len() local 203 void *data_end = (void *)(long)ctx->data_end; in tc_exceed_mtu_da() local
|
D | test_xdp_meta.c | 14 __u8 *data, *data_meta, *data_end; in ing_cls() local 34 __u8 *data, *data_meta, *data_end; in ing_xdp() local
|
D | xdp_redirect_multi_kern.c | 40 void *data_end = (void *)(long)ctx->data_end; in xdp_redirect_map_multi_prog() local 76 void *data_end = (void *)(long)ctx->data_end; in xdp_devmap_prog() local
|
D | test_tc_edt.c | 67 void *data_end = (void *)(long)skb->data_end; in handle_tcp() local 81 void *data_end = (void *)(long)skb->data_end; in handle_ipv4() local
|
D | test_tunnel_kern.c | 454 void *data_end = (void *)(long)skb->data_end; in veth_set_outer_dst() local 728 void *data_end = (void *)(long)skb->data_end; in ipip_set_tunnel() local 774 void *data_end = (void *)(long)skb->data_end; in ipip_gue_set_tunnel() local 811 void *data_end = (void *)(long)skb->data_end; in ipip_fou_set_tunnel() local 875 void *data_end = (void *)(long)skb->data_end; in ipip6_set_tunnel() local 924 void *data_end = (void *)(long)skb->data_end; in ip6ip6_set_tunnel() local
|
D | test_parse_tcp_hdr_opt.c | 39 const void *data_end = (void *)(long)xdp->data_end; in parse_hdr_opt() local 85 const void *data_end = (void *)(long)xdp->data_end; in xdp_ingress_v6() local
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | nat6to4.c | 53 const void *data_end = (void *)(long)skb->data_end; in sched_cls_ingress6_nat_6_prog() local 154 const void *data_end = (void *)(long)skb->data_end; in sched_cls_egress4_snat4_prog() local
|