Home
last modified time | relevance | path

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

/Linux-v6.6/include/net/
Dip_tunnels.h409 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_dsfield() local
411 if (payload_protocol == htons(ETH_P_IP)) in ip_tunnel_get_dsfield()
413 else if (payload_protocol == htons(ETH_P_IPV6)) in ip_tunnel_get_dsfield()
422 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_ttl() local
424 if (payload_protocol == htons(ETH_P_IP)) in ip_tunnel_get_ttl()
426 else if (payload_protocol == htons(ETH_P_IPV6)) in ip_tunnel_get_ttl()
/Linux-v6.6/net/ipv4/
Dip_tunnel.c663 __be16 payload_protocol; in ip_tunnel_xmit() local
674 payload_protocol = skb_protocol(skb, true); in ip_tunnel_xmit()
694 } else if (payload_protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
699 else if (payload_protocol == htons(ETH_P_IPV6)) { in ip_tunnel_xmit()
739 if (payload_protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
742 } else if (payload_protocol == htons(ETH_P_IPV6)) { in ip_tunnel_xmit()
788 if (payload_protocol == htons(ETH_P_IP) && !tunnel->ignore_df) in ip_tunnel_xmit()
809 if (payload_protocol == htons(ETH_P_IP)) in ip_tunnel_xmit()
812 else if (payload_protocol == htons(ETH_P_IPV6)) in ip_tunnel_xmit()
/Linux-v6.6/net/ipv6/
Dip6_tunnel.c1082 __be16 payload_protocol; in ip6_tnl_xmit() local
1087 payload_protocol = skb_protocol(skb, true); in ip6_tnl_xmit()
1098 if (payload_protocol == htons(ETH_P_IPV6)) { in ip6_tnl_xmit()
1119 } else if (payload_protocol == htons(ETH_P_IP)) { in ip6_tnl_xmit()
1230 if (payload_protocol == htons(ETH_P_IP)) in ip6_tnl_xmit()
1232 else if (payload_protocol == htons(ETH_P_IPV6)) in ip6_tnl_xmit()
Dip6_gre.c898 __be16 payload_protocol; in ip6gre_tunnel_xmit() local
907 payload_protocol = skb_protocol(skb, true); in ip6gre_tunnel_xmit()
908 switch (payload_protocol) { in ip6gre_tunnel_xmit()