Home
last modified time | relevance | path

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

/net/core/
Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
244 if ((n->nud_state == NUD_FAILED) || in neigh_forced_gc()
245 (n->nud_state == NUD_NOARP) || in neigh_forced_gc()
286 n->nud_state); in neigh_add_timer()
293 if ((n->nud_state & NUD_IN_TIMER) && in neigh_del_timer()
345 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
368 if (n->nud_state & NUD_VALID) in neigh_flush_dev()
369 n->nud_state = NUD_NOARP; in neigh_flush_dev()
371 n->nud_state = NUD_NONE; in neigh_flush_dev()
447 n->nud_state = NUD_NONE; in neigh_alloc()
[all …]
Dfilter.c5403 if (!neigh || !(neigh->nud_state & NUD_VALID)) in bpf_ipv4_fib_lookup()
5516 if (!neigh || !(neigh->nud_state & NUD_VALID)) in bpf_ipv6_fib_lookup()
/net/ipv4/
Darp.c249 neigh->nud_state = NUD_NOARP; in arp_constructor()
269 neigh->nud_state = NUD_NOARP; in arp_constructor()
272 neigh->nud_state = NUD_NOARP; in arp_constructor()
276 neigh->nud_state = NUD_NOARP; in arp_constructor()
285 if (neigh->nud_state & NUD_VALID) in arp_constructor()
377 if (!(neigh->nud_state & NUD_VALID)) in arp_solicit()
1085 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
1087 else if (neigh->nud_state&NUD_VALID) in arp_state_to_flags()
1105 if (!(neigh->nud_state & NUD_NOARP)) { in arp_req_get()
1126 if ((neigh->nud_state & NUD_VALID) && !force) { in arp_invalidate()
[all …]
Dnexthop.c518 state = n->nud_state; in ipv6_good_nh()
535 state = n->nud_state; in ipv4_good_nh()
Dfib_semantics.c566 state = n->nud_state; in fib_detect_death()
2227 state = n->nud_state; in fib_good_nh()
Droute.c815 if (!(n->nud_state & NUD_VALID)) { in __ip_do_redirect()
/net/ipv6/
Dndisc.c345 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
350 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
353 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
358 neigh->nud_state = NUD_NOARP; in ndisc_constructor()
365 if (neigh->nud_state&NUD_VALID) in ndisc_constructor()
733 if (!(neigh->nud_state & NUD_VALID)) { in ndisc_solicit()
1034 if (neigh->nud_state & NUD_FAILED) in ndisc_recv_na()
1661 if (neigh->nud_state & NUD_VALID) { in ndisc_send_redirect()
Droute.c636 if (neigh->nud_state & NUD_VALID) in rt6_probe()
640 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe()
686 if (neigh->nud_state & NUD_VALID) in rt6_check_neigh()
689 else if (!(neigh->nud_state & NUD_FAILED)) in rt6_check_neigh()
Dip6_output.c1151 err = n && !(n->nud_state & NUD_VALID) ? -EINVAL : 0; in ip6_dst_lookup_tail()
/net/bridge/
Dbr_arp_nd_proxy.c195 if (!(n->nud_state & NUD_VALID)) { in br_do_proxy_suppress_arp()
455 if (!(n->nud_state & NUD_VALID)) { in br_do_suppress_nd()
Dbr_netfilter_hooks.c280 if ((neigh->nud_state & NUD_CONNECTED) && neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge()
/net/netfilter/
Dnf_flow_table_offload.c216 u8 nud_state; in flow_offload_eth_dst() local
225 nud_state = n->nud_state; in flow_offload_eth_dst()
229 if (!(nud_state & NUD_VALID)) { in flow_offload_eth_dst()
/net/atm/
Dclip.c300 neigh->nud_state = NUD_NONE; in clip_constructor()