Lines Matching refs:probe_net
252 int probe_net = ntohs(atif->address.s_net); in atif_probe_device() local
257 if (probe_net == ATADDR_ANYNET) { in atif_probe_device()
258 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
260 probe_net += jiffies % netrange; in atif_probe_device()
269 atif->address.s_net = htons(probe_net); in atif_probe_device()
284 probe_net++; 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()
301 int probe_net = ntohs(atif->address.s_net); in atif_proxy_probe_device() local
306 if (probe_net == ATADDR_ANYNET) { in atif_proxy_probe_device()
307 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
309 probe_net += jiffies % netrange; in atif_proxy_probe_device()
318 proxy_addr->s_net = htons(probe_net); in atif_proxy_probe_device()
331 probe_net++; 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()