Home
last modified time | relevance | path

Searched refs:nlmsgerr (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c141 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 Dxsk.c337 struct nlmsgerr *err; in netlink_recv()
374 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
/linux/tools/lib/bpf/
H A Dnlattr.c164 struct nlmsgerr *err; in libbpf_nla_dump_errormsg()
172 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in libbpf_nla_dump_errormsg()
H A Dnetlink.c142 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 Dnetlink.h109 struct nlmsgerr { struct
124 * enum nlmsgerr_attrs - nlmsgerr attributes argument
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_diag.c328 struct nlmsgerr *err; in recv_nlmsg()
330 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in recv_nlmsg()
H A Dpm_nl_ctl.c65 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 Dnetlink.h119 struct nlmsgerr { struct
134 * enum nlmsgerr_attrs - nlmsgerr attributes argument
/linux/tools/lib/thermal/
H A Dthermal_nl.c24 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 Dhfi-events.c70 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, in error_handler()
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c250 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 Dprocacct.c360 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
H A Dgetdelays.c528 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
/linux/net/ncsi/
H A Dncsi-netlink.c570 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 Daudit.h45 struct nlmsgerr err;
/linux/tools/testing/vsock/
H A Dvsock_diag_test.c288 const struct nlmsgerr *err = NLMSG_DATA(h); in read_vsock_stat()
/linux/net/ipv6/
H A Dip6mr.c802 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 Dipmr.c741 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 Dynl.c328 const struct nlmsgerr *err = ynl_nlmsg_data(nlh); in ynl_cb_error()
/linux/Documentation/userspace-api/netlink/
H A Dintro.rst194 The format of ``NLMSG_ERROR`` is described by struct nlmsgerr::
/linux/net/netfilter/ipset/
H A Dip_set_core.c1765 struct nlmsgerr *errmsg; in call_ad()