Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/linux/
H A Drtnetlink.h118 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
124 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
/kernel/linux/linux-6.6/include/linux/
H A Drtnetlink.h111 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
117 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
/kernel/linux/linux-5.10/net/dsa/
H A 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[],
H A 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/
H A Dneighbour.h10 struct ndmsg { struct
/kernel/linux/linux-5.10/net/bridge/
H A 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()
H A 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/include/uapi/linux/
H A Dneighbour.h8 struct ndmsg { struct
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dneighbour.h8 struct ndmsg { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dneighbour.h23 struct ndmsg { struct
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dneighbour.h23 struct ndmsg { struct
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/ipv6/
H A Dndisc.c1130 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1148 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1149 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1150 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1151 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1152 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1153 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1155 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
/kernel/linux/linux-6.6/net/ipv6/
H A Dndisc.c1191 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1209 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1210 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1211 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1212 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1213 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1214 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1216 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
/kernel/linux/linux-5.10/net/core/
H A Dneighbour.c1815 struct ndmsg *ndm; in neigh_delete()
1882 struct ndmsg *ndm; in neigh_add()
2456 struct ndmsg *ndm; in neigh_fill_info()
2511 struct ndmsg *ndm; in pneigh_fill_info()
2674 struct ndmsg *ndm; in neigh_valid_dump_req()
2693 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req()
2697 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req()
2737 /* check for full ndmsg structure presence, family member is in neigh_dump_info()
2740 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2741 ((struct ndmsg *)nlmsg_dat in neigh_dump_info()
[all...]
H A Drtnetlink.c3904 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
3935 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
3968 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
4028 struct ndmsg *ndm; in rtnl_fdb_add()
4108 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
4136 struct ndmsg *ndm; in rtnl_fdb_del()
4281 struct ndmsg *ndm; in valid_fdb_dump_strict()
4296 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict()
4338 * Before Linux v4.12 this code accepted ndmsg since iproute2 v3.3.0. in valid_fdb_dump_legacy()
4339 * However, ndmsg i in valid_fdb_dump_legacy()
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
/kernel/linux/linux-6.6/net/bridge/
H 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()
/kernel/linux/linux-5.10/samples/bpf/
H A 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-6.6/include/trace/events/
H A Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
/kernel/linux/linux-6.6/net/core/
H A Dneighbour.c1898 struct ndmsg *ndm; in neigh_delete()
1965 struct ndmsg *ndm; in neigh_add()
2569 struct ndmsg *ndm; in neigh_fill_info()
2630 struct ndmsg *ndm; in pneigh_fill_info()
2805 struct ndmsg *ndm; in neigh_valid_dump_req()
2824 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req()
2828 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req()
2868 /* check for full ndmsg structure presence, family member is in neigh_dump_info()
2871 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2872 ((struct ndmsg *)nlmsg_dat in neigh_dump_info()
[all...]
H A Drtnetlink.c4101 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
4132 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
4165 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
4230 struct ndmsg *ndm; in rtnl_fdb_add()
4310 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
4347 struct ndmsg *ndm; in rtnl_fdb_del()
4513 struct ndmsg *ndm; in valid_fdb_dump_strict()
4528 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict()
4570 * Before Linux v4.12 this code accepted ndmsg since iproute2 v3.3.0. in valid_fdb_dump_legacy()
4571 * However, ndmsg i in valid_fdb_dump_legacy()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
H A 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()
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
H A 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()

Completed in 48 milliseconds

12