Home
last modified time | relevance | path

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

/linux/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_payload(cb->nlh, sizeof(*ndmsg)); in mctp_rtm_getneigh()
254 if (!ndmsg) in mctp_rtm_getneigh()
257 req_ifindex = ndmsg->ndm_ifindex; in mctp_rtm_getneigh()
/linux/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.h1568 int (*ndo_fdb_add)(struct ndmsg *ndm,
1576 int (*ndo_fdb_del)(struct ndmsg *ndm,
/linux/tools/testing/selftests/net/
H A Dnetlink-dumps.c92 struct ndmsg ndm;
167 sizeof(struct nlmsghdr) + sizeof(struct ndmsg)); in TEST()
/linux/include/uapi/linux/
H A Dneighbour.h8 struct ndmsg { struct
/linux/tools/include/uapi/linux/
H A Dneighbour.h8 struct ndmsg { struct
/linux/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()
788 struct ndmsg *ndm = nlmsg_data(nlh); in br_fdb_delete_bulk()
1163 const u8 *addr, struct ndmsg *ndm, u16 flags, u16 vid, in fdb_add_entry()
1259 static int __br_fdb_add(struct ndmsg *ndm, struct net_bridge *br, in __br_fdb_add()
1304 int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_add()
1425 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[], in br_fdb_delete()
H A Dbr_private.h863 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
868 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
/linux/net/ipv6/
H A Dndisc.c1188 struct nduseroptmsg *ndmsg; in ndisc_ra_useropt() local
1206 ndmsg = nlmsg_data(nlh); in ndisc_ra_useropt()
1207 ndmsg->nduseropt_family = AF_INET6; in ndisc_ra_useropt()
1208 ndmsg->nduseropt_ifindex = ra->dev->ifindex; in ndisc_ra_useropt()
1209 ndmsg->nduseropt_icmp_type = icmp6h->icmp6_type; in ndisc_ra_useropt()
1210 ndmsg->nduseropt_icmp_code = icmp6h->icmp6_code; in ndisc_ra_useropt()
1211 ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; in ndisc_ra_useropt()
1213 memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); in ndisc_ra_useropt()
/linux/net/core/
H A Dneighbour.c1931 struct ndmsg *ndm; in neigh_delete()
1998 struct ndmsg *ndm; in neigh_add()
2632 struct ndmsg *ndm; in neigh_fill_info()
2693 struct ndmsg *ndm; in pneigh_fill_info()
2860 struct ndmsg *ndm; in neigh_valid_dump_req()
2879 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), in neigh_valid_dump_req()
2883 err = nlmsg_parse_deprecated(nlh, sizeof(struct ndmsg), tb, in neigh_valid_dump_req()
2923 /* check for full ndmsg structure presence, family member is in neigh_dump_info()
2926 if (nlmsg_len(nlh) >= sizeof(struct ndmsg) && in neigh_dump_info()
2927 ((struct ndmsg *)nlmsg_dat in neigh_dump_info()
[all...]
H A Drtnetlink.c4476 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
4507 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
4540 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
4605 struct ndmsg *ndm; in rtnl_fdb_add()
4688 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
4718 struct ndmsg *ndm; in rtnl_fdb_del()
4887 struct ndmsg *ndm; in valid_fdb_dump_strict()
4902 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict()
4950 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy()
4951 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy()
[all …]
/linux/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/include/trace/events/
H A Dbridge.h14 TP_PROTO(struct ndmsg *ndm, struct net_device *dev,
/linux/drivers/net/
H A Dmacvlan.c1031 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add()
1057 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
/linux/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/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c788 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl()
/linux/net/dsa/
H A Duser.c522 struct ndmsg *ndm; in dsa_user_port_fdb_do_dump()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c6154 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add()
6195 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c10578 static int ixgbe_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in ixgbe_ndo_fdb_add()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13020 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()