Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Drtnetlink.h111 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
117 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
Dnetdevice.h1352 int (*ndo_fdb_add)(struct ndmsg *ndm,
1358 int (*ndo_fdb_del)(struct ndmsg *ndm,
/Linux-v4.19/net/dsa/
Ddsa_priv.h102 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
106 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
Dslave.c200 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump()
1009 int dsa_legacy_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_add()
1019 int dsa_legacy_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in dsa_legacy_fdb_del()
/Linux-v4.19/include/uapi/linux/
Dneighbour.h8 struct ndmsg { struct
/Linux-v4.19/net/bridge/
Dbr_fdb.c640 struct ndmsg *ndm; in fdb_fill_info()
685 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size()
846 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add()
876 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add()
972 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
Dbr_private.h552 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
554 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
/Linux-v4.19/net/ipv6/
Dndisc.c1112 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1130 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1131 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1132 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1133 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1134 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1135 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1137 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
/Linux-v4.19/samples/bpf/
Dxdp_router_ipv4_user.c365 struct ndmsg *rt_msg; in read_arp()
382 rt_msg = (struct ndmsg *)NLMSG_DATA(nh); in read_arp()
445 struct ndmsg rt; in get_arp_table()
/Linux-v4.19/include/trace/events/
Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
/Linux-v4.19/net/core/
Dneighbour.c1653 struct ndmsg *ndm; in neigh_delete()
1716 struct ndmsg *ndm; in neigh_add()
2223 struct ndmsg *ndm; in neigh_fill_info()
2275 struct ndmsg *ndm; in pneigh_fill_info()
2343 err = nlmsg_parse(nlh, sizeof(struct ndmsg), tb, NDA_MAX, NULL, NULL); in neigh_dump_table()
2442 if (nlmsg_len(cb->nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2443 ((struct ndmsg *) nlmsg_data(cb->nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info()
2879 return NLMSG_ALIGN(sizeof(struct ndmsg)) in neigh_nlmsg_size()
Drtnetlink.c3381 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
3412 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
3445 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
3505 struct ndmsg *ndm; in rtnl_fdb_add()
3578 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
3606 struct ndmsg *ndm; in rtnl_fdb_del()
3758 if (nlmsg_len(cb->nlh) != sizeof(struct ndmsg) && in rtnl_fdb_dump()
3759 (nlmsg_len(cb->nlh) != sizeof(struct ndmsg) + in rtnl_fdb_dump()
/Linux-v4.19/drivers/net/ethernet/mscc/
Docelot.c714 static int ocelot_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_fdb_add()
739 static int ocelot_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_fdb_del()
762 struct ndmsg *ndm; in ocelot_fdb_do_dump()
/Linux-v4.19/drivers/net/
Dmacvlan.c960 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add()
985 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
Dvxlan.c280 struct ndmsg *ndm; in vxlan_fdb_info()
346 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size()
873 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add()
943 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c372 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del()
397 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add()
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_main.c3666 static int ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add()
3703 static int ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_main.c2487 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c9789 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_main.c11575 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()