Home
last modified time | relevance | path

Searched refs:ndm_state (Results 1 – 12 of 12) sorted by relevance

/linux-4.4.14/include/uapi/linux/
Dneighbour.h12 __u16 ndm_state; member
/linux-4.4.14/net/bridge/
Dbr_fdb.c650 ndm->ndm_state = fdb_to_nud(br, fdb); in fdb_fill_info()
842 err = fdb_add_entry(p, addr, ndm->ndm_state, in __br_fdb_add()
861 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE))) { in br_fdb_add()
862 pr_info("bridge: RTM_NEWNEIGH with invalid state %#x\n", ndm->ndm_state); in br_fdb_add()
/linux-4.4.14/include/net/
Dswitchdev.h106 u16 ndm_state; member
/linux-4.4.14/net/switchdev/
Dswitchdev.c1046 ndm->ndm_state = fdb->ndm_state; in switchdev_port_fdb_dump_cb()
/linux-4.4.14/net/core/
Drtnetlink.c2585 ndm->ndm_state = NUD_PERMANENT; in nlmsg_populate_fdb_fill()
2643 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add()
2773 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del()
Dneighbour.c1735 err = neigh_update(neigh, lladdr, ndm->ndm_state, flags); in neigh_add()
2172 ndm->ndm_state = neigh->nud_state; in neigh_fill_info()
2219 ndm->ndm_state = NUD_NONE; in pneigh_fill_info()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c682 fdb->ndm_state = NUD_REACHABLE; in mlxsw_sp_port_fdb_dump()
/linux-4.4.14/drivers/net/
Dvxlan.c298 ndm->ndm_state = fdb->state; in vxlan_fdb_info()
836 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_REACHABLE))) { in vxlan_fdb_add()
838 ndm->ndm_state); in vxlan_fdb_add()
853 err = vxlan_fdb_create(vxlan, addr, &ip, ndm->ndm_state, flags, in vxlan_fdb_add()
/linux-4.4.14/drivers/net/dsa/
Dbcm_sf2.c791 fdb->ndm_state = ent->is_static ? NUD_NOARP : NUD_REACHABLE; in bcm_sf2_sw_fdb_copy()
Dmv88e6xxx.c1860 fdb->ndm_state = is_static ? NUD_NOARP : in mv88e6xxx_port_fdb_dump()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_main.c8418 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c4581 fdb->ndm_state = NUD_REACHABLE; in rocker_port_fdb_dump()