Searched refs:ndm_state (Results 1 – 11 of 11) sorted by relevance
| /linux/include/uapi/linux/ |
| H A D | neighbour.h | 13 __u16 ndm_state; member
|
| /linux/tools/include/uapi/linux/ |
| H A D | neighbour.h | 13 __u16 ndm_state; member
|
| /linux/net/mctp/ |
| H A D | neigh.c | 224 hdr->ndm_state = 0; // TODO other state bits? in mctp_fill_neigh() 226 hdr->ndm_state |= NUD_PERMANENT; in mctp_fill_neigh()
|
| /linux/net/core/ |
| H A D | neighbour.c | 2082 !!(ndm->ndm_state & NUD_PERMANENT)); in neigh_add() 2098 bool ndm_permanent = ndm->ndm_state & NUD_PERMANENT; in neigh_add() 2113 u8 state = ndm->ndm_state; in neigh_add() 2145 u8 state = ndm->ndm_state; in neigh_add() 2181 err = __neigh_update(neigh, lladdr, ndm->ndm_state, flags, in neigh_add() 2686 ndm->ndm_state = neigh->nud_state; in __neigh_fill_info() 2755 ndm->ndm_state = NUD_NONE; in pneigh_fill_info() 2907 ndm->ndm_state || ndm->ndm_type) { in neigh_valid_dump_req() 3012 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in neigh_valid_get_req()
|
| H A D | rtnetlink.c | 4651 int nlflags, u16 ndm_state) in nlmsg_populate_fdb_fill() argument 4667 ndm->ndm_state = ndm_state; in nlmsg_populate_fdb_fill() 4692 u16 ndm_state) in rtnl_fdb_notify() argument 4703 0, 0, type, NTF_SELF, 0, ndm_state); in rtnl_fdb_notify() 4729 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_add() 4855 ndm->ndm_state); in rtnl_fdb_add() 4876 if (!(ndm->ndm_state & NUD_PERMANENT)) { in ndo_dflt_fdb_del() 4989 ndm->ndm_state); in rtnl_fdb_del() 5074 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_dump_strict() 5242 if (ndm->ndm_pad1 || ndm->ndm_pad2 || ndm->ndm_state || in valid_fdb_get_strict()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 196 ndm->ndm_state = fdb->state; in vxlan_fdb_info() 1252 if (!(ndm->ndm_state & (NUD_PERMANENT|NUD_REACHABLE))) { in vxlan_fdb_add() 1254 ndm->ndm_state); in vxlan_fdb_add() 1266 if (nhid && !(ndm->ndm_state & (NUD_PERMANENT | NUD_NOARP))) { in vxlan_fdb_add() 1275 err = vxlan_fdb_update(vxlan, addr, &ip, ndm->ndm_state, flags, in vxlan_fdb_add() 3165 if (ndm->ndm_state & ~VXLAN_FDB_FLUSH_ALLOWED_NDM_STATES) { in vxlan_fdb_delete_bulk() 3170 desc.state = ndm->ndm_state; in vxlan_fdb_delete_bulk()
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 419 req.rt.ndm_state = NUD_REACHABLE; in get_arp_table()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 6117 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add() 6154 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
|
| /linux/net/dsa/ |
| H A D | user.c | 540 ndm->ndm_state = is_static ? NUD_NOARP : NUD_REACHABLE; in dsa_user_port_fdb_do_dump()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch.c | 979 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in dpaa2_switch_fdb_dump_nl()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 13049 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
|