Searched refs:payload_protocol (Results 1 – 4 of 4) sorted by relevance
409 __be16 payload_protocol = skb_protocol(skb, true); in ip_tunnel_get_dsfield() local411 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() local424 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()
663 __be16 payload_protocol; in ip_tunnel_xmit() local674 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()
1082 __be16 payload_protocol; in ip6_tnl_xmit() local1087 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()
898 __be16 payload_protocol; in ip6gre_tunnel_xmit() local907 payload_protocol = skb_protocol(skb, true); in ip6gre_tunnel_xmit()908 switch (payload_protocol) { in ip6gre_tunnel_xmit()