Home
last modified time | relevance | path

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

/drivers/net/
Dvxlan.c320 struct ndmsg *ndm; in vxlan_fdb_info() local
323 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in vxlan_fdb_info()
327 ndm = nlmsg_data(nlh); in vxlan_fdb_info()
328 memset(ndm, 0, sizeof(*ndm)); in vxlan_fdb_info()
333 ndm->ndm_family = AF_INET; in vxlan_fdb_info()
337 ndm->ndm_family = AF_BRIDGE; in vxlan_fdb_info()
338 ndm->ndm_state = fdb->state; in vxlan_fdb_info()
339 ndm->ndm_ifindex = vxlan->dev->ifindex; in vxlan_fdb_info()
340 ndm->ndm_flags = fdb->flags; in vxlan_fdb_info()
341 ndm->ndm_type = RTN_UNICAST; in vxlan_fdb_info()
[all …]
Dmacvlan.c873 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() argument
898 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del() argument
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c378 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del() argument
385 return ndo_dflt_fdb_del(ndm, tb, netdev, addr); in qlcnic_fdb_del()
402 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add() argument
410 return ndo_dflt_fdb_add(ndm, tb, netdev, addr, flags); in qlcnic_fdb_add()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c7369 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add() argument
7374 static int i40e_ndo_fdb_add(struct ndmsg *ndm, in i40e_ndo_fdb_add()
7390 if (ndm->ndm_state && !(ndm->ndm_state & NUD_PERMANENT)) { in i40e_ndo_fdb_add()
7411 static int i40e_ndo_fdb_del(struct ndmsg *ndm, in i40e_ndo_fdb_del() argument
7415 static int i40e_ndo_fdb_del(struct ndmsg *ndm, in i40e_ndo_fdb_del()
7424 if (ndm->ndm_state & NUD_PERMANENT) { in i40e_ndo_fdb_del()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7646 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add() argument
7657 return ndo_dflt_fdb_add(ndm, tb, dev, addr, flags); in ixgbe_ndo_fdb_add()