/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 | 52 register const struct ip6_hdr *ip6; in ip6_print() 62 ip6 = (const struct ip6_hdr *)bp; in ip6_print() 65 if (length < sizeof (struct ip6_hdr)) { in ip6_print() 74 len = payload_len + sizeof(struct ip6_hdr); in ip6_print() 111 advance = sizeof(struct ip6_hdr); in ip6_print()
|
D | print-sunrpc.c | 76 register const struct ip6_hdr *ip6; in sunrpcrequest_print() 102 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print()
|
D | print-icmp6.c | 192 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum() 239 const struct ip6_hdr *ip; in icmp6_print() 240 const struct ip6_hdr *oip; in icmp6_print() 247 ip = (struct ip6_hdr *)bp2; in icmp6_print() 248 oip = (struct ip6_hdr *)(dp + 1); in icmp6_print() 525 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in get_upperlayer() 540 hlen = sizeof(struct ip6_hdr); in get_upperlayer()
|
D | print-udp.c | 319 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum() 367 const struct ip6_hdr *ip6; in udpipaddr_print() 370 ip6 = (const struct ip6_hdr *)ip; in udpipaddr_print() 429 register const struct ip6_hdr *ip6; in udp_print() 438 ip6 = (struct ip6_hdr *)bp2; in udp_print()
|
D | print-esp.c | 352 struct ip6_hdr *ip6 = NULL; in esp_print() 411 ip6 = (struct ip6_hdr *)bp2; in esp_print() 416 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
|
D | print-tcp.c | 146 static int tcp6_cksum(const struct ip6_hdr *ip6, const struct tcphdr *tp, in tcp6_cksum() 203 register const struct ip6_hdr *ip6; in tcp_print() 210 ip6 = (struct ip6_hdr *)bp2; in tcp_print() 744 struct ip6_hdr *ip6; in tcp_verify_signature() 768 ip6 = (struct ip6_hdr *)ip; in tcp_verify_signature()
|
D | print-dccp.c | 93 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) in dccp6_cksum() 221 const struct ip6_hdr *ip6; in dccp_print() 233 ip6 = (const struct ip6_hdr *)data2; in dccp_print()
|
D | print-sctp.c | 69 const struct ip6_hdr *ip6; in sctp_print() 86 ip6 = (const struct ip6_hdr *)bp2; in sctp_print()
|
D | ip6.h | 77 struct ip6_hdr { struct
|
D | print-nfs.c | 164 struct ip6_hdr *ip6; in print_nfsaddr() 182 ip6 = (struct ip6_hdr *)bp; in print_nfsaddr() 894 struct ip6_hdr *ip6 = NULL; in xid_map_enter() 904 ip6 = (struct ip6_hdr *)bp; in xid_map_enter() 946 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in xid_map_find()
|
D | print-pgm.c | 161 register const struct ip6_hdr *ip6; in pgm_print() 172 ip6 = (struct ip6_hdr *)bp2; in pgm_print()
|
D | print-isakmp.c | 184 struct ip6_hdr *ip6; in cookie_record() 222 ip6 = (struct ip6_hdr *)bp2; in cookie_record() 254 struct ip6_hdr *ip6; in cookie_sidecheck() 272 ip6 = (struct ip6_hdr *)bp2; in cookie_sidecheck()
|
/external/android-clat/ |
D | ipv6.c | 86 const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in ipv6_packet() 95 if(len < sizeof(struct ip6_hdr)) { in ipv6_packet() 120 next_header = packet + sizeof(struct ip6_hdr); in ipv6_packet() 121 len_left = len - sizeof(struct ip6_hdr); in ipv6_packet()
|
D | dump.h | 26 void dump_ip6(struct ip6_hdr *header); 28 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const char *payload, size_t pay… 29 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const char *payload, size_t pay…
|
D | ipv4.c | 69 struct ip6_hdr *ip6_targ = (struct ip6_hdr *) out[pos].iov_base; in ipv4_packet() 122 out[pos].iov_len = sizeof(struct ip6_hdr); in ipv4_packet()
|
D | translate.h | 46 const struct ip6_hdr *old_header); 47 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol,
|
D | dump.c | 73 void dump_ip6(struct ip6_hdr *header) { in dump_ip6() 155 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const char *payload, size_t pay… in dump_udp6() 211 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, const char *payload, size_t pay… in dump_tcp6()
|
D | checksum.h | 25 uint32_t ipv6_pseudo_header_checksum(uint32_t current, const struct ip6_hdr *ip6, uint16_t len);
|
D | translate.c | 132 const struct ip6_hdr *old_header) { in fill_ip_header() 165 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, in fill_ip6_header() 167 memset(ip6, 0, sizeof(struct ip6_hdr)); in fill_ip6_header()
|
D | checksum.c | 83 uint32_t ipv6_pseudo_header_checksum(uint32_t current, const struct ip6_hdr *ip6, uint16_t len) { in ipv6_pseudo_header_checksum()
|
D | clatd.c | 318 char iphdr[sizeof(struct ip6_hdr)]; in packet_handler() 320 char icmp_iphdr[sizeof(struct ip6_hdr)]; in packet_handler()
|
/external/iptables/extensions/ |
D | libxt_TCPMSS.c | 37 __TCPMSS_help(sizeof(struct ip6_hdr)); in TCPMSS_help6() 50 .min = 0, .max = UINT16_MAX - sizeof(struct ip6_hdr),
|
/external/libppp/src/ |
D | ip.c | 237 const struct ip6_hdr *pip6 = (const struct ip6_hdr *)packet; in FilterCheck() 585 const struct ip6_hdr *pip6 = (const struct ip6_hdr *)packet; in PacketCheck()
|
/external/ping6/ |
D | ping6.c | 279 void pr_iph(struct ip6_hdr *); 293 void pr_retip(struct ip6_hdr *, u_char *); 2250 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph() 2255 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph() 2270 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph() 2290 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph() 2446 pr_iph(struct ip6_hdr *ip6) in pr_iph() 2493 pr_retip(struct ip6_hdr *ip6, u_char *end) in pr_retip()
|