/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 141 static void rtnl_talk_error(struct nlmsghdr *h, struct nlmsgerr *err, in rtnl_talk_error() 216 struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(h); in __rtnl_talk_iov() 219 if (l < sizeof(struct nlmsgerr)) { in __rtnl_talk_iov()
|
H A D | xsk.c | 337 struct nlmsgerr *err; in netlink_recv() 374 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
|
/linux/tools/lib/bpf/ |
H A D | nlattr.c | 164 struct nlmsgerr *err; in libbpf_nla_dump_errormsg() 172 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in libbpf_nla_dump_errormsg()
|
H A D | netlink.c | 142 struct nlmsgerr *err; in libbpf_netlink_recv() 188 err = (struct nlmsgerr *)NLMSG_DATA(nh); in libbpf_netlink_recv()
|
/linux/tools/include/uapi/linux/ |
H A D | netlink.h | 109 struct nlmsgerr { struct 124 * enum nlmsgerr_attrs - nlmsgerr attributes argument
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_diag.c | 328 struct nlmsgerr *err; in recv_nlmsg() 330 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in recv_nlmsg()
|
H A D | pm_nl_ctl.c | 65 struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(nh); in nl_error() 69 if (len < sizeof(struct nlmsgerr)) { in nl_error() 71 sizeof(struct nlmsgerr)); in nl_error()
|
/linux/include/uapi/linux/ |
H A D | netlink.h | 119 struct nlmsgerr { struct 134 * enum nlmsgerr_attrs - nlmsgerr attributes argument
|
/linux/tools/lib/thermal/ |
H A D | thermal_nl.c | 24 static int nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *nl_err, in nl_error_handler()
|
/linux/tools/power/x86/intel-speed-select/ |
H A D | hfi-events.c | 70 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, in error_handler()
|
/linux/tools/testing/selftests/net/ovpn/ |
H A D | ovpn-cli.c | 250 struct nlmsgerr *err, void *arg) in ovpn_nl_cb_error() 1180 struct nlmsgerr *err; in ovpn_rt_send() 1287 err = (struct nlmsgerr *)NLMSG_DATA(h); in ovpn_rt_send() 1288 if (rem_len < (int)sizeof(struct nlmsgerr)) { in ovpn_rt_send() 1462 struct nlmsgerr *err, void *arg) in mcast_error_handler()
|
/linux/tools/accounting/ |
H A D | procacct.c | 360 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
|
H A D | getdelays.c | 528 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
|
/linux/net/ncsi/ |
H A D | ncsi-netlink.c | 570 struct nlmsgerr *nle; in ncsi_send_netlink_err() 582 nle = (struct nlmsgerr *)nlmsg_data(nlh); in ncsi_send_netlink_err()
|
/linux/tools/testing/selftests/landlock/ |
H A D | audit.h | 45 struct nlmsgerr err;
|
/linux/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 288 const struct nlmsgerr *err = NLMSG_DATA(h); in read_vsock_stat()
|
/linux/net/ipv6/ |
H A D | ip6mr.c | 802 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_destroy_unres() 804 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -ETIMEDOUT; in ip6mr_destroy_unres() 1044 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_cache_resolve() 1046 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -EMSGSIZE; in ip6mr_cache_resolve()
|
/linux/net/ipv4/ |
H A D | ipmr.c | 741 struct nlmsgerr *e; in ipmr_destroy_unres() 750 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_destroy_unres() 1001 struct nlmsgerr *e; in ipmr_cache_resolve() 1015 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()
|
/linux/tools/net/ynl/lib/ |
H A D | ynl.c | 328 const struct nlmsgerr *err = ynl_nlmsg_data(nlh); in ynl_cb_error()
|
/linux/Documentation/userspace-api/netlink/ |
H A D | intro.rst | 194 The format of ``NLMSG_ERROR`` is described by struct nlmsgerr::
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_core.c | 1765 struct nlmsgerr *errmsg; in call_ad()
|