Home
last modified time | relevance | path

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

/linux/net/mctp/
A Dneigh.c223 hdr->ndm_state = 0; // TODO other state bits? in mctp_fill_neigh()
225 hdr->ndm_state |= NUD_PERMANENT; in mctp_fill_neigh()
/linux/include/uapi/linux/
A Dneighbour.h13 __u16 ndm_state; member
/linux/net/bridge/
A Dbr_fdb.c120 ndm->ndm_state = fdb_to_nud(br, fdb); in fdb_fill_info()
873 u16 state = ndm->ndm_state; in fdb_add_entry()
979 if (!p && !(ndm->ndm_state & NUD_PERMANENT)) { in __br_fdb_add()
1014 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE))) { in br_fdb_add()
1015 pr_info("bridge: RTM_NEWNEIGH with invalid state %#x\n", ndm->ndm_state); in br_fdb_add()
/linux/net/core/
A Drtnetlink.c3868 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument
3884 ndm->ndm_state = ndm_state; in nlmsg_populate_fdb_fill()
3909 u16 ndm_state) in rtnl_fdb_notify() argument
3920 0, 0, type, NTF_SELF, 0, ndm_state); in rtnl_fdb_notify()
3946 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add()
4064 ndm->ndm_state); in rtnl_fdb_add()
4085 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del()
4173 ndm->ndm_state); in rtnl_fdb_del()
4257 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_dump_strict()
4446 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_get_strict()
A Dneighbour.c2002 bool ndm_permanent = ndm->ndm_state & NUD_PERMANENT; in neigh_add()
2047 err = __neigh_update(neigh, lladdr, ndm->ndm_state, flags, in neigh_add()
2529 ndm->ndm_state = neigh->nud_state; in neigh_fill_info()
2585 ndm->ndm_state = NUD_NONE; in pneigh_fill_info()
2753 ndm->ndm_state || ndm->ndm_type) { in neigh_valid_dump_req()
2857 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in neigh_valid_get_req()
/linux/samples/bpf/
A Dxdp_router_ipv4_user.c498 req.rt.ndm_state = NUD_REACHABLE; in get_arp_table()
/linux/drivers/net/
A Dvxlan.c298 ndm->ndm_state = fdb->state; in vxlan_fdb_info()
1281 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_REACHABLE))) { in vxlan_fdb_add()
1283 ndm->ndm_state); in vxlan_fdb_add()
1300 err = vxlan_fdb_update(vxlan, addr, &ip, ndm->ndm_state, flags, in vxlan_fdb_add()
/linux/drivers/net/ethernet/intel/ice/
A Dice_main.c5536 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add()
5570 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
/linux/drivers/net/ethernet/mscc/
A Docelot.c1173 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in ocelot_port_fdb_do_dump()
/linux/net/dsa/
A Dslave.c214 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_slave_port_fdb_do_dump()
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch.c792 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in dpaa2_switch_fdb_dump_nl()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_main.c12820 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()

Completed in 75 milliseconds