Searched refs:ndm_state (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/include/uapi/linux/ |
D | neighbour.h | 13 __u16 ndm_state; member
|
/Linux-v5.4/net/bridge/ |
D | br_fdb.c | 649 ndm->ndm_state = fdb_to_nud(br, fdb); in fdb_fill_info() 902 err = fdb_add_entry(br, p, addr, ndm->ndm_state, in __br_fdb_add() 924 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE))) { in br_fdb_add() 925 pr_info("bridge: RTM_NEWNEIGH with invalid state %#x\n", ndm->ndm_state); in br_fdb_add()
|
/Linux-v5.4/net/core/ |
D | rtnetlink.c | 3550 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument 3566 ndm->ndm_state = ndm_state; in nlmsg_populate_fdb_fill() 3591 u16 ndm_state) in rtnl_fdb_notify() argument 3602 0, 0, type, NTF_SELF, 0, ndm_state); in rtnl_fdb_notify() 3628 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add() 3746 ndm->ndm_state); in rtnl_fdb_add() 3767 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del() 3855 ndm->ndm_state); in rtnl_fdb_del() 3939 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_dump_strict() 4128 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_get_strict()
|
D | neighbour.c | 1941 exempt_from_gc = ndm->ndm_state & NUD_PERMANENT || in neigh_add() 1970 err = __neigh_update(neigh, lladdr, ndm->ndm_state, flags, in neigh_add() 2449 ndm->ndm_state = neigh->nud_state; in neigh_fill_info() 2499 ndm->ndm_state = NUD_NONE; in pneigh_fill_info() 2658 ndm->ndm_state || ndm->ndm_type) { in neigh_valid_dump_req() 2762 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in neigh_valid_get_req()
|
/Linux-v5.4/samples/bpf/ |
D | xdp_router_ipv4_user.c | 483 req.rt.ndm_state = NUD_REACHABLE; in get_arp_table()
|
/Linux-v5.4/drivers/net/ |
D | vxlan.c | 273 ndm->ndm_state = fdb->state; in vxlan_fdb_info() 1130 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_REACHABLE))) { in vxlan_fdb_add() 1132 ndm->ndm_state); in vxlan_fdb_add() 1148 err = vxlan_fdb_update(vxlan, addr, &ip, ndm->ndm_state, flags, in vxlan_fdb_add()
|
/Linux-v5.4/drivers/net/ethernet/intel/ice/ |
D | ice_main.c | 3370 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add() 3404 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
|
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/ |
D | ethsw.c | 583 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in ethsw_fdb_do_dump()
|
/Linux-v5.4/net/dsa/ |
D | slave.c | 219 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_slave_port_fdb_do_dump()
|
/Linux-v5.4/drivers/net/ethernet/mscc/ |
D | ocelot.c | 834 ndm->ndm_state = NUD_REACHABLE; in ocelot_fdb_do_dump()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 12304 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
|