Lines Matching refs:ntohs
250 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_probe_device()
251 ntohs(atif->nets.nr_firstnet) + 1; in atif_probe_device()
252 int probe_net = ntohs(atif->address.s_net); in atif_probe_device()
258 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
285 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device()
286 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
298 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_proxy_probe_device()
299 ntohs(atif->nets.nr_firstnet) + 1; in atif_proxy_probe_device()
301 int probe_net = ntohs(atif->address.s_net); in atif_proxy_probe_device()
307 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
332 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device()
333 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
415 ntohs(iface->nets.nr_firstnet) <= ntohs(net) && in atalk_find_interface()
416 ntohs(net) <= ntohs(iface->nets.nr_lastnet)) in atalk_find_interface()
539 ntohs(ga->sat_addr.s_net) >= in atrtr_create()
540 ntohs(iface->nets.nr_firstnet) && in atrtr_create()
541 ntohs(ga->sat_addr.s_net) <= in atrtr_create()
542 ntohs(iface->nets.nr_lastnet)) in atrtr_create()
769 limit = ntohs(nr->nr_lastnet); in atif_ioctl()
770 if (limit - ntohs(nr->nr_firstnet) > 4096) { in atif_ioctl()
776 for (ct = ntohs(nr->nr_firstnet); in atif_ioctl()
1437 len_hops = ntohs(ddp->deh_len_hops); in atalk_rcv()
1749 copied = ntohs(ddp->deh_len_hops) & 1023; in atalk_recvmsg()