Lines Matching refs:htons
616 if (skb->protocol == htons(ETH_P_IP)) { in tnl_update_pmtu()
618 (inner_iph->frag_off & htons(IP_DF)) && in tnl_update_pmtu()
626 else if (skb->protocol == htons(ETH_P_IPV6)) { in tnl_update_pmtu()
677 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
682 else if (skb->protocol == htons(ETH_P_IPV6)) { in ip_tunnel_xmit()
721 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit()
724 } else if (skb->protocol == htons(ETH_P_IPV6)) { in ip_tunnel_xmit()
773 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit()
776 else if (skb->protocol == htons(ETH_P_IPV6)) in ip_tunnel_xmit()
784 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit()
785 df |= (inner_iph->frag_off&htons(IP_DF)); in ip_tunnel_xmit()
872 p->iph.frag_off |= htons(IP_DF); in ip_tunnel_ioctl()