Lines Matching refs:nexthdr
8 * find out if nexthdr is a well-known extension header or a protocol
11 int ipv6_ext_hdr(u8 nexthdr)
14 * find out if nexthdr is an extension header or a protocol
16 return ( (nexthdr == NEXTHDR_HOP) ||
17 (nexthdr == NEXTHDR_ROUTING) ||
18 (nexthdr == NEXTHDR_FRAGMENT) ||
19 (nexthdr == NEXTHDR_AUTH) ||
20 (nexthdr == NEXTHDR_NONE) ||
21 (nexthdr == NEXTHDR_DEST) );
50 * If it is not NULL *nexthdr is updated by type/protocol of this header.
68 u8 nexthdr = *nexthdrp;
70 while (ipv6_ext_hdr(nexthdr)) {
74 if (nexthdr == NEXTHDR_NONE)
79 if (nexthdr == NEXTHDR_FRAGMENT) {
92 } else if (nexthdr == NEXTHDR_AUTH)
97 nexthdr = hp->nexthdr;
101 *nexthdrp = nexthdr;