/external/tcpdump/ |
D | print-frag6.c | 39 register const struct ip6_hdr *ip6; in frag6_print() 42 ip6 = (const struct ip6_hdr *)bp2; in frag6_print() 50 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print() 55 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
|
D | print-ip6.c | 48 const struct ip6_hdr *ip6) in ip6_finddst() 60 advance = sizeof(struct ip6_hdr); in ip6_finddst() 164 const struct ip6_hdr *ip6, const uint8_t *data, in nextproto6_cksum() 216 register const struct ip6_hdr *ip6; in ip6_print() 226 ip6 = (const struct ip6_hdr *)bp; in ip6_print() 229 if (length < sizeof (struct ip6_hdr)) { in ip6_print() 243 len = payload_len + sizeof(struct ip6_hdr); in ip6_print() 280 advance = sizeof(struct ip6_hdr); in ip6_print()
|
D | ip6.h | 76 struct ip6_hdr { struct 91 #define IP6_VERSION(ip6_hdr) (((ip6_hdr)->ip6_vfc & 0xf0) >> 4) argument
|
D | print-sunrpc.c | 173 register const struct ip6_hdr *ip6; in sunrpcrequest_print() 197 ip6 = (const struct ip6_hdr *)bp2; in sunrpcrequest_print()
|
D | print-udp.c | 309 static int udp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, in udp6_cksum() 319 const struct ip6_hdr *ip6; in udpipaddr_print() 322 ip6 = (const struct ip6_hdr *)ip; in udpipaddr_print() 378 register const struct ip6_hdr *ip6; in udp_print() 385 ip6 = (const struct ip6_hdr *)bp2; in udp_print()
|
D | print-tcp.c | 151 register const struct ip6_hdr *ip6, in tcp6_cksum() 174 register const struct ip6_hdr *ip6; in tcp_print() 179 ip6 = (const struct ip6_hdr *)bp2; in tcp_print() 843 const struct ip6_hdr *ip6; in tcp_verify_signature() 872 ip6 = (const struct ip6_hdr *)ip; in tcp_verify_signature()
|
D | print-dccp.c | 207 static int dccp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, in dccp6_cksum() 273 const struct ip6_hdr *ip6; in dccp_print() 284 ip6 = (const struct ip6_hdr *)data2; in dccp_print()
|
D | print-icmp6.c | 625 static int icmp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, in icmp6_cksum() 874 const struct ip6_hdr *ip; in icmp6_print() 875 const struct ip6_hdr *oip; in icmp6_print() 882 ip = (const struct ip6_hdr *)bp2; in icmp6_print() 883 oip = (const struct ip6_hdr *)(dp + 1); in icmp6_print() 1167 const struct ip6_hdr *ip6 = (const struct ip6_hdr *)bp; in get_upperlayer() 1182 hlen = sizeof(struct ip6_hdr); in get_upperlayer()
|
D | print-esp.c | 655 const struct ip6_hdr *ip6 = NULL; in esp_print() 707 ip6 = (const struct ip6_hdr *)bp2; in esp_print() 712 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
|
/external/android-clat/ |
D | ipv6.c | 80 const struct ip6_hdr *ip6 = (struct ip6_hdr *)packet; in ipv6_packet() 89 if (len < sizeof(struct ip6_hdr)) { in ipv6_packet() 114 next_header = packet + sizeof(struct ip6_hdr); in ipv6_packet() 115 len_left = len - sizeof(struct ip6_hdr); in ipv6_packet()
|
D | dump.h | 36 void dump_ip6(struct ip6_hdr *header); 38 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const uint8_t *payload, 40 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const uint8_t *payload,
|
D | translate.h | 48 const struct ip6_hdr *old_header); 49 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, 60 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, 65 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ,
|
D | clatd_test.cpp | 192 int is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) { in is_ipv6_fragment() 233 struct ip6_hdr *ip6 = (struct ip6_hdr *)packet; in check_packet() 297 struct ip6_hdr *ip6 = nullptr; in reassemble_packet() 327 struct ip6_hdr *ip6_orig = (struct ip6_hdr *)packet; in reassemble_packet() 337 ip6 = (struct ip6_hdr *)reassembled; in reassemble_packet() 415 struct ip6_hdr *ip6 = (struct ip6_hdr *)packet; in fix_udp_checksum() 526 struct ip6_hdr *ip6; in get_transport_checksum() 541 ip6 = (struct ip6_hdr *)packet; in get_transport_checksum() 656 ASSERT_EQ(sizeof(struct ip6_hdr), sizeof(v6_header)) << "Test IPv6 header: incorrect length\n"; in TEST_F() 670 udp = (struct udphdr *)(v6_udp_packet + sizeof(struct ip6_hdr)); in TEST_F() [all …]
|
D | translate.c | 125 const struct ip6_hdr *old_header) { in fill_ip_header() 158 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, in fill_ip6_header() 160 memset(ip6, 0, sizeof(struct ip6_hdr)); in fill_ip6_header() 179 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, in maybe_fill_frag_header() 481 sin6.sin6_addr = ((struct ip6_hdr *)out[CLAT_POS_IPHDR].iov_base)->ip6_dst; in send_rawv6() 497 char iphdr[sizeof(struct ip6_hdr)]; in translate_packet() 500 char icmp_iphdr[sizeof(struct ip6_hdr)]; in translate_packet()
|
D | ipv4.c | 60 struct ip6_hdr *ip6_targ = (struct ip6_hdr *)out[pos].iov_base; in ipv4_packet() 108 out[pos].iov_len = sizeof(struct ip6_hdr); in ipv4_packet()
|
D | dump.c | 76 void dump_ip6(struct ip6_hdr *header) { in dump_ip6() 160 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const uint8_t *payload, in dump_udp6() 219 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const uint8_t *payload, in dump_tcp6()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | ip_defrag.c | 30 #define IP6_HLEN (sizeof(struct ip6_hdr)) 117 static uint16_t udp6_checksum(struct ip6_hdr *iphdr, struct udphdr *udphdr) in udp6_checksum() 150 udphdr.check = udp6_checksum((struct ip6_hdr *)ip_frame, &udphdr); in send_fragment() 157 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)ip_frame; in send_fragment() 207 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)ip_frame; in send_udp_frags()
|
/external/usrsctp/fuzzer/ |
D | pcap2corpus.c | 114 const struct ip6_hdr *ip6_hdr_in; in packet_handler() 145 offset = args->offset + sizeof(struct ip6_hdr) + sizeof(struct sctphdr); in packet_handler() 149 ip6_hdr_in = (const struct ip6_hdr *)(bytes_in + args->offset); in packet_handler()
|
/external/wpa_supplicant_8/src/ap/ |
D | ndisc_snoop.c | 28 struct ip6_hdr ipv6h; 107 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) in handle_ndisc()
|
/external/iptables/iptables/ |
D | nft-ipv6.c | 55 offsetof(struct ip6_hdr, ip6_src), in nft_ipv6_add() 64 offsetof(struct ip6_hdr, ip6_dst), in nft_ipv6_add() 144 case offsetof(struct ip6_hdr, ip6_src): in nft_ipv6_parse_payload() 158 case offsetof(struct ip6_hdr, ip6_dst): in nft_ipv6_parse_payload() 172 case offsetof(struct ip6_hdr, ip6_nxt): in nft_ipv6_parse_payload()
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_header.h | 569 sizeof(struct ip6_hdr)) 573 sizeof(struct ip6_hdr)) 576 #define SCTP_MIN_OVERHEAD (sizeof(struct ip6_hdr) + \
|
/external/usrsctp/usrsctplib/ |
D | user_ip6_var.h | 64 struct ip6_hdr { struct
|
/external/iputils/ninfod/ |
D | ninfod.h | 44 #define MAX_REPLY_SIZE 1280-sizeof(struct ip6_hdr)
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-traffic.h | 122 struct ip6_hdr hdr;
|
/external/toybox/toys/pending/ |
D | traceroute.c | 388 struct ip6_hdr *hip; in do_trace() 392 hip = (struct ip6_hdr *)(ricmp + 1); in do_trace() 433 rcv_len -= sizeof(struct ip6_hdr); in do_trace()
|