Home
last modified time | relevance | path

Searched refs:nshhdr (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dnsh.h208 struct nshhdr { struct
255 static inline struct nshhdr *nsh_hdr(struct sk_buff *skb) in nsh_hdr()
257 return (struct nshhdr *)skb_network_header(skb); in nsh_hdr()
260 static inline u16 nsh_hdr_len(const struct nshhdr *nsh) in nsh_hdr_len()
266 static inline u8 nsh_get_ver(const struct nshhdr *nsh) in nsh_get_ver()
272 static inline u8 nsh_get_flags(const struct nshhdr *nsh) in nsh_get_flags()
278 static inline u8 nsh_get_ttl(const struct nshhdr *nsh) in nsh_get_ttl()
284 static inline void __nsh_set_xflag(struct nshhdr *nsh, u16 xflag, u16 xmask) in __nsh_set_xflag()
290 static inline void nsh_set_flags_and_ttl(struct nshhdr *nsh, u8 flags, u8 ttl) in nsh_set_flags_and_ttl()
297 static inline void nsh_set_flags_ttl_len(struct nshhdr *nsh, u8 flags, in nsh_set_flags_ttl_len()
[all …]
/kernel/linux/linux-5.10/net/nsh/
Dnsh.c14 int nsh_push(struct sk_buff *skb, const struct nshhdr *pushed_nh) in nsh_push()
16 struct nshhdr *nh; in nsh_push()
33 nh = (struct nshhdr *)(skb->data); in nsh_push()
49 struct nshhdr *nh; in nsh_pop()
55 nh = (struct nshhdr *)(skb->data); in nsh_pop()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow_netlink.h70 int nsh_hdr_from_nlattr(const struct nlattr *attr, struct nshhdr *nh,
Dactions.c312 const struct nshhdr *nh) in push_nsh()
568 struct nshhdr *nh; in set_nsh()
1378 struct nshhdr *nh = (struct nshhdr *)buffer; in do_execute_actions()
Dflow.c481 struct nshhdr *nh; in parse_nsh()
Dflow_netlink.c1283 struct nshhdr *nh, size_t size) in nsh_hdr_from_nlattr()