Home
last modified time | relevance | path

Searched refs:ip6_hdr (Results 1 – 25 of 25) sorted by relevance

/external/tcpdump/
Dprint-frag6.c47 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()
Dprint-ip6.c52 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()
Dprint-sunrpc.c76 register const struct ip6_hdr *ip6; in sunrpcrequest_print()
102 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print()
Dprint-icmp6.c192 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()
Dprint-udp.c319 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()
Dprint-esp.c352 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()
Dprint-tcp.c146 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()
Dprint-dccp.c93 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()
Dprint-sctp.c69 const struct ip6_hdr *ip6; in sctp_print()
86 ip6 = (const struct ip6_hdr *)bp2; in sctp_print()
Dip6.h77 struct ip6_hdr { struct
Dprint-nfs.c164 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()
Dprint-pgm.c161 register const struct ip6_hdr *ip6; in pgm_print()
172 ip6 = (struct ip6_hdr *)bp2; in pgm_print()
Dprint-isakmp.c184 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/
Dipv6.c86 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()
Ddump.h26 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…
Dipv4.c69 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()
Dtranslate.h46 const struct ip6_hdr *old_header);
47 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol,
Ddump.c73 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()
Dchecksum.h25 uint32_t ipv6_pseudo_header_checksum(uint32_t current, const struct ip6_hdr *ip6, uint16_t len);
Dtranslate.c132 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()
Dchecksum.c83 uint32_t ipv6_pseudo_header_checksum(uint32_t current, const struct ip6_hdr *ip6, uint16_t len) { in ipv6_pseudo_header_checksum()
Dclatd.c318 char iphdr[sizeof(struct ip6_hdr)]; in packet_handler()
320 char icmp_iphdr[sizeof(struct ip6_hdr)]; in packet_handler()
/external/iptables/extensions/
Dlibxt_TCPMSS.c37 __TCPMSS_help(sizeof(struct ip6_hdr)); in TCPMSS_help6()
50 .min = 0, .max = UINT16_MAX - sizeof(struct ip6_hdr),
/external/libppp/src/
Dip.c237 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/
Dping6.c279 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()