Lines Matching refs:htons
605 if (skb->protocol == htons(ETH_P_IP)) { in tnl_update_pmtu()
607 (inner_iph->frag_off & htons(IP_DF)) && in tnl_update_pmtu()
615 else if (skb->protocol == htons(ETH_P_IPV6)) { in tnl_update_pmtu()
664 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
669 else if (skb->protocol == htons(ETH_P_IPV6)) { in ip_tunnel_xmit()
708 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
711 } else if (skb->protocol == htons(ETH_P_IPV6)) { in ip_tunnel_xmit()
761 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit()
764 else if (skb->protocol == htons(ETH_P_IPV6)) in ip_tunnel_xmit()
772 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit()
773 df |= (inner_iph->frag_off&htons(IP_DF)); in ip_tunnel_xmit()
860 p->iph.frag_off |= htons(IP_DF); in ip_tunnel_ioctl()