Lines Matching refs:probe_net
246 int probe_net = ntohs(atif->address.s_net); in atif_probe_device() local
251 if (probe_net == ATADDR_ANYNET) { in atif_probe_device()
252 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
254 probe_net += jiffies % netrange; in atif_probe_device()
263 atif->address.s_net = htons(probe_net); in atif_probe_device()
278 probe_net++; in atif_probe_device()
279 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_probe_device()
280 probe_net = ntohs(atif->nets.nr_firstnet); in atif_probe_device()
295 int probe_net = ntohs(atif->address.s_net); in atif_proxy_probe_device() local
300 if (probe_net == ATADDR_ANYNET) { in atif_proxy_probe_device()
301 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()
303 probe_net += jiffies % netrange; in atif_proxy_probe_device()
312 proxy_addr->s_net = htons(probe_net); in atif_proxy_probe_device()
325 probe_net++; in atif_proxy_probe_device()
326 if (probe_net > ntohs(atif->nets.nr_lastnet)) in atif_proxy_probe_device()
327 probe_net = ntohs(atif->nets.nr_firstnet); in atif_proxy_probe_device()