/external/tcpdump/ |
D | print-frag6.c | 47 register const struct ip6_hdr *ip6; in frag6_print() 50 ip6 = (const struct ip6_hdr *)bp2; in frag6_print() 58 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print() 63 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
|
D | print-ip6.c | 51 nextproto6_cksum(const struct ip6_hdr *ip6, const u_int8_t *data, in nextproto6_cksum() 84 register const struct ip6_hdr *ip6; in ip6_print() 94 ip6 = (const struct ip6_hdr *)bp; in ip6_print() 97 if (length < sizeof (struct ip6_hdr)) { in ip6_print() 106 len = payload_len + sizeof(struct ip6_hdr); in ip6_print() 143 advance = sizeof(struct ip6_hdr); in ip6_print()
|
D | ip6.h | 77 struct ip6_hdr { struct 190 extern int nextproto6_cksum(const struct ip6_hdr *, const u_int8_t *, u_int, u_int);
|
D | print-sunrpc.c | 91 register const struct ip6_hdr *ip6; in sunrpcrequest_print() 117 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print()
|
D | print-dccp.c | 81 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) in dccp6_cksum() 173 const struct ip6_hdr *ip6; in dccp_print() 185 ip6 = (const struct ip6_hdr *)data2; in dccp_print()
|
D | print-udp.c | 294 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum() 306 const struct ip6_hdr *ip6; in udpipaddr_print() 309 ip6 = (const struct ip6_hdr *)ip; in udpipaddr_print() 368 register const struct ip6_hdr *ip6; in udp_print() 377 ip6 = (struct ip6_hdr *)bp2; in udp_print()
|
D | print-icmp6.c | 198 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum() 307 const struct ip6_hdr *ip; in icmp6_print() 308 const struct ip6_hdr *oip; in icmp6_print() 315 ip = (struct ip6_hdr *)bp2; in icmp6_print() 316 oip = (struct ip6_hdr *)(dp + 1); in icmp6_print() 598 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in get_upperlayer() 613 hlen = sizeof(struct ip6_hdr); in get_upperlayer()
|
D | print-sctp.c | 92 const struct ip6_hdr *ip6; in sctp_print() 111 ip6 = (const struct ip6_hdr *)bp2; in sctp_print()
|
D | print-tcp.c | 166 register const struct ip6_hdr *ip6; 173 ip6 = (struct ip6_hdr *)bp2; 797 struct ip6_hdr *ip6; 828 ip6 = (struct ip6_hdr *)ip;
|
D | print-esp.c | 552 struct ip6_hdr *ip6 = NULL; in esp_print() 604 ip6 = (struct ip6_hdr *)bp2; in esp_print() 609 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
|
D | print-nfs.c | 164 struct ip6_hdr *ip6; in print_nfsaddr() 182 ip6 = (struct ip6_hdr *)bp; in print_nfsaddr() 973 struct ip6_hdr *ip6 = NULL; in xid_map_enter() 985 ip6 = (struct ip6_hdr *)bp; in xid_map_enter() 1028 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in xid_map_find()
|
D | print-pgm.c | 170 register const struct ip6_hdr *ip6; in pgm_print() 181 ip6 = (struct ip6_hdr *)bp2; in pgm_print()
|
/external/android-clat/ |
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 | 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 | clatd_test.cpp | 183 int is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) { in is_ipv6_fragment() 224 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in check_packet() 288 struct ip6_hdr *ip6 = NULL; in reassemble_packet() 318 struct ip6_hdr *ip6_orig = (struct ip6_hdr *) packet; in reassemble_packet() 328 ip6 = (struct ip6_hdr *) reassembled; in reassemble_packet() 407 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in fix_udp_checksum() 534 ASSERT_EQ(sizeof(struct ip6_hdr), sizeof(v6_header)) << "Test IPv6 header: incorrect length\n"; in TEST_F() 548 udp = (struct udphdr *) (v6_udp_packet + sizeof(struct ip6_hdr)); in TEST_F() 573 ASSERT_TRUE(!is_ipv6_fragment((struct ip6_hdr *) reassembled, total_length)) in TEST_F() 590 pseudo_checksum = ipv6_pseudo_header_checksum((struct ip6_hdr *) v6_header, UDP_LEN, IPPROTO_UDP); in TEST_F() [all …]
|
D | translate.h | 58 const struct ip6_hdr *old_header); 59 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, 70 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, 75 size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ,
|
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 | 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() 488 sin6.sin6_addr = ((struct ip6_hdr *) out[CLAT_POS_IPHDR].iov_base)->ip6_dst; in send_rawv6() 504 char iphdr[sizeof(struct ip6_hdr)]; in translate_packet() 507 char icmp_iphdr[sizeof(struct ip6_hdr)]; in translate_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 | 25 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol);
|
D | checksum.c | 91 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol) { in ipv6_pseudo_header_checksum()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_header.h | 597 sizeof(struct ip6_hdr)) 601 sizeof(struct ip6_hdr)) 604 #define SCTP_MIN_OVERHEAD (sizeof(struct ip6_hdr) + \
|
/external/chromium_org/third_party/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/iputils/ |
D | traceroute6.c | 839 struct ip6_hdr *hip; in packet_ok() 843 hip = (struct ip6_hdr *) (icp + 1); in packet_ok()
|