Lines Matching refs:ntohs
245 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_probe_device()
246 ntohs(atif->nets.nr_firstnet) + 1; in atif_probe_device()
247 int probe_net = ntohs(atif->address.s_net); in atif_probe_device()
253 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
280 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device()
281 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
293 int netrange = ntohs(atif->nets.nr_lastnet) - in atif_proxy_probe_device()
294 ntohs(atif->nets.nr_firstnet) + 1; in atif_proxy_probe_device()
296 int probe_net = ntohs(atif->address.s_net); in atif_proxy_probe_device()
302 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
327 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device()
328 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
410 ntohs(iface->nets.nr_firstnet) <= ntohs(net) && in atalk_find_interface()
411 ntohs(net) <= ntohs(iface->nets.nr_lastnet)) in atalk_find_interface()
534 ntohs(ga->sat_addr.s_net) >= in atrtr_create()
535 ntohs(iface->nets.nr_firstnet) && in atrtr_create()
536 ntohs(ga->sat_addr.s_net) <= in atrtr_create()
537 ntohs(iface->nets.nr_lastnet)) in atrtr_create()
764 limit = ntohs(nr->nr_lastnet); in atif_ioctl()
765 if (limit - ntohs(nr->nr_firstnet) > 4096) { in atif_ioctl()
771 for (ct = ntohs(nr->nr_firstnet); in atif_ioctl()
1444 len_hops = ntohs(ddp->deh_len_hops); in atalk_rcv()
1765 copied = ntohs(ddp->deh_len_hops) & 1023; in atalk_recvmsg()