/* an inline helper for the "simple" if statement below checks if parameter problem report is caused by an unrecognized IPv6 option that has the Option Type highest-order two bits set to 10  */
static __inline__ int opt_unrec(struct sk_buff *skb, __u32 offset)
/* an inline helper for the "simple" if statement below checks if parameter problem report is caused by an unrecognized IPv6 option that has the Option Type highest-order two bits set to 10  */
static __inline__ int opt_unrec(struct sk_buff *skb, __u32 offset)
{
	u8 _optval, *op;
	offset += skb_network_offset(skb);
	op = skb_header_pointer(skb, offset, sizeof(_optval), &_optval);
	if (op == NULL)
		return 1;
	return (*op & 0xC0) == 0x80;
}