Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Drtnetlink.h118 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
124 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
Dnetdevice.h1438 int (*ndo_fdb_add)(struct ndmsg *ndm,
1445 int (*ndo_fdb_del)(struct ndmsg *ndm,
/kernel/linux/linux-5.10/net/dsa/
Ddsa_priv.h103 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
108 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
Dslave.c193 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump()
1595 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_add()
1606 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_del()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dneighbour.h10 struct ndmsg { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dneighbour.h23 struct ndmsg { struct
/kernel/linux/linux-5.10/include/uapi/linux/
Dneighbour.h8 struct ndmsg { struct
/kernel/linux/linux-5.10/net/bridge/
Dbr_fdb.c655 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()
994 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add()
1105 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
Dbr_private.h698 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,
/kernel/linux/linux-5.10/net/ipv6/
Dndisc.c1129 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()
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_router_ipv4_user.c381 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()
/kernel/linux/linux-5.10/include/trace/events/
Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
/kernel/linux/linux-5.10/net/core/
Dneighbour.c1826 struct ndmsg *ndm; in neigh_delete()
1893 struct ndmsg *ndm; in neigh_add()
2466 struct ndmsg *ndm; in neigh_fill_info()
2521 struct ndmsg *ndm; in pneigh_fill_info()
2684 struct ndmsg *ndm; in neigh_valid_dump_req()
2703 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req()
2707 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req()
2750 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2751 ((struct ndmsg *)nlmsg_data(nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info()
2788 struct ndmsg *ndm; in neigh_valid_get_req()
[all …]
Drtnetlink.c3871 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
3902 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
3935 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
3995 struct ndmsg *ndm; in rtnl_fdb_add()
4075 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
4103 struct ndmsg *ndm; in rtnl_fdb_del()
4248 struct ndmsg *ndm; in valid_fdb_dump_strict()
4263 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict()
4311 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy()
4312 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_net.c513 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()
Docelot.c655 struct ndmsg *ndm; in ocelot_port_fdb_do_dump()
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c336 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()
/kernel/linux/linux-5.10/drivers/net/
Dmacvlan.c987 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()
Dvxlan.c266 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c371 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_main.c5050 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add()
5088 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_main.c2491 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9834 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c12444 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch2547 +static int evb_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
2588 +static int evb_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],