Home
last modified time | relevance | path

Searched refs:inner_proto (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/nsh/
Dnsh.c51 __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()
/linux-6.1.9/drivers/net/
Dgeneve.c356 __be16 inner_proto; in geneve_udp_encap_recv() local
368 inner_proto = geneveh->proto_type; in geneve_udp_encap_recv()
370 if (unlikely((inner_proto != htons(ETH_P_TEB) && in geneve_udp_encap_recv()
371 inner_proto != htons(ETH_P_IP) && in geneve_udp_encap_recv()
372 inner_proto != htons(ETH_P_IPV6)))) in geneve_udp_encap_recv()
384 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv()
390 if (iptunnel_pull_header(skb, GENEVE_BASE_HLEN + opts_len, inner_proto, in geneve_udp_encap_recv()
742 __be16 inner_proto) in geneve_build_header() argument
750 geneveh->proto_type = inner_proto; in geneve_build_header()
764 __be16 inner_proto; in geneve_build_skb() local
[all …]
/linux-6.1.9/include/net/
Dip_tunnels.h432 __be16 inner_proto, bool raw_proto, bool xnet);
435 __be16 inner_proto, bool xnet) in iptunnel_pull_header() argument
437 return __iptunnel_pull_header(skb, hdr_len, inner_proto, false, xnet); in iptunnel_pull_header()
/linux-6.1.9/net/ipv4/
Dip_tunnel_core.c93 __be16 inner_proto, bool raw_proto, bool xnet) in __iptunnel_pull_header() argument
100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
113 skb->protocol = inner_proto; in __iptunnel_pull_header()
/linux-6.1.9/net/openvswitch/
Dflow_netlink.c3400 __be16 inner_proto; in __ovs_nla_copy_actions() local
3404 inner_proto = tun_p_to_eth_p(key->nsh.base.np); in __ovs_nla_copy_actions()
3405 if (!inner_proto) in __ovs_nla_copy_actions()