Lines Matching refs:nexthdr
188 uint8 nexthdr; member
193 uint8 nexthdr; member
206 while (IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len()
207 if (eh->nexthdr == IPV6_EXTHDR_NONE) in ipv6_exthdr_len()
209 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) in ipv6_exthdr_len()
211 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) in ipv6_exthdr_len()
220 *proto = eh->nexthdr; in ipv6_exthdr_len()
237 while ((plen >= len + sizeof(struct ipv6_exthdr)) && IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len_check()
238 if (eh->nexthdr == IPV6_EXTHDR_NONE) { in ipv6_exthdr_len_check()
240 } else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) { in ipv6_exthdr_len_check()
242 } else if (eh->nexthdr == IPV6_EXTHDR_AUTH) { in ipv6_exthdr_len_check()
259 *proto = eh->nexthdr; in ipv6_exthdr_len_check()