Lines Matching refs:ntohs
210 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)]; in vs_head()
1307 md->gbp = ntohs(gbp->policy_id); in vxlan_udp_encap_recv()
1600 switch (ntohs(eth_hdr(skb)->h_proto)) { in route_shortcircuit()
2153 if (ntohs(eth->h_proto) == ETH_P_ARP) in vxlan_xmit()
2156 else if (ntohs(eth->h_proto) == ETH_P_IPV6 && in vxlan_xmit()
2181 (ntohs(eth->h_proto) == ETH_P_IP || in vxlan_xmit()
2182 ntohs(eth->h_proto) == ETH_P_IPV6)) { in vxlan_xmit()
2611 if (ntohs(p->high) < ntohs(p->low)) { in vxlan_validate()
2613 ntohs(p->low), ntohs(p->high)); in vxlan_validate()
2689 pr_info("Cannot bind port %d, err=%ld\n", ntohs(port), in vxlan_socket_create()
2975 conf.port_min = ntohs(p->low); in vxlan_newlink()
2976 conf.port_max = ntohs(p->high); in vxlan_newlink()