Lines Matching refs:hdr_len
193 !ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len, in ipgre_err()
352 struct ip_tunnel_net *itn, int hdr_len, bool raw_proto) in __ipgre_rcv() argument
365 if (__iptunnel_pull_header(skb, hdr_len, tpi->proto, in __ipgre_rcv()
400 int hdr_len) in ipgre_rcv() argument
411 res = __ipgre_rcv(skb, tpi, itn, hdr_len, false); in ipgre_rcv()
417 res = __ipgre_rcv(skb, tpi, itn, hdr_len, true); in ipgre_rcv()
426 int hdr_len; in gre_rcv() local
436 hdr_len = gre_parse_header(skb, &tpi, &csum_err, htons(ETH_P_IP), 0); in gre_rcv()
437 if (hdr_len < 0) in gre_rcv()
442 if (erspan_rcv(skb, &tpi, hdr_len) == PACKET_RCVD) in gre_rcv()
447 if (ipgre_rcv(skb, &tpi, hdr_len) == PACKET_RCVD) in gre_rcv()