Lines Matching defs:nexthdr
181 uint8_t nexthdr;
195 nexthdr = ip6hp->ip6_nxt;
198 while (nexthdr != IPPROTO_ENCAP && nexthdr != IPPROTO_IPV6) {
204 nexthdr = exthdrptr->ip6d_nxt;
215 hdr_info->mhi_bindsap = hdr_info->mhi_origsap = nexthdr;
232 uint8_t nexthdr;
253 nexthdr = ip6hp->ip6_nxt;
254 if (nexthdr == IPPROTO_NONE)
259 while (nexthdr != IPPROTO_NONE && whereptr < endptr) {
265 nexthdr = hdrptr->ip6d_nxt;
269 return (nexthdr == IPPROTO_NONE && whereptr == endptr);