Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/mctp/
A Dneigh.c121 struct ndmsg *ndm; in mctp_rtm_newneigh()
180 struct ndmsg *ndm; in mctp_rtm_delneigh()
214 struct ndmsg *hdr; in mctp_fill_neigh()
248 struct ndmsg *ndmsg; in mctp_rtm_getneigh() local
253 ndmsg = nlmsg_data(cb->nlh); in mctp_rtm_getneigh()
254 req_ifindex = ndmsg->ndm_ifindex; in mctp_rtm_getneigh()
/linux-6.3-rc2/include/linux/
A Drtnetlink.h120 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
126 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
A Dnetdevice.h1543 int (*ndo_fdb_add)(struct ndmsg *ndm,
1550 int (*ndo_fdb_del)(struct ndmsg *ndm,
1555 int (*ndo_fdb_del_bulk)(struct ndmsg *ndm,
/linux-6.3-rc2/include/uapi/linux/
A Dneighbour.h8 struct ndmsg { struct
/linux-6.3-rc2/net/bridge/
A Dbr_fdb.c107 struct ndmsg *ndm; in fdb_fill_info()
177 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size()
664 int br_fdb_delete_bulk(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete_bulk()
1022 const u8 *addr, struct ndmsg *ndm, u16 flags, u16 vid, in fdb_add_entry()
1115 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add()
1158 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add()
1278 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
A Dbr_private.h816 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
819 int br_fdb_delete_bulk(struct ndmsg *ndm, struct nlattr *tb[],
822 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
/linux-6.3-rc2/net/ipv6/
A Dndisc.c1190 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1208 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1209 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1210 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1211 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1212 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1213 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1215 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
/linux-6.3-rc2/samples/bpf/
A Dxdp_router_ipv4_user.c320 struct ndmsg *rt_msg; in read_arp()
334 rt_msg = (struct ndmsg *)NLMSG_DATA(nh); in read_arp()
399 struct ndmsg rt; in get_arp_table()
/linux-6.3-rc2/net/core/
A Dneighbour.c1918 struct ndmsg *ndm; in neigh_delete()
1985 struct ndmsg *ndm; in neigh_add()
2588 struct ndmsg *ndm; in neigh_fill_info()
2649 struct ndmsg *ndm; in pneigh_fill_info()
2824 struct ndmsg *ndm; in neigh_valid_dump_req()
2847 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req()
2890 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2891 ((struct ndmsg *)nlmsg_data(nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info()
2928 struct ndmsg *ndm; in neigh_valid_get_req()
2984 return NLMSG_ALIGN(sizeof(struct ndmsg)) in neigh_nlmsg_size()
[all …]
A Drtnetlink.c4046 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
4077 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
4110 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
4175 struct ndmsg *ndm; in rtnl_fdb_add()
4255 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
4292 struct ndmsg *ndm; in rtnl_fdb_del()
4458 struct ndmsg *ndm; in valid_fdb_dump_strict()
4473 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict()
4521 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy()
4522 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_net.c730 static int ocelot_port_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_add()
744 static int ocelot_port_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in ocelot_port_fdb_del()
764 struct ndmsg *ndm; in ocelot_port_fdb_do_dump()
/linux-6.3-rc2/drivers/net/
A Dmacvlan.c995 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add()
1021 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
/linux-6.3-rc2/drivers/net/vxlan/
A Dvxlan_core.c207 struct ndmsg *ndm; in vxlan_fdb_info()
295 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size()
1217 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add()
1293 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_main.c369 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del()
395 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add()
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch.c787 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl()
/linux-6.3-rc2/net/dsa/
A Dslave.c449 struct ndmsg *ndm; in dsa_slave_port_fdb_do_dump()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_main.c5979 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add()
6018 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
/linux-6.3-rc2/drivers/net/ethernet/intel/igb/
A Digb_main.c2513 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_main.c9947 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_main.c13091 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()

Completed in 137 milliseconds