Home
last modified time | relevance | path

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

/linux-4.1.27/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()
425 if (neigh->nud_state & NUD_FAILED) { in t3_l2t_update()
427 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) in t3_l2t_update()
430 e->state = neigh->nud_state & NUD_CONNECTED ? in t3_l2t_update()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c209 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl()
345 unsigned int nud_state; in reuse_entry() local
350 nud_state = neigh->nud_state; in reuse_entry()
352 !(nud_state & NUD_VALID)) in reuse_entry()
354 else if (nud_state & NUD_CONNECTED) in reuse_entry()
505 if (neigh->nud_state & NUD_FAILED) { in t4_l2t_update()
508 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) && in t4_l2t_update()
513 e->state = neigh->nud_state & NUD_CONNECTED ? in t4_l2t_update()
/linux-4.1.27/net/core/
Dneighbour.c143 !(n->nud_state & NUD_PERMANENT)) { in neigh_forced_gc()
170 n->nud_state); in neigh_add_timer()
177 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
233 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
234 n->nud_state = NUD_NOARP; in neigh_flush_dev()
236 n->nud_state = NUD_NONE; in neigh_flush_dev()
289 n->nud_state = NUD_NONE; in neigh_alloc()
774 state = n->nud_state; in neigh_periodic_work()
821 (n->nud_state & NUD_PROBE ? NEIGH_VAR(p, MCAST_REPROBES) : in neigh_max_probes()
840 while (neigh->nud_state == NUD_FAILED && in neigh_invalidate()
[all …]
/linux-4.1.27/net/ipv4/
Darp.c244 neigh->nud_state = NUD_NOARP; in arp_constructor()
264 neigh->nud_state = NUD_NOARP; in arp_constructor()
267 neigh->nud_state = NUD_NOARP; in arp_constructor()
271 neigh->nud_state = NUD_NOARP; in arp_constructor()
280 if (neigh->nud_state & NUD_VALID) in arp_constructor()
337 if (!(neigh->nud_state & NUD_VALID)) in arp_solicit()
1000 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1002 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1038 if (neigh->nud_state & ~NUD_NOARP) in arp_invalidate()
Dfib_semantics.c422 state = n->nud_state; in fib_detect_death()
Droute.c750 if (!(n->nud_state & NUD_VALID)) { in __ip_do_redirect()
/linux-4.1.27/net/decnet/
Ddn_neigh.c135 neigh->nud_state = NUD_NOARP; in dn_neigh_construct()
399 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_router_hello()
458 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_endnode_hello()
523 *(s->rs) = neigh->nud_state & NUD_CONNECTED ? 0x80 : 0x0; in neigh_elist_cb()
558 dn->n.nud_state, in dn_neigh_format_entry()
/linux-4.1.27/net/ipv6/
Dndisc.c324 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
329 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
332 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
337 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
344 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
673 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
932 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1523 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c520 if (neigh->nud_state & NUD_VALID) in rt6_probe()
582 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
585 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
Dip6_output.c947 err = n && !(n->nud_state & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/linux-4.1.27/drivers/infiniband/core/
Daddr.c210 if (!n || !(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
528 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/linux-4.1.27/include/net/
Dneighbour.h146 __u8 nud_state; member
429 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
Ddst.h451 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) in dst_neigh_output()
/linux-4.1.27/net/bridge/
Dbr_input.c105 if (!(n->nud_state & NUD_VALID)) { in br_do_proxy_arp()
/linux-4.1.27/net/atm/
Dclip.c299 neigh->nud_state = NUD_NONE; in clip_constructor()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes.c242 if (neigh->nud_state & NUD_VALID) { in nes_net_event()
Dnes_cm.c1540 if (neigh->nud_state & NUD_VALID) { in nes_addr_resolve_neigh()
/linux-4.1.27/drivers/net/
Dvxlan.c1379 if (!(n->nud_state & NUD_CONNECTED)) { in arp_reduce()
1540 if (!(n->nud_state & NUD_CONNECTED)) { in neigh_reduce()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c2935 if (n->nud_state & NUD_VALID) in rocker_port_ipv4_resolve()
4995 int flags = (n->nud_state & NUD_VALID) ? 0 : ROCKER_OP_FLAG_REMOVE; in rocker_neigh_update()
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c3236 n->nud_state = NUD_NOARP; in qeth_l3_neigh_setup_noarp()