Lines Matching refs:ntohs
1583 md->gbp = ntohs(gbp->policy_id);
2103 switch (ntohs(eth_hdr(skb)->h_proto)) {
2472 if (ntohs(eth->h_proto) == ETH_P_IPV6 ||
2473 (ntohs(eth->h_proto) == ETH_P_IP &&
2708 if (ntohs(eth->h_proto) == ETH_P_ARP)
2711 else if (ntohs(eth->h_proto) == ETH_P_IPV6 &&
2747 (ntohs(eth->h_proto) == ETH_P_IP ||
2748 ntohs(eth->h_proto) == ETH_P_IPV6)) {
3443 if (ntohs(p->high) < ntohs(p->low)) {
4186 conf->port_min = ntohs(p->low);
4187 conf->port_max = ntohs(p->high);