/Linux-v5.10/include/linux/ |
D | rtnetlink.h | 118 extern int ndo_dflt_fdb_add(struct ndmsg *ndm, 124 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
|
D | netdevice.h | 1417 int (*ndo_fdb_add)(struct ndmsg *ndm, 1424 int (*ndo_fdb_del)(struct ndmsg *ndm,
|
/Linux-v5.10/net/dsa/ |
D | dsa_priv.h | 103 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], 108 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
|
D | slave.c | 193 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump() 1558 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_add() 1569 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_del()
|
/Linux-v5.10/include/uapi/linux/ |
D | neighbour.h | 8 struct ndmsg { struct
|
/Linux-v5.10/net/bridge/ |
D | br_fdb.c | 655 struct ndmsg *ndm; in fdb_fill_info() 719 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size() 861 const u8 *addr, struct ndmsg *ndm, u16 flags, u16 vid, in fdb_add_entry() 951 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add() 988 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add() 1097 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
|
D | br_private.h | 698 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], 700 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
|
/Linux-v5.10/net/ipv6/ |
D | ndisc.c | 1129 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local 1147 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt() 1148 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt() 1149 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt() 1150 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt() 1151 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt() 1152 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt() 1154 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
|
/Linux-v5.10/samples/bpf/ |
D | xdp_router_ipv4_user.c | 381 struct ndmsg *rt_msg; in read_arp() 398 rt_msg = (struct ndmsg *)NLMSG_DATA(nh); in read_arp() 463 struct ndmsg rt; in get_arp_table()
|
/Linux-v5.10/include/trace/events/ |
D | bridge.h | 14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
|
/Linux-v5.10/net/core/ |
D | neighbour.c | 1795 struct ndmsg *ndm; in neigh_delete() 1862 struct ndmsg *ndm; in neigh_add() 2435 struct ndmsg *ndm; in neigh_fill_info() 2490 struct ndmsg *ndm; in pneigh_fill_info() 2653 struct ndmsg *ndm; in neigh_valid_dump_req() 2672 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req() 2676 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req() 2719 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info() 2720 ((struct ndmsg *)nlmsg_data(nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info() 2757 struct ndmsg *ndm; in neigh_valid_get_req() [all …]
|
D | rtnetlink.c | 3866 struct ndmsg *ndm; in nlmsg_populate_fdb_fill() 3897 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size() 3930 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add() 3990 struct ndmsg *ndm; in rtnl_fdb_add() 4070 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del() 4098 struct ndmsg *ndm; in rtnl_fdb_del() 4243 struct ndmsg *ndm; in valid_fdb_dump_strict() 4258 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict() 4306 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy() 4307 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy() [all …]
|
/Linux-v5.10/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 513 static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_add() 526 static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_del()
|
D | ocelot.c | 583 struct ndmsg *ndm; in ocelot_port_fdb_do_dump()
|
/Linux-v5.10/drivers/staging/fsl-dpaa2/ethsw/ |
D | ethsw.c | 336 static int dpaa2_switch_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dpaa2_switch_port_fdb_add() 349 static int dpaa2_switch_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dpaa2_switch_port_fdb_del() 602 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl()
|
/Linux-v5.10/drivers/net/ |
D | macvlan.c | 987 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add() 1013 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
|
D | vxlan.c | 266 struct ndmsg *ndm; in vxlan_fdb_info() 354 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size() 1266 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add() 1342 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete()
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 371 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del() 396 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add()
|
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_main.c | 5001 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add() 5039 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
|
/Linux-v5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 2479 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
|
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 9796 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
|
/Linux-v5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 12220 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()
|