/* IPv6 library code, needed by static components when full IPv6 support is not configured or static. find out if nexthdr is a well-known extension header or a protocol  */
int ipv6_ext_hdr(u8 nexthdr)
/* IPv6 library code, needed by static components when full IPv6 support is not configured or static. find out if nexthdr is a well-known extension header or a protocol  */
int ipv6_ext_hdr(u8 nexthdr)
{
	return ( (nexthdr == NEXTHDR_HOP)	||
		 (nexthdr == NEXTHDR_ROUTING)	||
		 (nexthdr == NEXTHDR_FRAGMENT)	||
		 (nexthdr == NEXTHDR_AUTH)	||
		 (nexthdr == NEXTHDR_NONE)	||
		 (nexthdr == NEXTHDR_DEST) );
}