Home
last modified time | relevance | path

Searched refs:ndm (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mscc/
Docelot_net.c739 static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_add() argument
753 static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_del() argument
773 struct ndmsg *ndm; in ocelot_port_fdb_do_dump() local
779 sizeof(*ndm), NLM_F_MULTI); in ocelot_port_fdb_do_dump()
783 ndm = nlmsg_data(nlh); in ocelot_port_fdb_do_dump()
784 ndm->ndm_family = AF_BRIDGE; in ocelot_port_fdb_do_dump()
785 ndm->ndm_pad1 = 0; in ocelot_port_fdb_do_dump()
786 ndm->ndm_pad2 = 0; in ocelot_port_fdb_do_dump()
787 ndm->ndm_flags = NTF_SELF; in ocelot_port_fdb_do_dump()
788 ndm->ndm_type = 0; in ocelot_port_fdb_do_dump()
[all …]
/drivers/net/vxlan/
Dvxlan_core.c207 struct ndmsg *ndm; in vxlan_fdb_info() local
211 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in vxlan_fdb_info()
215 ndm = nlmsg_data(nlh); in vxlan_fdb_info()
216 memset(ndm, 0, sizeof(*ndm)); in vxlan_fdb_info()
231 ndm->ndm_family = send_ip ? rdst->remote_ip.sa.sa_family : AF_INET; in vxlan_fdb_info()
233 ndm->ndm_family = nh_family; in vxlan_fdb_info()
237 ndm->ndm_family = AF_BRIDGE; in vxlan_fdb_info()
238 ndm->ndm_state = fdb->state; in vxlan_fdb_info()
239 ndm->ndm_ifindex = vxlan->dev->ifindex; in vxlan_fdb_info()
240 ndm->ndm_flags = fdb->flags; in vxlan_fdb_info()
[all …]
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c779 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl() local
785 sizeof(*ndm), NLM_F_MULTI); in dpaa2_switch_fdb_dump_nl()
789 ndm = nlmsg_data(nlh); in dpaa2_switch_fdb_dump_nl()
790 ndm->ndm_family = AF_BRIDGE; in dpaa2_switch_fdb_dump_nl()
791 ndm->ndm_pad1 = 0; in dpaa2_switch_fdb_dump_nl()
792 ndm->ndm_pad2 = 0; in dpaa2_switch_fdb_dump_nl()
793 ndm->ndm_flags = NTF_SELF; in dpaa2_switch_fdb_dump_nl()
794 ndm->ndm_type = 0; in dpaa2_switch_fdb_dump_nl()
795 ndm->ndm_ifindex = dump->dev->ifindex; in dpaa2_switch_fdb_dump_nl()
796 ndm->ndm_state = is_dynamic ? NUD_REACHABLE : NUD_NOARP; in dpaa2_switch_fdb_dump_nl()
/drivers/net/
Dmacvlan.c995 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() argument
1021 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del() argument
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c369 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del() argument
378 return ndo_dflt_fdb_del(ndm, tb, netdev, addr, vid); in qlcnic_fdb_del()
395 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add() argument
404 return ndo_dflt_fdb_add(ndm, tb, netdev, addr, vid, flags); in qlcnic_fdb_add()
/drivers/net/ethernet/intel/ice/
Dice_main.c5770 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add() argument
5780 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in ice_fdb_add()
5809 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del() argument
5815 if (ndm->ndm_state & NUD_PERMANENT) { in ice_fdb_del()
/drivers/net/ethernet/intel/igb/
Digb_main.c2513 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add() argument
2528 return ndo_dflt_fdb_add(ndm, tb, dev, addr, vid, flags); in igb_ndo_fdb_add()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c13074 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add() argument
13095 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9945 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add() argument
9960 return ndo_dflt_fdb_add(ndm, tb, dev, addr, vid, flags); in ixgbe_ndo_fdb_add()