Lines Matching refs:ip6

51 nextproto6_cksum(const struct ip6_hdr *ip6, const u_int8_t *data,  in nextproto6_cksum()  argument
65 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum()
66 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum()
84 register const struct ip6_hdr *ip6; in ip6_print() local
94 ip6 = (const struct ip6_hdr *)bp; in ip6_print()
96 TCHECK(*ip6); in ip6_print()
105 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print()
112 flow = EXTRACT_32BITS(&ip6->ip6_flow); in ip6_print()
129 ip6->ip6_hlim, in ip6_print()
130 tok2str(ipproto_values,"unknown",ip6->ip6_nxt), in ip6_print()
131 ip6->ip6_nxt, in ip6_print()
142 cp = (const u_char *)ip6; in ip6_print()
144 nh = ip6->ip6_nxt; in ip6_print()
149 if (cp == (const u_char *)(ip6 + 1) && in ip6_print()
152 (void)ND_PRINT((ndo, "%s > %s: ", ip6addr_string(&ip6->ip6_src), in ip6_print()
153 ip6addr_string(&ip6->ip6_dst))); in ip6_print()
166 advance = frag6_print(cp, (const u_char *)ip6); in ip6_print()
185 advance = mobility_print(cp, (const u_char *)ip6); in ip6_print()
189 advance = rt6_print(cp, (const u_char *)ip6); in ip6_print()
193 sctp_print(cp, (const u_char *)ip6, len); in ip6_print()
196 dccp_print(cp, (const u_char *)ip6, len); in ip6_print()
199 tcp_print(cp, len, (const u_char *)ip6, fragmented); in ip6_print()
202 udp_print(cp, len, (const u_char *)ip6, fragmented); in ip6_print()
205 icmp6_print(ndo, cp, len, (const u_char *)ip6, fragmented); in ip6_print()
214 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen); in ip6_print()
228 pim_print(cp, len, nextproto6_cksum(ip6, cp, len, in ip6_print()
245 pgm_print(cp, len, (const u_char *)ip6); in ip6_print()