Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c212 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl()
348 unsigned int nud_state; in reuse_entry() local
353 nud_state = neigh->nud_state; in reuse_entry()
355 !(nud_state & NUD_VALID)) in reuse_entry()
357 else if (nud_state & NUD_CONNECTED) in reuse_entry()
508 if (neigh->nud_state & NUD_FAILED) { in t4_l2t_update()
511 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) && in t4_l2t_update()
516 e->state = neigh->nud_state & NUD_CONNECTED ? in t4_l2t_update()
/linux-4.4.14/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()
293 n->nud_state = NUD_NONE; in neigh_alloc()
778 state = n->nud_state; in neigh_periodic_work()
825 (n->nud_state & NUD_PROBE ? NEIGH_VAR(p, MCAST_REPROBES) : in neigh_max_probes()
844 while (neigh->nud_state == NUD_FAILED && in neigh_invalidate()
[all …]
/linux-4.4.14/net/ipv4/
Darp.c246 neigh->nud_state = NUD_NOARP; in arp_constructor()
266 neigh->nud_state = NUD_NOARP; in arp_constructor()
269 neigh->nud_state = NUD_NOARP; in arp_constructor()
273 neigh->nud_state = NUD_NOARP; in arp_constructor()
282 if (neigh->nud_state & NUD_VALID) in arp_constructor()
374 if (!(neigh->nud_state & NUD_VALID)) in arp_solicit()
1031 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1033 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1051 if (!(neigh->nud_state & NUD_NOARP)) { in arp_req_get()
1071 if (neigh->nud_state & ~NUD_NOARP) in arp_invalidate()
Dfib_semantics.c438 state = n->nud_state; in fib_detect_death()
Droute.c752 if (!(n->nud_state & NUD_VALID)) { in __ip_do_redirect()
/linux-4.4.14/net/decnet/
Ddn_neigh.c135 neigh->nud_state = NUD_NOARP; in dn_neigh_construct()
402 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_router_hello()
461 if (!(neigh->nud_state & NUD_PERMANENT)) { in dn_neigh_endnode_hello()
526 *(s->rs) = neigh->nud_state & NUD_CONNECTED ? 0x80 : 0x0; in neigh_elist_cb()
561 dn->n.nud_state, in dn_neigh_format_entry()
/linux-4.4.14/net/ipv6/
Dndisc.c326 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
331 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
334 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
339 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
346 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
676 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
946 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1553 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c548 if (neigh->nud_state & NUD_VALID) in rt6_probe()
553 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
610 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
613 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
Dip6_output.c969 err = n && !(n->nud_state & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/linux-4.4.14/include/net/
Dneighbour.h147 __u8 nud_state; member
430 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
Ddst.h452 if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) in dst_neigh_output()
/linux-4.4.14/drivers/infiniband/core/
Daddr.c209 if (!n || !(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
530 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/linux-4.4.14/net/bridge/
Dbr_input.c111 if (!(n->nud_state & NUD_VALID)) { in br_do_proxy_arp()
/linux-4.4.14/net/atm/
Dclip.c299 neigh->nud_state = NUD_NONE; in clip_constructor()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes.c242 if (neigh->nud_state & NUD_VALID) { in nes_net_event()
Dnes_cm.c1541 if (neigh->nud_state & NUD_VALID) { in nes_addr_resolve_neigh()
/linux-4.4.14/drivers/net/
Dvxlan.c1392 if (!(n->nud_state & NUD_CONNECTED)) { in arp_reduce()
1553 if (!(n->nud_state & NUD_CONNECTED)) { in neigh_reduce()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c3062 if (n->nud_state & NUD_VALID) in rocker_port_ipv4_resolve()
5432 int flags = (n->nud_state & NUD_VALID ? 0 : ROCKER_OP_FLAG_REMOVE) | in rocker_neigh_update()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c3120 n->nud_state = NUD_NOARP; in qeth_l3_neigh_setup_noarp()