Home
last modified time | relevance | path

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

12

/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.c51 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()
Dip6.h77 struct ip6_hdr { struct
190 extern int nextproto6_cksum(const struct ip6_hdr *, const u_int8_t *, u_int, u_int);
Dprint-sunrpc.c91 register const struct ip6_hdr *ip6; in sunrpcrequest_print()
117 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print()
Dprint-dccp.c81 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()
Dprint-udp.c294 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()
Dprint-icmp6.c198 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()
Dprint-sctp.c92 const struct ip6_hdr *ip6; in sctp_print()
111 ip6 = (const struct ip6_hdr *)bp2; in sctp_print()
Dprint-tcp.c166 register const struct ip6_hdr *ip6;
173 ip6 = (struct ip6_hdr *)bp2;
797 struct ip6_hdr *ip6;
828 ip6 = (struct ip6_hdr *)ip;
Dprint-esp.c552 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()
Dprint-nfs.c164 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()
Dprint-pgm.c170 register const struct ip6_hdr *ip6; in pgm_print()
181 ip6 = (struct ip6_hdr *)bp2; in pgm_print()
/external/android-clat/
Ddump.h29 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,
Dipv6.c79 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()
Dclatd_test.cpp183 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 …]
Dtranslate.h58 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,
Dipv4.c59 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()
Dtranslate.c124 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()
Ddump.c73 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()
Dchecksum.h25 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol);
Dchecksum.c91 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/
Dsctp_header.h597 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/
Duser_ip6_var.h64 struct ip6_hdr { struct
/external/iputils/ninfod/
Dninfod.h44 #define MAX_REPLY_SIZE 1280-sizeof(struct ip6_hdr)
/external/iputils/
Dtraceroute6.c839 struct ip6_hdr *hip; in packet_ok()
843 hip = (struct ip6_hdr *) (icp + 1); in packet_ok()

12