Home
last modified time | relevance | path

Searched refs:ipv6hdr (Results 1 – 19 of 19) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_xdp_noinline.c231 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 …]
Dtest_tcpbpf_kern.c56 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()
Dtest_pkt_access.c45 struct ipv6hdr *ip6h = (struct ipv6hdr *)(eth + 1); in process()
Dtest_flow_dissector.c185 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()
Dtest_sk_lookup_kern.c40 struct ipv6hdr *ip6h = (struct ipv6hdr *)(data + nh_off); in get_tuple()
Dtest_xdp.c160 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()
Dtest_l4lb.c240 struct ipv6hdr *ip6h; in parse_icmpv6()
337 struct ipv6hdr *ip6h; in process_packet()
354 iph_len = sizeof(struct ipv6hdr); in process_packet()
Dtest_l4lb_noinline.c240 struct ipv6hdr *ip6h; in parse_icmpv6()
337 struct ipv6hdr *ip6h; in process_packet()
354 iph_len = sizeof(struct ipv6hdr); in process_packet()
Dbpf_flow.c277 struct ipv6hdr *ip6h, _ip6h; in PROG()
286 keys->thoff += sizeof(struct ipv6hdr); in PROG()
Dtest_select_reuseport_kern.c93 offsetof(struct ipv6hdr, saddr), in _select_by_skb_data()
Dtest_tunnel_kern.c636 struct ipv6hdr *iph = data; in _ip6ip6_set_tunnel()
Dtest_progs.c64 struct ipv6hdr iph;
136 struct ipv6hdr *iph6 = (void *)buf + sizeof(struct ethhdr); in test_xdp()
/external/kernel-headers/original/uapi/linux/
Dseg6_iptunnel.h50 head = sizeof(struct ipv6hdr); in seg6_lwt_headroom()
Dipv6.h116 struct ipv6hdr { struct
/external/libnl/include/linux-private/linux/
Dipv6.h90 struct ipv6hdr { struct
/external/syzkaller/executor/
Dcommon_linux.h403 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/
Dmsg_zerocopy.c277 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/
DTESTLIST426 ipv6hdr-heapoverflow ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow.out
427 ipv6hdr-heapoverflow-v ipv6hdr-heapoverflow.pcap ipv6hdr-heapoverflow-v.out -v
/external/syzkaller/pkg/csource/
Dgenerated.go1002 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)];