Home
last modified time | relevance | path

Searched refs:NUD_PERMANENT (Results 1 – 14 of 14) sorted by relevance

/linux/net/bridge/
H A Dbr_fdb.c87 return NUD_PERMANENT; in fdb_to_nud()
626 if (ndm_state & NUD_PERMANENT) in __ndm_state_to_fdb_flags()
1074 if (source && !(state & NUD_PERMANENT) && !(state & NUD_NOARP) && in fdb_add_entry()
1079 if (!source && !(state & NUD_PERMANENT)) { in fdb_add_entry()
1085 if (is_sticky && (state & NUD_PERMANENT)) in fdb_add_entry()
1121 if (state & NUD_PERMANENT) { in fdb_add_entry()
1181 if (!p && !(ndm->ndm_state & NUD_PERMANENT)) { in __br_fdb_add()
1217 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE))) { in br_fdb_add()
H A Dbr_private.h825 #define FDB_FLUSH_ALLOWED_NDM_STATES (NUD_PERMANENT | NUD_NOARP)
/linux/include/uapi/linux/
H A Dneighbour.h71 #define NUD_PERMANENT 0x80 macro
/linux/include/net/
H A Dneighbour.h38 #define NUD_VALID (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE|NUD_PROBE|NUD_STALE|NUD_DELAY)
39 #define NUD_CONNECTED (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE)
/linux/include/trace/events/
H A Dneigh.h21 { NUD_PERMANENT, "permanent"})
/linux/net/mctp/
H A Dneigh.c225 hdr->ndm_state |= NUD_PERMANENT; in mctp_fill_neigh()
/linux/net/core/
H A Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT || in neigh_update_gc_list()
399 if (skip_perm && n->nud_state & NUD_PERMANENT) { in neigh_flush_dev()
988 if ((state & (NUD_PERMANENT | NUD_IN_TIMER)) || in neigh_periodic_work()
1323 (old & (NUD_NOARP | NUD_PERMANENT))) in __neigh_update()
1328 new = old & ~NUD_PERMANENT; in __neigh_update()
1477 if (((new ^ old) & NUD_PERMANENT) || gc_update) in __neigh_update()
2063 bool ndm_permanent = ndm->ndm_state & NUD_PERMANENT; in neigh_add()
H A Drtnetlink.c4243 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add()
4387 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del()
4526 NLM_F_MULTI, NUD_PERMANENT); in nlmsg_populate_fdb()
/linux/net/ipv4/
H A Darp.c1138 state = NUD_PERMANENT; in arp_req_set()
1152 if (neigh->nud_state&NUD_PERMANENT) in arp_state_to_flags()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c1258 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_REACHABLE))) { in vxlan_fdb_add()
1467 if (f->state & (NUD_PERMANENT | NUD_NOARP)) in vxlan_snoop()
2822 if (f->state & (NUD_PERMANENT | NUD_NOARP)) in vxlan_cleanup()
3080 #define VXLAN_FDB_FLUSH_ALLOWED_NDM_STATES (NUD_PERMANENT | NUD_NOARP)
3156 .state_mask = NUD_PERMANENT | NUD_NOARP, in vxlan_stop()
3943 NUD_REACHABLE | NUD_PERMANENT, in __vxlan_dev_create()
4371 NUD_REACHABLE | NUD_PERMANENT, in vxlan_changelink()
H A Dvxlan_vnifilter.c489 NUD_REACHABLE | NUD_PERMANENT, in vxlan_update_default_fdb_entry()
/linux/net/atm/
H A Dclip.c483 error = neigh_update(neigh, llc_oui, NUD_PERMANENT, in clip_setentry()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c6129 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add()
6164 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13113 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()