Searched refs:pkt_v6 (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | kfree_skb.c | 22 struct ipv6_packet *pkt_v6 = data + sizeof(*meta); in on_sample() local 39 if (CHECK(pkt_v6->eth.h_proto != 0xdd86, "check_eth", in on_sample() 40 "h_proto %x\n", pkt_v6->eth.h_proto)) in on_sample() 42 if (CHECK(pkt_v6->iph.nexthdr != 6, "check_ip", in on_sample() 43 "iph.nexthdr %x\n", pkt_v6->iph.nexthdr)) in on_sample() 45 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample() 46 "tcp.doff %x\n", pkt_v6->tcp.doff)) in on_sample() 57 .data_in = &pkt_v6, in serial_test_kfree_skb() 58 .data_size_in = sizeof(pkt_v6), in serial_test_kfree_skb()
|
D | xdp_adjust_tail.c | 28 expect_sz = sizeof(pkt_v6) - 20; /* Test shrink with 20 bytes */ in test_xdp_adjust_tail_shrink() 29 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_shrink() 30 topts.data_size_in = sizeof(pkt_v6); in test_xdp_adjust_tail_shrink() 63 expect_sz = sizeof(pkt_v6) + 40; /* Test grow with 40 bytes */ in test_xdp_adjust_tail_grow() 64 topts.data_in = &pkt_v6; in test_xdp_adjust_tail_grow() 65 topts.data_size_in = sizeof(pkt_v6); in test_xdp_adjust_tail_grow()
|
D | pkt_access.c | 24 topts.data_in = &pkt_v6; in test_pkt_access() 25 topts.data_size_in = sizeof(pkt_v6); in test_pkt_access()
|
D | xdp.c | 42 topts.data_in = &pkt_v6; in test_xdp() 43 topts.data_size_in = sizeof(pkt_v6); in test_xdp()
|
D | xdp_noinline.c | 54 topts.data_in = &pkt_v6; in test_xdp_noinline() 55 topts.data_size_in = sizeof(pkt_v6); in test_xdp_noinline()
|
D | l4lb_all.c | 65 topts.data_in = &pkt_v6; in test_l4lb() 66 topts.data_size_in = sizeof(pkt_v6); in test_l4lb()
|
D | fexit_bpf2bpf.c | 69 .data_in = &pkt_v6, in test_fexit_bpf2bpf_common() 70 .data_size_in = sizeof(pkt_v6), in test_fexit_bpf2bpf_common() 236 .data_in = &pkt_v6, in test_second_attach() 237 .data_size_in = sizeof(pkt_v6), in test_second_attach()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | network_helpers.h | 40 extern struct ipv6_packet pkt_v6;
|
D | network_helpers.c | 46 struct ipv6_packet pkt_v6 = { variable
|