Home
last modified time | relevance | path

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

/linux-6.6.21/include/trace/events/
Dbridge.h20 __field(u8, ndm_flags)
32 __entry->ndm_flags = ndm->ndm_flags;
39 __entry->nlh_flags, __entry->ndm_flags)
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/include/net/
Dneighbour.h592 u8 ndm_flags = 0; in neigh_update_is_router() local
594 ndm_flags |= (flags & NEIGH_UPDATE_F_ISROUTER) ? NTF_ROUTER : 0; in neigh_update_is_router()
595 if ((neigh->flags ^ ndm_flags) & NTF_ROUTER) { in neigh_update_is_router()
596 if (ndm_flags & NTF_ROUTER) in neigh_update_is_router()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_private.h181 __be32 vni, __u32 ifindex, __u16 ndm_flags,
194 __u32 ifindex, __u16 ndm_flags, u32 nhid,
Dvxlan_core.c193 ndm->ndm_flags = fdb->flags; in vxlan_fdb_info()
195 ndm->ndm_flags |= NTF_OFFLOADED; in vxlan_fdb_info()
795 __u16 ndm_flags) in vxlan_fdb_alloc() argument
803 f->flags = ndm_flags; in vxlan_fdb_alloc()
888 __be32 vni, __u32 ifindex, __u16 ndm_flags, in vxlan_fdb_create() argument
901 f = vxlan_fdb_alloc(vxlan, mac, state, src_vni, ndm_flags); in vxlan_fdb_create()
982 __u32 ifindex, __u16 ndm_flags, in vxlan_fdb_update_existing() argument
987 __u16 fdb_flags = (ndm_flags & ~NTF_USE); in vxlan_fdb_update_existing()
1051 if (ndm_flags & NTF_USE) in vxlan_fdb_update_existing()
1082 __u32 ifindex, __u16 ndm_flags, u32 nhid, in vxlan_fdb_update_create() argument
[all …]
/linux-6.6.21/include/uapi/linux/
Dneighbour.h14 __u8 ndm_flags; member
/linux-6.6.21/net/mctp/
Dneigh.c226 hdr->ndm_flags = 0; in mctp_fill_neigh()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_net.c778 ndm->ndm_flags = NTF_SELF; in ocelot_port_fdb_do_dump()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c801 ndm->ndm_flags = NTF_SELF; in dpaa2_switch_fdb_dump_nl()
/linux-6.6.21/net/dsa/
Dslave.c525 ndm->ndm_flags = NTF_SELF; in dsa_slave_port_fdb_do_dump()