/kernel/linux/linux-5.10/net/nsh/ |
H A D | nsh.c | 51 __be16 inner_proto; in nsh_pop() local 59 inner_proto = tun_p_to_eth_p(nh->np); in nsh_pop() 63 if (!inner_proto) in nsh_pop() 70 skb->protocol = inner_proto; in nsh_pop()
|
/kernel/linux/linux-6.6/net/nsh/ |
H A D | nsh.c | 52 __be16 inner_proto; in nsh_pop() local 60 inner_proto = tun_p_to_eth_p(nh->np); in nsh_pop() 64 if (!inner_proto) in nsh_pop() 71 skb->protocol = inner_proto; in nsh_pop()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | ip_tunnels.h | 414 __be16 inner_proto, bool raw_proto, bool xnet); 417 __be16 inner_proto, bool xnet) in iptunnel_pull_header() 419 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header() 416 iptunnel_pull_header(struct sk_buff *skb, int hdr_len, __be16 inner_proto, bool xnet) iptunnel_pull_header() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ip_tunnels.h | 442 __be16 inner_proto, bool raw_proto, bool xnet); 445 __be16 inner_proto, bool xnet) in iptunnel_pull_header() 447 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header() 444 iptunnel_pull_header(struct sk_buff *skb, int hdr_len, __be16 inner_proto, bool xnet) iptunnel_pull_header() argument
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | geneve.c | 370 __be16 inner_proto; in geneve_udp_encap_recv() local 390 inner_proto = geneveh->proto_type; in geneve_udp_encap_recv() 393 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv() 399 if (iptunnel_pull_header(skb, GENEVE_BASE_HLEN + opts_len, inner_proto, in geneve_udp_encap_recv() 751 __be16 inner_proto) in geneve_build_header() 759 geneveh->proto_type = inner_proto; in geneve_build_header() 773 __be16 inner_proto; in geneve_build_skb() local 791 inner_proto = inner_proto_inherit ? skb->protocol : htons(ETH_P_TEB); in geneve_build_skb() 792 geneve_build_header(gnvh, info, inner_proto); in geneve_build_skb() 793 skb_set_inner_protocol(skb, inner_proto); in geneve_build_skb() 749 geneve_build_header(struct genevehdr *geneveh, const struct ip_tunnel_info *info, __be16 inner_proto) geneve_build_header() argument [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_tunnel_core.c | 93 __be16 inner_proto, bool raw_proto, bool xnet) in __iptunnel_pull_header() 100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header() 113 skb->protocol = inner_proto; in __iptunnel_pull_header() 92 __iptunnel_pull_header(struct sk_buff *skb, int hdr_len, __be16 inner_proto, bool raw_proto, bool xnet) __iptunnel_pull_header() argument
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_tunnel_core.c | 93 __be16 inner_proto, bool raw_proto, bool xnet) in __iptunnel_pull_header() 100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header() 113 skb->protocol = inner_proto; in __iptunnel_pull_header() 92 __iptunnel_pull_header(struct sk_buff *skb, int hdr_len, __be16 inner_proto, bool raw_proto, bool xnet) __iptunnel_pull_header() argument
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow_netlink.c | 3375 __be16 inner_proto; in __ovs_nla_copy_actions() local 3379 inner_proto = tun_p_to_eth_p(key->nsh.base.np); in __ovs_nla_copy_actions() 3380 if (!inner_proto) in __ovs_nla_copy_actions()
|
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | flow_netlink.c | 3419 __be16 inner_proto; in __ovs_nla_copy_actions() local 3423 inner_proto = tun_p_to_eth_p(key->nsh.base.np); in __ovs_nla_copy_actions() 3424 if (!inner_proto) in __ovs_nla_copy_actions()
|