/linux-4.1.27/include/linux/ |
D | rtnetlink.h | 111 extern int ndo_dflt_fdb_add(struct ndmsg *ndm, 117 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
|
D | netdevice.h | 1153 int (*ndo_fdb_add)(struct ndmsg *ndm, 1159 int (*ndo_fdb_del)(struct ndmsg *ndm,
|
/linux-4.1.27/include/uapi/linux/ |
D | neighbour.h | 7 struct ndmsg { struct
|
/linux-4.1.27/net/bridge/ |
D | br_fdb.c | 607 struct ndmsg *ndm; in fdb_fill_info() 646 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size() 793 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge_port *p, in __br_fdb_add() 815 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add() 896 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
|
D | br_private.h | 398 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 400 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
|
/linux-4.1.27/net/ipv6/ |
D | ndisc.c | 1026 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local 1044 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt() 1045 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt() 1046 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt() 1047 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1048 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt() 1049 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt() 1051 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
|
/linux-4.1.27/net/dsa/ |
D | slave.c | 202 static int dsa_slave_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dsa_slave_fdb_add() 216 static int dsa_slave_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dsa_slave_fdb_del() 237 struct ndmsg *ndm; in dsa_slave_fill_info()
|
/linux-4.1.27/net/core/ |
D | neighbour.c | 1590 struct ndmsg *ndm; in neigh_delete() 1648 struct ndmsg *ndm; in neigh_add() 2146 struct ndmsg *ndm; in neigh_fill_info() 2198 struct ndmsg *ndm; in pneigh_fill_info() 2323 if (nlmsg_len(cb->nlh) >= sizeof(struct ndmsg) && in neigh_dump_info() 2324 ((struct ndmsg *) nlmsg_data(cb->nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info() 2775 return NLMSG_ALIGN(sizeof(struct ndmsg)) in neigh_nlmsg_size()
|
D | rtnetlink.c | 2440 struct ndmsg *ndm; in nlmsg_populate_fdb_fill() 2471 return NLMSG_ALIGN(sizeof(struct ndmsg)) + nla_total_size(ETH_ALEN); in rtnl_fdb_nlmsg_size() 2500 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add() 2559 struct ndmsg *ndm; in rtnl_fdb_add() 2631 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del() 2658 struct ndmsg *ndm; in rtnl_fdb_del()
|
/linux-4.1.27/drivers/net/ |
D | macvlan.c | 888 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() 913 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
|
D | vxlan.c | 314 struct ndmsg *ndm; in vxlan_fdb_info() 376 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size() 866 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add() 902 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete()
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
D | rocker.c | 4040 static int rocker_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in rocker_port_fdb_add() 4055 static int rocker_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in rocker_port_fdb_del() 4076 struct ndmsg *ndm; in rocker_fdb_fill_info()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 376 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del() 401 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 7922 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 7938 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()
|