Lines Matching refs:ip6

44 nextproto6_cksum(const struct ip6_hdr *ip6, const uint8_t *data,  in nextproto6_cksum()  argument
58 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum()
59 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum()
77 register const struct ip6_hdr *ip6; in ip6_print() local
87 ip6 = (const struct ip6_hdr *)bp; in ip6_print()
89 ND_TCHECK(*ip6); in ip6_print()
98 if (IP6_VERSION(ip6) != 6) { in ip6_print()
99 ND_PRINT((ndo,"version error: %u != 6", IP6_VERSION(ip6))); in ip6_print()
103 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print()
110 flow = EXTRACT_32BITS(&ip6->ip6_flow); in ip6_print()
127 ip6->ip6_hlim, in ip6_print()
128 tok2str(ipproto_values,"unknown",ip6->ip6_nxt), in ip6_print()
129 ip6->ip6_nxt, in ip6_print()
140 cp = (const u_char *)ip6; in ip6_print()
142 nh = ip6->ip6_nxt; in ip6_print()
147 if (cp == (const u_char *)(ip6 + 1) && in ip6_print()
150 ND_PRINT((ndo, "%s > %s: ", ip6addr_string(ndo, &ip6->ip6_src), in ip6_print()
151 ip6addr_string(ndo, &ip6->ip6_dst))); in ip6_print()
164 advance = frag6_print(ndo, cp, (const u_char *)ip6); in ip6_print()
183 advance = mobility_print(ndo, cp, (const u_char *)ip6); in ip6_print()
187 advance = rt6_print(ndo, cp, (const u_char *)ip6); in ip6_print()
191 sctp_print(ndo, cp, (const u_char *)ip6, len); in ip6_print()
194 dccp_print(ndo, cp, (const u_char *)ip6, len); in ip6_print()
197 tcp_print(ndo, cp, len, (const u_char *)ip6, fragmented); in ip6_print()
200 udp_print(ndo, cp, len, (const u_char *)ip6, fragmented); in ip6_print()
203 icmp6_print(ndo, cp, len, (const u_char *)ip6, fragmented); in ip6_print()
212 advance = esp_print(ndo, cp, len, (const u_char *)ip6, &enh, &padlen); in ip6_print()
226 pim_print(ndo, cp, len, nextproto6_cksum(ip6, cp, len, len, in ip6_print()
243 pgm_print(ndo, cp, len, (const u_char *)ip6); in ip6_print()