Home
last modified time | relevance | path

Searched defs:data_end (Results 1 – 25 of 89) sorted by relevance

1234

/Linux-v6.6/samples/bpf/
Dparse_varlen.c22 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
Dxdp_tx_iptunnel_kern.c45 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
Dtc_l2_redirect_kern.c64 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
Dxdp_adjust_tail_kern.c77 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
Dxdp2skb_meta_kern.c35 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/
Dtest_xdp_do_redirect.c32 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
Dtest_xdp_noinline.c232 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 …]
Dtest_tc_neigh_fib.c27 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
Dtest_xdp_vlan.c57 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
Dxdpwall.c106 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
Dvrf_socket_lookup.c18 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
Dtest_xdp.c46 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
Dtest_xdp_loop.c42 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
Dtest_btf_skc_cls_ingress.c33 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
Dtest_tc_neigh.c42 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
Dxdp_synproxy_kern.c188 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
Dtest_l4lb.c234 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
Dtest_l4lb_noinline.c233 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
Dtest_check_mtu.c61 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
Dtest_xdp_meta.c14 __u8 *data, *data_meta, *data_end; in ing_cls() local
34 __u8 *data, *data_meta, *data_end; in ing_xdp() local
Dxdp_redirect_multi_kern.c40 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
Dtest_tc_edt.c67 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
Dtest_tunnel_kern.c454 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
Dtest_parse_tcp_hdr_opt.c39 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/
Dnat6to4.c53 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

1234