Home
last modified time | relevance | path

Searched refs:gre_hdr_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/ipv4/
Dip_gre.c253 static bool is_erspan_type1(int gre_hdr_len) in is_erspan_type1() argument
259 return gre_hdr_len == 4; in is_erspan_type1()
263 int gre_hdr_len) in erspan_rcv() argument
277 if (is_erspan_type1(gre_hdr_len)) { in erspan_rcv()
283 ershdr = (struct erspan_base_hdr *)(skb->data + gre_hdr_len); in erspan_rcv()
291 if (is_erspan_type1(gre_hdr_len)) in erspan_rcv()
292 len = gre_hdr_len; in erspan_rcv()
294 len = gre_hdr_len + erspan_hdr_len(ver); in erspan_rcv()
327 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in erspan_rcv()
/linux-6.1.9/net/ipv6/
Dip6_gre.c523 int gre_hdr_len) in ip6erspan_rcv() argument
572 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in ip6erspan_rcv()