Lines Matching refs:nexthdr
77 ip6t_ext_hdr(u8 nexthdr)
79 return ( (nexthdr == IPPROTO_HOPOPTS) ||
80 (nexthdr == IPPROTO_ROUTING) ||
81 (nexthdr == IPPROTO_FRAGMENT) ||
82 (nexthdr == IPPROTO_ESP) ||
83 (nexthdr == IPPROTO_AH) ||
84 (nexthdr == IPPROTO_NONE) ||
85 (nexthdr == IPPROTO_DSTOPTS) );
1422 u8 nexthdr = ipv6_hdr(skb)->nexthdr;
1428 while (nexthdr != target) {
1432 if ((!ipv6_ext_hdr(nexthdr)) || nexthdr == NEXTHDR_NONE) {
1441 if (nexthdr == NEXTHDR_FRAGMENT) {
1455 ((!ipv6_ext_hdr(hp->nexthdr)) ||
1456 hp->nexthdr == NEXTHDR_NONE)) {
1459 return hp->nexthdr;
1464 } else if (nexthdr == NEXTHDR_AUTH)
1469 nexthdr = hp->nexthdr;
1475 return nexthdr;