Home
last modified time | relevance | path

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

/Linux-v5.15/include/uapi/linux/
Dneighbour.h13 __u16 ndm_state; member
/Linux-v5.15/net/mctp/
Dneigh.c222 hdr->ndm_state = 0; // TODO other state bits? in mctp_fill_neigh()
224 hdr->ndm_state |= NUD_PERMANENT; in mctp_fill_neigh()
/Linux-v5.15/net/bridge/
Dbr_fdb.c675 ndm->ndm_state = fdb_to_nud(br, fdb); in fdb_fill_info()
928 u16 state = ndm->ndm_state; in fdb_add_entry()
1034 if (!p && !(ndm->ndm_state & NUD_PERMANENT)) { in __br_fdb_add()
1069 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_NOARP|NUD_REACHABLE))) { in br_fdb_add()
1070 pr_info("bridge: RTM_NEWNEIGH with invalid state %#x\n", ndm->ndm_state); in br_fdb_add()
/Linux-v5.15/net/core/
Drtnetlink.c3869 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument
3885 ndm->ndm_state = ndm_state; in nlmsg_populate_fdb_fill()
3910 u16 ndm_state) in rtnl_fdb_notify() argument
3921 0, 0, type, NTF_SELF, 0, ndm_state); in rtnl_fdb_notify()
3947 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add()
4065 ndm->ndm_state); in rtnl_fdb_add()
4086 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del()
4174 ndm->ndm_state); in rtnl_fdb_del()
4258 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_dump_strict()
4447 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_get_strict()
Dneighbour.c1943 exempt_from_gc = ndm->ndm_state & NUD_PERMANENT || in neigh_add()
1975 err = __neigh_update(neigh, lladdr, ndm->ndm_state, flags, in neigh_add()
2451 ndm->ndm_state = neigh->nud_state; in neigh_fill_info()
2501 ndm->ndm_state = NUD_NONE; in pneigh_fill_info()
2667 ndm->ndm_state || ndm->ndm_type) { in neigh_valid_dump_req()
2771 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in neigh_valid_get_req()
/Linux-v5.15/samples/bpf/
Dxdp_router_ipv4_user.c483 req.rt.ndm_state = NUD_REACHABLE; in get_arp_table()
/Linux-v5.15/drivers/net/
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-v5.15/drivers/net/ethernet/intel/ice/
Dice_main.c5290 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add()
5324 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot.c1036 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in ocelot_port_fdb_do_dump()
/Linux-v5.15/net/dsa/
Dslave.c214 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_slave_port_fdb_do_dump()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c792 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in dpaa2_switch_fdb_dump_nl()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_main.c12733 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()