Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Derspan.h98 struct erspan_base_hdr { struct
122 static inline void set_session_id(struct erspan_base_hdr *ershdr, u16 id) in set_session_id() argument
128 static inline u16 get_session_id(const struct erspan_base_hdr *ershdr) in get_session_id()
133 static inline void set_vlan(struct erspan_base_hdr *ershdr, u16 vlan) in set_vlan()
139 static inline u16 get_vlan(const struct erspan_base_hdr *ershdr) in get_vlan()
160 return sizeof(struct erspan_base_hdr) + in erspan_hdr_len()
179 struct erspan_base_hdr *ershdr; in erspan_build_header()
204 ershdr = (struct erspan_base_hdr *)skb->data; in erspan_build_header()
272 struct erspan_base_hdr *ershdr; in erspan_build_header_v2()
298 ershdr = (struct erspan_base_hdr *)skb->data; in erspan_build_header_v2()
/linux-6.1.9/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.c267 struct erspan_base_hdr *ershdr; in erspan_rcv()
283 ershdr = (struct erspan_base_hdr *)(skb->data + gre_hdr_len); in erspan_rcv()
/linux-6.1.9/net/ipv6/
Dip6_gre.c525 struct erspan_base_hdr *ershdr; in ip6erspan_rcv()
532 ershdr = (struct erspan_base_hdr *)skb->data; in ip6erspan_rcv()