Lines Matching refs:ntohs
244 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)]; in vs_head()
1212 md.gbp = ntohs(gbp->policy_id); in vxlan_udp_encap_recv()
1587 switch (ntohs(eth_hdr(skb)->h_proto)) { in route_shortcircuit()
2060 if (ntohs(eth->h_proto) == ETH_P_ARP) in vxlan_xmit()
2063 else if (ntohs(eth->h_proto) == ETH_P_IPV6 && in vxlan_xmit()
2082 (ntohs(eth->h_proto) == ETH_P_IP || in vxlan_xmit()
2083 ntohs(eth->h_proto) == ETH_P_IPV6)) { in vxlan_xmit()
2443 if (ntohs(p->high) < ntohs(p->low)) { in vxlan_validate()
2445 ntohs(p->low), ntohs(p->high)); in vxlan_validate()
2522 pr_info("Cannot bind port %d, err=%ld\n", ntohs(port), in vxlan_socket_create()
2685 vxlan->port_min = ntohs(p->low); in vxlan_newlink()
2686 vxlan->port_max = ntohs(p->high); in vxlan_newlink()