Searched refs:ndm_state (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.15/include/uapi/linux/ |
| D | neighbour.h | 13 __u16 ndm_state; member
|
| /Linux-v5.15/net/mctp/ |
| D | neigh.c | 222 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/ |
| D | br_fdb.c | 675 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/ |
| D | rtnetlink.c | 3869 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()
|
| D | neighbour.c | 1943 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/ |
| D | xdp_router_ipv4_user.c | 483 req.rt.ndm_state = NUD_REACHABLE; in get_arp_table()
|
| /Linux-v5.15/drivers/net/ |
| D | vxlan.c | 298 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/ |
| D | ice_main.c | 5290 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/ |
| D | ocelot.c | 1036 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in ocelot_port_fdb_do_dump()
|
| /Linux-v5.15/net/dsa/ |
| D | slave.c | 214 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_slave_port_fdb_do_dump()
|
| /Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
| D | dpaa2-switch.c | 792 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in dpaa2_switch_fdb_dump_nl()
|
| /Linux-v5.15/drivers/net/ethernet/intel/i40e/ |
| D | i40e_main.c | 12733 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
|