Lines Matching refs:probe_net
251 int probe_net = ntohs(atif->address.s_net); in atif_probe_device() local
256 if (probe_net == ATADDR_ANYNET) { in atif_probe_device()
257 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
259 probe_net += jiffies % netrange; in atif_probe_device()
268 atif->address.s_net = htons(probe_net); in atif_probe_device()
283 probe_net++; in atif_probe_device()
284 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device()
285 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
300 int probe_net = ntohs(atif->address.s_net); in atif_proxy_probe_device() local
305 if (probe_net == ATADDR_ANYNET) { in atif_proxy_probe_device()
306 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
308 probe_net += jiffies % netrange; in atif_proxy_probe_device()
317 proxy_addr->s_net = htons(probe_net); in atif_proxy_probe_device()
330 probe_net++; in atif_proxy_probe_device()
331 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device()
332 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()