/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 | ip6.h | 76 struct ip6_hdr { struct 91 #define IP6_VERSION(ip6_hdr) (((ip6_hdr)->ip6_vfc & 0xf0) >> 4) argument 199 extern int nextproto6_cksum(const struct ip6_hdr *, const uint8_t *, u_int, u_int, u_int);
|
D | print-ip6.c | 44 nextproto6_cksum(const struct ip6_hdr *ip6, const uint8_t *data, in nextproto6_cksum() 77 register const struct ip6_hdr *ip6; in ip6_print() 87 ip6 = (const struct ip6_hdr *)bp; in ip6_print() 90 if (length < sizeof (struct ip6_hdr)) { in ip6_print() 104 len = payload_len + sizeof(struct ip6_hdr); in ip6_print() 141 advance = sizeof(struct ip6_hdr); in ip6_print()
|
D | print-rt6.c | 95 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp2; in rt6_print()
|
D | print-sunrpc.c | 175 register const struct ip6_hdr *ip6; in sunrpcrequest_print() 201 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print()
|
D | print-udp.c | 283 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum() 295 const struct ip6_hdr *ip6; in udpipaddr_print() 298 ip6 = (const struct ip6_hdr *)ip; in udpipaddr_print() 357 register const struct ip6_hdr *ip6; in udp_print() 366 ip6 = (struct ip6_hdr *)bp2; in udp_print()
|
D | print-dccp.c | 209 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) in dccp6_cksum() 276 const struct ip6_hdr *ip6; in dccp_print() 289 ip6 = (const struct ip6_hdr *)data2; in dccp_print()
|
D | print-esp.c | 570 struct ip6_hdr *ip6 = NULL; in esp_print() 622 ip6 = (struct ip6_hdr *)bp2; in esp_print() 627 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
|
D | print-tcp.c | 168 register const struct ip6_hdr *ip6; 175 ip6 = (struct ip6_hdr *)bp2; 813 struct ip6_hdr *ip6; 844 ip6 = (struct ip6_hdr *)ip;
|
D | print-icmp6.c | 625 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum() 893 const struct ip6_hdr *ip; in icmp6_print() 894 const struct ip6_hdr *oip; in icmp6_print() 901 ip = (struct ip6_hdr *)bp2; in icmp6_print() 902 oip = (struct ip6_hdr *)(dp + 1); in icmp6_print() 1185 const struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in get_upperlayer() 1200 hlen = sizeof(struct ip6_hdr); in get_upperlayer()
|
D | print-nfs.c | 208 struct ip6_hdr *ip6; in print_nfsaddr() 226 ip6 = (struct ip6_hdr *)bp; in print_nfsaddr() 884 struct ip6_hdr *ip6 = NULL; in xid_map_enter() 896 ip6 = (struct ip6_hdr *)bp; in xid_map_enter() 939 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in xid_map_find()
|
D | print-sctp.c | 502 const struct ip6_hdr *ip6; in sctp_print() 521 ip6 = (const struct ip6_hdr *)bp2; in sctp_print()
|
/external/android-clat/ |
D | ipv6.c | 79 const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in ipv6_packet() 88 if(len < sizeof(struct ip6_hdr)) { in ipv6_packet() 113 next_header = packet + sizeof(struct ip6_hdr); in ipv6_packet() 114 len_left = len - sizeof(struct ip6_hdr); in ipv6_packet()
|
D | dump.h | 29 void dump_ip6(struct ip6_hdr *header); 31 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, 33 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6,
|
D | translate.h | 47 const struct ip6_hdr *old_header); 48 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, 59 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, 64 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ,
|
D | clatd_test.cpp | 184 int is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) { in is_ipv6_fragment() 225 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in check_packet() 289 struct ip6_hdr *ip6 = NULL; in reassemble_packet() 319 struct ip6_hdr *ip6_orig = (struct ip6_hdr *) packet; in reassemble_packet() 329 ip6 = (struct ip6_hdr *) reassembled; in reassemble_packet() 408 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in fix_udp_checksum() 520 struct ip6_hdr *ip6; in get_transport_checksum() 535 ip6 = (struct ip6_hdr *) packet; in get_transport_checksum() 748 ASSERT_EQ(sizeof(struct ip6_hdr), sizeof(v6_header)) << "Test IPv6 header: incorrect length\n"; in TEST_F() 762 udp = (struct udphdr *) (v6_udp_packet + sizeof(struct ip6_hdr)); in TEST_F() [all …]
|
D | translate.c | 124 const struct ip6_hdr *old_header) { in fill_ip_header() 157 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, in fill_ip6_header() 159 memset(ip6, 0, sizeof(struct ip6_hdr)); in fill_ip6_header() 178 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, in maybe_fill_frag_header() 484 sin6.sin6_addr = ((struct ip6_hdr *) out[CLAT_POS_IPHDR].iov_base)->ip6_dst; in send_rawv6() 500 char iphdr[sizeof(struct ip6_hdr)]; in translate_packet() 503 char icmp_iphdr[sizeof(struct ip6_hdr)]; in translate_packet()
|
D | ipv4.c | 59 struct ip6_hdr *ip6_targ = (struct ip6_hdr *) out[pos].iov_base; in ipv4_packet() 107 out[pos].iov_len = sizeof(struct ip6_hdr); in ipv4_packet()
|
D | dump.c | 73 void dump_ip6(struct ip6_hdr *header) { in dump_ip6() 157 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, in dump_udp6() 216 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, in dump_tcp6()
|
D | checksum.h | 29 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol);
|
D | checksum.c | 90 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol) { in ipv6_pseudo_header_checksum()
|
/external/wpa_supplicant_8/src/ap/ |
D | ndisc_snoop.c | 27 struct ip6_hdr ipv6h; 106 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) in handle_ndisc()
|
/external/iputils/ninfod/ |
D | ninfod.h | 44 #define MAX_REPLY_SIZE 1280-sizeof(struct ip6_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()
|
/external/iputils/ |
D | traceroute6.c | 839 struct ip6_hdr *hip; in packet_ok() 843 hip = (struct ip6_hdr *) (icp + 1); in packet_ok()
|