Home
last modified time | relevance | path

Searched refs:ndmsg (Results 1 – 19 of 19) 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()
249 struct ndmsg *ndmsg; in mctp_rtm_getneigh() local
254 ndmsg = nlmsg_payload(cb->nlh, sizeof(*ndmsg)); in mctp_rtm_getneigh()
255 if (!ndmsg) in mctp_rtm_getneigh()
258 req_ifindex = ndmsg->ndm_ifindex; in mctp_rtm_getneigh()
/linux/tools/testing/selftests/net/
H A Dnetlink-dumps.c92 struct ndmsg ndm;
167 sizeof(struct nlmsghdr) + sizeof(struct ndmsg)); in TEST()
/linux/include/linux/
H A Drtnetlink.h207 extern int ndo_dflt_fdb_add(struct ndmsg *ndm,
213 extern int ndo_dflt_fdb_del(struct ndmsg *ndm,
H A Dnetdevice.h1605 int (*ndo_fdb_add)(struct ndmsg *ndm,
1613 int (*ndo_fdb_del)(struct ndmsg *ndm,
/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()
1212 ndmsg->nduseropt_pad1 = 0; in ndisc_ra_useropt()
1213 ndmsg->nduseropt_pad2 = 0; in ndisc_ra_useropt()
1214 ndmsg->nduseropt_pad3 = 0; in ndisc_ra_useropt()
[all …]
/linux/include/uapi/linux/
H A Dneighbour.h8 struct ndmsg { struct
/linux/tools/include/uapi/linux/
H A Dneighbour.h8 struct ndmsg { struct
/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/net/core/
H A Drtnetlink.c4649 struct ndmsg *ndm; in nlmsg_populate_fdb_fill()
4680 return NLMSG_ALIGN(sizeof(struct ndmsg)) + in rtnl_fdb_nlmsg_size()
4713 int ndo_dflt_fdb_add(struct ndmsg *ndm, in ndo_dflt_fdb_add()
4778 struct ndmsg *ndm; in rtnl_fdb_add()
4861 int ndo_dflt_fdb_del(struct ndmsg *ndm, in ndo_dflt_fdb_del()
4891 struct ndmsg *ndm; in rtnl_fdb_del()
5060 struct ndmsg *ndm; in valid_fdb_dump_strict()
5075 err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct ndmsg), tb, in valid_fdb_dump_strict()
5123 if (nlmsg_len(nlh) != sizeof(struct ndmsg) && in valid_fdb_dump_legacy()
5124 (nlmsg_len(nlh) != sizeof(struct ndmsg) + in valid_fdb_dump_legacy()
[all …]
/linux/drivers/net/
H A Dmacvlan.c1045 static int macvlan_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_add()
1071 static int macvlan_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], in macvlan_fdb_del()
/linux/net/bridge/
H A Dbr_private.h871 int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
876 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
/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/net/dsa/
H A Duser.c523 struct ndmsg *ndm; in dsa_user_port_fdb_do_dump()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c962 struct ndmsg *ndm; in dpaa2_switch_fdb_dump_nl()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c6106 ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], in ice_fdb_add()
6147 ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], in ice_fdb_del()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c2519 static int igb_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in igb_ndo_fdb_add()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c10607 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.c13028 static int i40e_ndo_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], in i40e_ndo_fdb_add()