Home
last modified time | relevance | path

Searched refs:ndm_flags (Results 1 – 5 of 5) sorted by relevance

/net/bridge/
Dbr_fdb.c118 ndm->ndm_flags = 0; in fdb_fill_info()
124 ndm->ndm_flags |= NTF_OFFLOADED; in fdb_fill_info()
126 ndm->ndm_flags |= NTF_EXT_LEARNED; in fdb_fill_info()
128 ndm->ndm_flags |= NTF_STICKY; in fdb_fill_info()
616 static unsigned long __ndm_flags_to_fdb_flags(u8 ndm_flags) in __ndm_flags_to_fdb_flags() argument
620 if (ndm_flags & NTF_USE) in __ndm_flags_to_fdb_flags()
622 if (ndm_flags & NTF_EXT_LEARNED) in __ndm_flags_to_fdb_flags()
624 if (ndm_flags & NTF_OFFLOADED) in __ndm_flags_to_fdb_flags()
626 if (ndm_flags & NTF_STICKY) in __ndm_flags_to_fdb_flags()
668 u8 ndm_flags = ndm->ndm_flags & ~FDB_FLUSH_IGNORED_NDM_FLAGS; in br_fdb_delete_bulk() local
[all …]
/net/core/
Dneighbour.c182 u32 ndm_flags, old_flags = neigh->flags; in neigh_update_flags() local
187 ndm_flags = (flags & NEIGH_UPDATE_F_EXT_LEARNED) ? NTF_EXT_LEARNED : 0; in neigh_update_flags()
188 ndm_flags |= (flags & NEIGH_UPDATE_F_MANAGED) ? NTF_MANAGED : 0; in neigh_update_flags()
190 if ((old_flags ^ ndm_flags) & NTF_EXT_LEARNED) { in neigh_update_flags()
191 if (ndm_flags & NTF_EXT_LEARNED) in neigh_update_flags()
198 if ((old_flags ^ ndm_flags) & NTF_MANAGED) { in neigh_update_flags()
199 if (ndm_flags & NTF_MANAGED) in neigh_update_flags()
1933 if (ndm->ndm_flags & NTF_PROXY) { in neigh_delete()
1972 u32 ndm_flags; in neigh_add() local
1988 ndm_flags = ndm->ndm_flags; in neigh_add()
[all …]
Drtnetlink.c4111 ndm->ndm_flags = flags; in nlmsg_populate_fdb_fill()
4273 if ((!ndm->ndm_flags || ndm->ndm_flags & NTF_MASTER) && in rtnl_fdb_add()
4283 ndm->ndm_flags &= ~NTF_MASTER; in rtnl_fdb_add()
4287 if ((ndm->ndm_flags & NTF_SELF)) { in rtnl_fdb_add()
4300 ndm->ndm_flags &= ~NTF_SELF; in rtnl_fdb_add()
4399 if ((!ndm->ndm_flags || ndm->ndm_flags & NTF_MASTER) && in rtnl_fdb_del()
4416 ndm->ndm_flags &= ~NTF_MASTER; in rtnl_fdb_del()
4420 if (ndm->ndm_flags & NTF_SELF) { in rtnl_fdb_del()
4439 ndm->ndm_flags &= ~NTF_SELF; in rtnl_fdb_del()
4523 ndm->ndm_flags || ndm->ndm_type) { in valid_fdb_dump_strict()
[all …]
/net/mctp/
Dneigh.c226 hdr->ndm_flags = 0; in mctp_fill_neigh()
/net/dsa/
Dslave.c525 ndm->ndm_flags = NTF_SELF; in dsa_slave_port_fdb_do_dump()