Home
last modified time | relevance | path

Searched refs:nud_state (Results 1 – 16 of 16) sorted by relevance

/linux-3.3/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c284 unsigned int nud_state; in reuse_entry() local
290 nud_state = neigh->nud_state; in reuse_entry()
292 !(nud_state & NUD_VALID)) in reuse_entry()
294 else if (nud_state & NUD_CONNECTED) in reuse_entry()
423 if (neigh->nud_state & NUD_FAILED) { in t3_l2t_update()
425 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) in t3_l2t_update()
428 e->state = neigh->nud_state & NUD_CONNECTED ? in t3_l2t_update()
/linux-3.3/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c207 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl()
343 unsigned int nud_state; in reuse_entry() local
348 nud_state = neigh->nud_state; in reuse_entry()
350 !(nud_state & NUD_VALID)) in reuse_entry()
352 else if (nud_state & NUD_CONNECTED) in reuse_entry()
467 if (neigh->nud_state & NUD_FAILED) { in t4_l2t_update()
470 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) && in t4_l2t_update()
475 e->state = neigh->nud_state & NUD_CONNECTED ? in t4_l2t_update()
/linux-3.3/net/core/
Dneighbour.c153 !(n->nud_state & NUD_PERMANENT)) { in neigh_forced_gc()
180 n->nud_state); in neigh_add_timer()
187 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
243 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
244 n->nud_state = NUD_NOARP; in neigh_flush_dev()
246 n->nud_state = NUD_NONE; in neigh_flush_dev()
307 n->nud_state = NUD_NONE; in neigh_alloc()
799 state = n->nud_state; in neigh_periodic_work()
844 return (n->nud_state & NUD_PROBE) ? in neigh_max_probes()
864 while (neigh->nud_state == NUD_FAILED && in neigh_invalidate()
[all …]
/linux-3.3/net/ipv4/
Darp.c245 neigh->nud_state = NUD_NOARP; in arp_constructor()
294 neigh->nud_state = NUD_NOARP; in arp_constructor()
297 neigh->nud_state = NUD_NOARP; in arp_constructor()
301 neigh->nud_state = NUD_NOARP; in arp_constructor()
310 if (neigh->nud_state & NUD_VALID) in arp_constructor()
367 if (!(neigh->nud_state & NUD_VALID)) in arp_solicit()
492 if (n->nud_state & NUD_VALID || neigh_event_send(n, skb) == 0) { in arp_find()
1077 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1079 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1115 if (neigh->nud_state & ~NUD_NOARP) in arp_invalidate()
Dfib_semantics.c372 state = n->nud_state; in fib_detect_death()
Droute.c427 HHUptod = (n && (n->nud_state & NUD_CONNECTED)) ? 1 : 0; in rt_cache_seq_show()
1420 if (!(n->nud_state & NUD_VALID)) { in check_peer_redir()
/linux-3.3/net/decnet/
Ddn_neigh.c157 neigh->nud_state = NUD_NOARP; in dn_neigh_construct()
384 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_router_hello()
443 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_endnode_hello()
508 *(s->rs) = neigh->nud_state & NUD_CONNECTED ? 0x80 : 0x0; in neigh_elist_cb()
543 dn->n.nud_state, in dn_neigh_format_entry()
/linux-3.3/include/net/
Dneighbour.h107 __u8 nud_state; member
318 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
358 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) in neigh_output()
/linux-3.3/net/ipv6/
Dndisc.c376 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
381 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
384 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
389 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
396 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
696 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
976 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1570 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c394 if (!neigh || (neigh->nud_state & NUD_VALID)) in rt6_probe()
397 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
446 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
449 else if (neigh->nud_state & NUD_FAILED) in rt6_check_neigh()
Dip6_output.c987 if (n && !(n->nud_state & NUD_VALID)) { in ip6_dst_lookup_tail()
/linux-3.3/drivers/infiniband/core/
Daddr.c188 if (!n || !(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
428 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/linux-3.3/net/atm/
Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()
/linux-3.3/drivers/infiniband/hw/nes/
Dnes.c235 if (neigh->nud_state & NUD_VALID) { in nes_net_event()
Dnes_cm.c1357 if (neigh->nud_state & NUD_VALID) { in nes_addr_resolve_neigh()
/linux-3.3/drivers/s390/net/
Dqeth_l3_main.c3267 n->nud_state = NUD_NOARP; in qeth_l3_neigh_setup_noarp()