Searched refs:check_header (Results 1 – 1 of 1) sorted by relevance
175 static int check_header(struct sk_buff *skb, int len) in check_header() function196 err = check_header(skb, nh_ofs + sizeof(struct iphdr)); in check_iphdr()252 err = check_header(skb, nh_ofs + sizeof(*nh)); in parse_ipv6hdr()491 err = check_header(skb, nh_ofs + NSH_BASE_HDR_LEN); in parse_nsh()502 err = check_header(skb, nh_ofs + length); in parse_nsh()653 error = check_header(skb, skb->mac_len + in key_extract_l3l4()