Home
last modified time | relevance | path

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

12

/tools/testing/selftests/bpf/progs/
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
80 void *data_end = ctx_ptr(skb->data_end); in tc_chk() local
127 void *data_end = ctx_ptr(skb->data_end); in tc_redir() 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 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()
414 int swap_mac_and_send(void *data, void *data_end) in swap_mac_and_send()
427 int send_icmp_reply(void *data, void *data_end) in send_icmp_reply()
460 int send_icmp6_reply(void *data, void *data_end) in send_icmp6_reply()
484 int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6()
[all …]
Dtest_xdp_loop.c44 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport()
78 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() local
151 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() local
212 void *data_end = (void *)(long)xdp->data_end; in _xdp_tx_iptunnel() local
Dtest_xdp.c48 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport()
82 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() local
155 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() local
216 void *data_end = (void *)(long)xdp->data_end; in _xdp_tx_iptunnel() 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
243 void *data_end = (void *)(long)ctx->data_end; in xdp_prognum3() 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.c51 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v4() local
68 void *data_end = ctx_ptr(skb->data_end); in is_remote_ep_v6() local
91 void *data_end = ctx_ptr(skb->data_end); in tc_chk() local
Dxdping_kern.c61 void *data_end = (void *)(long)ctx->data_end; in icmp_check() local
92 void *data_end = (void *)(long)ctx->data_end; in xdping_client() local
156 void *data_end = (void *)(long)ctx->data_end; in xdping_server() 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
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_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_l4lb.c236 static __always_inline int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6()
258 static __always_inline int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp()
283 static __always_inline bool parse_udp(void *data, __u64 off, void *data_end, in parse_udp()
302 static __always_inline bool parse_tcp(void *data, __u64 off, void *data_end, in parse_tcp()
324 static __always_inline int process_packet(void *data, __u64 off, void *data_end, in process_packet()
456 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local
Dtest_tcp_check_syncookie_kern.c26 static __always_inline __s64 gen_syncookie(void *data_end, struct bpf_sock *sk, in gen_syncookie()
46 void *data_end) in check_syncookie()
Dtest_pkt_access.c86 void *data_end = (void *)(long)skb->data_end; in test_pkt_write_access_subprog() local
103 void *data_end = (void *)(long)skb->data_end; in test_pkt_access() local
Dtest_xdp_bpf2bpf.c25 void *data_end; member
48 void *data_end = (void *)(long)xdp->data_end; in BPF_PROG() local
Dsockmap_tcp_msg_prog.c11 void *data_end = (void *)(long) msg->data_end; in bpf_prog1() local
Dtest_xdp_adjust_tail_shrink.c17 void *data_end = (void *)(long)xdp->data_end; in _xdp_adjust_tail_shrink() local
Dtest_xdp_devmap_helpers.c12 void *data_end = (void *)(long)ctx->data_end; in xdpdm_devlog() local
Dtest_xdp_adjust_tail_grow.c8 void *data_end = (void *)(long)xdp->data_end; in _xdp_adjust_tail_grow() local
Dsockmap_parse_prog.c10 void *data_end = (void *)(long) skb->data_end; in bpf_prog1() local
Dtest_queue_stack_map.h32 void *data_end = (void *)(long)skb->data_end; in _test() local
Dtest_xdp_with_devmap_helpers.c34 void *data_end = (void *)(long)ctx->data_end; in xdp_dummy_dm() local
Dtest_verif_scale1.c11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local
Dtest_verif_scale2.c11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local
Dtest_verif_scale3.c11 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local

12