Searched refs:NSH_BASE_HDR_LEN (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/net/nsh/ |
H A D | nsh.c | 53 if (!pskb_may_pull(skb, NSH_BASE_HDR_LEN)) in nsh_pop() 57 if (length < NSH_BASE_HDR_LEN) in nsh_pop() 88 if (unlikely(!pskb_may_pull(skb, NSH_BASE_HDR_LEN))) in nsh_gso_segment() 91 if (nsh_len < NSH_BASE_HDR_LEN) in nsh_gso_segment()
|
/kernel/linux/linux-6.6/net/nsh/ |
H A D | nsh.c | 54 if (!pskb_may_pull(skb, NSH_BASE_HDR_LEN)) in nsh_pop() 58 if (length < NSH_BASE_HDR_LEN) in nsh_pop() 89 if (unlikely(!pskb_may_pull(skb, NSH_BASE_HDR_LEN))) in nsh_gso_segment() 92 if (nsh_len < NSH_BASE_HDR_LEN) in nsh_gso_segment()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | nsh.h | 244 #define NSH_BASE_HDR_LEN 8 macro
|
/kernel/linux/linux-6.6/include/net/ |
H A D | nsh.h | 244 #define NSH_BASE_HDR_LEN 8 macro
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow_netlink.c | 337 return nla_total_size(NSH_BASE_HDR_LEN) /* OVS_NSH_KEY_ATTR_BASE */ in ovs_nsh_key_attr_size() 1294 if (size < NSH_BASE_HDR_LEN) in nsh_hdr_from_nlattr() 1313 if (mdlen > size - NSH_BASE_HDR_LEN) in nsh_hdr_from_nlattr() 1320 if (mdlen > size - NSH_BASE_HDR_LEN) in nsh_hdr_from_nlattr() 1330 /* nsh header length = NSH_BASE_HDR_LEN + mdlen */ in nsh_hdr_from_nlattr() 1332 nsh_set_flags_ttl_len(nh, flags, ttl, NSH_BASE_HDR_LEN + mdlen); in nsh_hdr_from_nlattr()
|
H A D | flow.c | 486 err = check_header(skb, nh_ofs + NSH_BASE_HDR_LEN); in parse_nsh()
|
H A D | actions.c | 615 if (!pskb_may_pull(skb, skb_network_offset(skb) + NSH_BASE_HDR_LEN)) in set_nsh()
|
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | flow_netlink.c | 339 return nla_total_size(NSH_BASE_HDR_LEN) /* OVS_NSH_KEY_ATTR_BASE */ in ovs_nsh_key_attr_size() 1306 if (size < NSH_BASE_HDR_LEN) in nsh_hdr_from_nlattr() 1325 if (mdlen > size - NSH_BASE_HDR_LEN) in nsh_hdr_from_nlattr() 1332 if (mdlen > size - NSH_BASE_HDR_LEN) in nsh_hdr_from_nlattr() 1342 /* nsh header length = NSH_BASE_HDR_LEN + mdlen */ in nsh_hdr_from_nlattr() 1344 nsh_set_flags_ttl_len(nh, flags, ttl, NSH_BASE_HDR_LEN + mdlen); in nsh_hdr_from_nlattr()
|
H A D | flow.c | 635 err = check_header(skb, nh_ofs + NSH_BASE_HDR_LEN); in parse_nsh()
|
H A D | actions.c | 618 if (!pskb_may_pull(skb, skb_network_offset(skb) + NSH_BASE_HDR_LEN)) in set_nsh()
|
Completed in 17 milliseconds