• Home
  • Raw
  • Download

Lines Matching refs:entry

484 	struct aarp_entry *entry;  in aarp_proxy_probe_network()  local
499 entry = aarp_alloc(); in aarp_proxy_probe_network()
501 if (!entry) in aarp_proxy_probe_network()
504 entry->expires_at = -1; in aarp_proxy_probe_network()
505 entry->status = ATIF_PROBE; in aarp_proxy_probe_network()
506 entry->target_addr.s_node = sa->s_node; in aarp_proxy_probe_network()
507 entry->target_addr.s_net = sa->s_net; in aarp_proxy_probe_network()
508 entry->dev = atif->dev; in aarp_proxy_probe_network()
513 entry->next = proxies[hash]; in aarp_proxy_probe_network()
514 proxies[hash] = entry; in aarp_proxy_probe_network()
524 if (entry->status & ATIF_PROBE_FAIL) in aarp_proxy_probe_network()
528 if (entry->status & ATIF_PROBE_FAIL) { in aarp_proxy_probe_network()
529 entry->expires_at = jiffies - 1; /* free the entry */ in aarp_proxy_probe_network()
532 entry->status &= ~ATIF_PROBE; in aarp_proxy_probe_network()
924 struct aarp_entry *entry; in iter_next() local
928 for (entry = table[ct]; entry; entry = entry->next) { in iter_next()
932 return entry; in iter_next()
965 struct aarp_entry *entry = v; in aarp_seq_next() local
972 entry = iter_next(iter, NULL); in aarp_seq_next()
975 else if (entry->next) in aarp_seq_next()
976 entry = entry->next; in aarp_seq_next()
981 entry = iter_next(iter, NULL); in aarp_seq_next()
983 return entry; in aarp_seq_next()
1004 struct aarp_entry *entry = v; in aarp_seq_show() local
1013 ntohs(entry->target_addr.s_net), in aarp_seq_show()
1014 (unsigned int) entry->target_addr.s_node, in aarp_seq_show()
1015 entry->dev ? entry->dev->name : "????"); in aarp_seq_show()
1016 seq_printf(seq, "%pM", entry->hwaddr); in aarp_seq_show()
1018 dt2str((long)entry->expires_at - (long)now)); in aarp_seq_show()
1021 dt2str(now - entry->last_sent), in aarp_seq_show()
1022 entry->xmit_count); in aarp_seq_show()