Searched refs:ipv6hdr (Results 1 – 19 of 19) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp_noinline.c | 231 off += sizeof(struct ipv6hdr); in calc_offset() 233 off += sizeof(struct icmp6hdr) + sizeof(struct ipv6hdr); in calc_offset() 295 struct ipv6hdr *ip6h; in encap_v6() 300 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in encap_v6() 306 old_eth = data + sizeof(struct ipv6hdr); in encap_v6() 320 __builtin_bswap16(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6() 392 new_eth = *data + sizeof(struct ipv6hdr); in decap_v6() 399 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct ipv6hdr))) in decap_v6() 474 struct ipv6hdr *ip6h; in send_icmp6_reply() 479 + sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr) > data_end) in send_icmp6_reply() [all …]
|
D | test_tcpbpf_kern.c | 56 char header[sizeof(struct ipv6hdr) + sizeof(struct tcphdr)]; in bpf_testcb() 98 header, (sizeof(struct ipv6hdr) + in bpf_testcb() 101 int offset = sizeof(struct ipv6hdr); in bpf_testcb()
|
D | test_pkt_access.c | 45 struct ipv6hdr *ip6h = (struct ipv6hdr *)(eth + 1); in process()
|
D | test_flow_dissector.c | 185 static void ipv6_set_dsfield(struct ipv6hdr *ip6h, uint8_t dsfield) in ipv6_set_dsfield() 200 struct ipv6hdr *ip6h = header; in build_ipv6_header() 225 static uint16_t build_udp_v6_csum(const struct ipv6hdr *ip6h, in build_udp_v6_csum() 252 udph->check = build_udp_v6_csum(header - sizeof(struct ipv6hdr), in build_udp_header() 275 return sizeof(struct ipv6hdr); in l3_length()
|
D | test_sk_lookup_kern.c | 40 struct ipv6hdr *ip6h = (struct ipv6hdr *)(data + nh_off); in get_tuple()
|
D | test_xdp.c | 160 struct ipv6hdr *ip6h = data + sizeof(struct ethhdr); in handle_ipv6() 183 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6()
|
D | test_l4lb.c | 240 struct ipv6hdr *ip6h; in parse_icmpv6() 337 struct ipv6hdr *ip6h; in process_packet() 354 iph_len = sizeof(struct ipv6hdr); in process_packet()
|
D | test_l4lb_noinline.c | 240 struct ipv6hdr *ip6h; in parse_icmpv6() 337 struct ipv6hdr *ip6h; in process_packet() 354 iph_len = sizeof(struct ipv6hdr); in process_packet()
|
D | bpf_flow.c | 277 struct ipv6hdr *ip6h, _ip6h; in PROG() 286 keys->thoff += sizeof(struct ipv6hdr); in PROG()
|
D | test_select_reuseport_kern.c | 93 offsetof(struct ipv6hdr, saddr), in _select_by_skb_data()
|
D | test_tunnel_kern.c | 636 struct ipv6hdr *iph = data; in _ip6ip6_set_tunnel()
|
D | test_progs.c | 64 struct ipv6hdr iph; 136 struct ipv6hdr *iph6 = (void *)buf + sizeof(struct ethhdr); in test_xdp()
|
/external/kernel-headers/original/uapi/linux/ |
D | seg6_iptunnel.h | 50 head = sizeof(struct ipv6hdr); in seg6_lwt_headroom()
|
D | ipv6.h | 116 struct ipv6hdr { struct
|
/external/libnl/include/linux-private/linux/ |
D | ipv6.h | 90 struct ipv6hdr { struct
|
/external/syzkaller/executor/ |
D | common_linux.h | 403 struct ipv6hdr { struct 452 if (length < sizeof(struct ethhdr) + sizeof(struct ipv6hdr)) in syz_extract_tcp_res() 454 struct ipv6hdr* ipv6hdr = (struct ipv6hdr*)&data[sizeof(struct ethhdr)]; in syz_extract_tcp_res() local 456 if (ipv6hdr->nexthdr != IPPROTO_TCP) in syz_extract_tcp_res() 458 if (length < sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct tcphdr)) in syz_extract_tcp_res() 460 tcphdr = (struct tcphdr*)&data[sizeof(struct ethhdr) + sizeof(struct ipv6hdr)]; in syz_extract_tcp_res()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | msg_zerocopy.c | 277 static int setup_ip6h(struct ipv6hdr *ip6h, uint16_t payload_len) in setup_ip6h() 489 struct ipv6hdr ip6h; in do_tx() 702 sizeof(struct ipv6hdr) - in parse_opts()
|
/external/tcpdump/tests/ |
D | TESTLIST | 426 ipv6hdr-heapoverflow ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow.out 427 ipv6hdr-heapoverflow-v ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow-v.out -v
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 1002 struct ipv6hdr { 1050 if (length < sizeof(struct ethhdr) + sizeof(struct ipv6hdr)) 1052 struct ipv6hdr* ipv6hdr = (struct ipv6hdr*)&data[sizeof(struct ethhdr)]; 1053 if (ipv6hdr->nexthdr != IPPROTO_TCP) 1055 if (length < sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct tcphdr)) 1057 tcphdr = (struct tcphdr*)&data[sizeof(struct ethhdr) + sizeof(struct ipv6hdr)];
|