Home
last modified time | relevance | path

Searched refs:ndmsg (Results 1 – 15 of 15) sorted by relevance

/linux-4.4.14/include/net/
Dswitchdev.h198 int switchdev_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
201 int switchdev_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
305 static inline int switchdev_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in switchdev_port_fdb_add()
313 static inline int switchdev_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in switchdev_port_fdb_del()
/linux-4.4.14/include/linux/
Drtnetlink.h103 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
109 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
Dnetdevice.h1179 int (*ndo_fdb_add)(struct ndmsg *ndm,
1185 int (*ndo_fdb_del)(struct ndmsg *ndm,
/linux-4.4.14/include/uapi/linux/
Dneighbour.h7 struct ndmsg { struct
/linux-4.4.14/net/ipv6/
Dndisc.c1040 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1058 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1059 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1060 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1061 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1062 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1063 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1065 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
/linux-4.4.14/net/bridge/
Dbr_fdb.c637 struct ndmsg *ndm; in fdb_fill_info()
676 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size()
829 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge_port *p, in __br_fdb_add()
851 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add()
979 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
Dbr_private.h470 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
472 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
/linux-4.4.14/net/switchdev/
Dswitchdev.c974 int switchdev_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in switchdev_port_fdb_add()
999 int switchdev_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in switchdev_port_fdb_del()
1029 struct ndmsg *ndm; in switchdev_port_fdb_dump_cb()
/linux-4.4.14/net/core/
Dneighbour.c1597 struct ndmsg *ndm; in neigh_delete()
1655 struct ndmsg *ndm; in neigh_add()
2154 struct ndmsg *ndm; in neigh_fill_info()
2206 struct ndmsg *ndm; in pneigh_fill_info()
2274 err = nlmsg_parse(nlh, sizeof(struct ndmsg), tb, NDA_MAX, NULL); in neigh_dump_table()
2374 if (nlmsg_len(cb->nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2375 ((struct ndmsg *) nlmsg_data(cb->nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info()
2827 return NLMSG_ALIGN(sizeof(struct ndmsg)) in neigh_nlmsg_size()
Drtnetlink.c2572 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
2603 return NLMSG_ALIGN(sizeof(struct ndmsg)) + nla_total_size(ETH_ALEN); in rtnl_fdb_nlmsg_size()
2632 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
2691 struct ndmsg *ndm; in rtnl_fdb_add()
2763 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
2790 struct ndmsg *ndm; in rtnl_fdb_del()
/linux-4.4.14/drivers/net/
Dmacvlan.c890 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add()
915 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
Dvxlan.c280 struct ndmsg *ndm; in vxlan_fdb_info()
342 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size()
825 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add()
861 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c377 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del()
402 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8151 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_main.c8398 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()