Home
last modified time | relevance | path

Searched refs:erspan_base_hdr (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/include/net/
Derspan.h95 struct erspan_base_hdr { struct
119 static inline void set_session_id(struct erspan_base_hdr *ershdr, u16 id) in set_session_id() argument
125 static inline u16 get_session_id(const struct erspan_base_hdr *ershdr) in get_session_id()
130 static inline void set_vlan(struct erspan_base_hdr *ershdr, u16 vlan) in set_vlan()
136 static inline u16 get_vlan(const struct erspan_base_hdr *ershdr) in get_vlan()
157 return sizeof(struct erspan_base_hdr) + in erspan_hdr_len()
176 struct erspan_base_hdr *ershdr; in erspan_build_header()
201 ershdr = (struct erspan_base_hdr *)skb->data; in erspan_build_header()
269 struct erspan_base_hdr *ershdr; in erspan_build_header_v2()
295 ershdr = (struct erspan_base_hdr *)skb->data; in erspan_build_header_v2()
/Linux-v5.10/net/ipv4/
Dgre_demux.c133 struct erspan_base_hdr *ershdr; in gre_parse_header()
138 ershdr = (struct erspan_base_hdr *)(skb->data + nhs + hdr_len); in gre_parse_header()
Dip_gre.c265 struct erspan_base_hdr *ershdr; in erspan_rcv()
281 ershdr = (struct erspan_base_hdr *)(skb->data + gre_hdr_len); in erspan_rcv()
/Linux-v5.10/net/ipv6/
Dip6_gre.c531 struct erspan_base_hdr *ershdr; in ip6erspan_rcv()
538 ershdr = (struct erspan_base_hdr *)skb->data; in ip6erspan_rcv()