Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/
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()
Dxsk.c337 struct nlmsgerr *err; in netlink_recv()
374 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
/linux-6.12.1/tools/lib/bpf/
Dnlattr.c165 struct nlmsgerr *err; in libbpf_nla_dump_errormsg()
173 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in libbpf_nla_dump_errormsg()
Dnetlink.c142 struct nlmsgerr *err; in libbpf_netlink_recv()
188 err = (struct nlmsgerr *)NLMSG_DATA(nh); in libbpf_netlink_recv()
/linux-6.12.1/tools/include/uapi/linux/
Dnetlink.h109 struct nlmsgerr { struct
/linux-6.12.1/include/uapi/linux/
Dnetlink.h119 struct nlmsgerr { struct
/linux-6.12.1/tools/lib/thermal/
Dthermal_nl.c24 static int nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *nl_err, in nl_error_handler()
/linux-6.12.1/tools/power/x86/intel-speed-select/
Dhfi-events.c70 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, in error_handler()
/linux-6.12.1/tools/testing/selftests/net/mptcp/
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-6.12.1/net/ncsi/
Dncsi-netlink.c570 struct nlmsgerr *nle; in ncsi_send_netlink_err()
582 nle = (struct nlmsgerr *)nlmsg_data(nlh); in ncsi_send_netlink_err()
/linux-6.12.1/tools/accounting/
Dprocacct.c361 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
Dgetdelays.c478 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
/linux-6.12.1/tools/bpf/bpftool/
Dnet.c157 struct nlmsgerr *err; in netlink_recv()
187 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
/linux-6.12.1/tools/testing/vsock/
Dvsock_diag_test.c288 const struct nlmsgerr *err = NLMSG_DATA(h); in read_vsock_stat()
/linux-6.12.1/net/ipv6/
Dip6mr.c784 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_destroy_unres()
786 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -ETIMEDOUT; in ip6mr_destroy_unres()
1026 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_cache_resolve()
1028 ((struct nlmsgerr *)nlmsg_data(nlh))->error = -EMSGSIZE; in ip6mr_cache_resolve()
/linux-6.12.1/net/ipv4/
Dipmr.c725 struct nlmsgerr *e; in ipmr_destroy_unres()
734 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()
985 struct nlmsgerr *e; in ipmr_cache_resolve()
999 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()
/linux-6.12.1/tools/net/ynl/lib/
Dynl.c262 const struct nlmsgerr *err = ynl_nlmsg_data(nlh); in ynl_cb_error()
/linux-6.12.1/Documentation/userspace-api/netlink/
Dintro.rst194 The format of ``NLMSG_ERROR`` is described by struct nlmsgerr::
/linux-6.12.1/net/netfilter/ipset/
Dip_set_core.c1760 struct nlmsgerr *errmsg; in call_ad()
/linux-6.12.1/net/netlink/
Daf_netlink.c2454 struct nlmsgerr *errmsg; in netlink_ack()