Home
last modified time | relevance | path

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

/linux-6.15/net/mctp/
H 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.15/Documentation/netlink/specs/
H A Drt_neigh.yaml12 name: ndmsg
342 fixed-header: ndmsg
363 fixed-header: ndmsg
376 fixed-header: ndmsg
380 fixed-header: ndmsg
402 fixed-header: ndmsg
/linux-6.15/tools/testing/selftests/net/
H A Dnetlink-dumps.c79 struct ndmsg ndm;
145 sizeof(struct nlmsghdr) + sizeof(struct ndmsg)); in TEST()
/linux-6.15/include/linux/
H A Drtnetlink.h199 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
205 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
H A Dnetdevice.h1544 int (*ndo_fdb_add)(struct ndmsg *ndm,
1552 int (*ndo_fdb_del)(struct ndmsg *ndm,
/linux-6.15/include/uapi/linux/
H A Dneighbour.h8 struct ndmsg { struct
/linux-6.15/net/bridge/
H A Dbr_fdb.c97 struct ndmsg *ndm; in fdb_fill_info()
167 return NLMSG_ALIGN(sizeof(struct ndmsg)) in fdb_nlmsg_size()
686 struct ndmsg *ndm = nlmsg_data(nlh); in br_fdb_delete_bulk()
1057 const u8 *addr, struct ndmsg *ndm, u16 flags, u16 vid, in fdb_add_entry()
1153 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add()
1198 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add()
1319 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
H A Dbr_private.h855 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
860 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
/linux-6.15/net/ipv6/
H A Dndisc.c1197 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1215 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1216 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1217 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1218 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1219 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1220 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1222 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
/linux-6.15/samples/bpf/
H 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.15/net/core/
H A Dneighbour.c1848 struct ndmsg *ndm; in neigh_delete()
1915 struct ndmsg *ndm; in neigh_add()
2520 struct ndmsg *ndm; in neigh_fill_info()
2581 struct ndmsg *ndm; in pneigh_fill_info()
2748 struct ndmsg *ndm; in neigh_valid_dump_req()
2771 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req()
2814 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2815 ((struct ndmsg *)nlmsg_data(nlh))->ndm_flags == NTF_PROXY) in neigh_dump_info()
2855 struct ndmsg *ndm; in neigh_valid_get_req()
2911 return NLMSG_ALIGN(sizeof(struct ndmsg)) in neigh_nlmsg_size()
[all …]
H A Drtnetlink.c4469 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
4500 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
4533 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
4598 struct ndmsg *ndm; in rtnl_fdb_add()
4681 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
4711 struct ndmsg *ndm; in rtnl_fdb_del()
4883 struct ndmsg *ndm; in valid_fdb_dump_strict()
4898 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict()
4946 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy()
4947 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy()
[all …]
/linux-6.15/include/trace/events/
H A Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
/linux-6.15/drivers/net/ethernet/mscc/
H 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()
765 struct ndmsg *ndm; in ocelot_port_fdb_do_dump()
/linux-6.15/drivers/net/
H A Dmacvlan.c1025 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add()
1051 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
/linux-6.15/drivers/net/vxlan/
H A Dvxlan_core.c161 struct ndmsg *ndm; in vxlan_fdb_info()
249 return NLMSG_ALIGN(sizeof(struct ndmsg)) in vxlan_nlmsg_size()
1245 static int vxlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_add()
1324 static int vxlan_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in vxlan_fdb_delete()
3124 struct ndmsg *ndm = nlmsg_data(nlh); in vxlan_fdb_delete_bulk()
/linux-6.15/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c368 static int qlcnic_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_del()
394 static int qlcnic_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in qlcnic_fdb_add()
/linux-6.15/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c788 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl()
/linux-6.15/net/dsa/
H A Duser.c522 struct ndmsg *ndm; in dsa_user_port_fdb_do_dump()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_main.c6151 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add()
6192 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
/linux-6.15/drivers/net/ethernet/intel/igb/
H A Digb_main.c2496 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c10323 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13059 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()