Home
last modified time | relevance | path

Searched refs:NLMSG_ERROR (Results 1 – 22 of 22) sorted by relevance

/linux/Documentation/userspace-api/netlink/
H A Dintro.rst184 - ``NLMSG_ERROR`` - carries the return code of an operation;
188 ``NLMSG_ERROR`` and ``NLMSG_DONE`` are of practical importance.
191 with ``NLMSG_ERROR`` if there is no error. To avoid having to special-case
194 The format of ``NLMSG_ERROR`` is described by struct nlmsgerr::
209 and second of the request. ``NLMSG_ERROR`` carries the information about
221 The second optional element of ``NLMSG_ERROR`` are the extended ACK
333 __u16 nlmsg_type: NLMSG_ERROR
361 in ``NLMSG_ERROR`` and ``NLMSG_DONE`` messages. To maintain backward
443 user) and does not involve any control messages like ``NLMSG_ERROR`` or
/linux/tools/accounting/
H A Dprocacct.c189 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id()
358 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
H A Dgetdelays.c182 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id()
493 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
/linux/tools/testing/selftests/net/netfilter/
H A Daudit_logread.c42 rep->nlh.nlmsg_type == NLMSG_ERROR) /* short-cut for now */ in audit_recv()
/linux/tools/include/uapi/linux/
H A Dnetlink.h103 #define NLMSG_ERROR 0x2 /* Error */ macro
/linux/include/uapi/linux/
H A Dnetlink.h113 #define NLMSG_ERROR 0x2 /* Error */ macro
/linux/samples/connector/
H A Ducon.c217 case NLMSG_ERROR: in main()
/linux/tools/testing/selftests/nci/
H A Dnci_dev.c196 if (ans.n.nlmsg_type == NLMSG_ERROR || resp_len < 0 || in get_family_id()
267 if (msg->n.nlmsg_type == NLMSG_ERROR || in get_nci_devid()
664 if (ans.n.nlmsg_type == NLMSG_ERROR || resp_len < 0 || in get_taginfo()
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c133 if (nh->nlmsg_type == NLMSG_ERROR) in capture_events()
134 error(1, NLMSG_ERROR, "received invalid NL message"); in capture_events()
231 if (nh->nlmsg_type == NLMSG_ERROR && nl_error(nh)) in do_nl_req()
1059 if (nh->nlmsg_type == NLMSG_ERROR) in print_addrs()
1195 if (nh->nlmsg_type == NLMSG_ERROR) in print_limits()
/linux/tools/testing/selftests/connector/
H A Dproc_filter.c140 if (hdr->nlmsg_type == NLMSG_ERROR) { in handle_packet()
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c215 if (h->nlmsg_type == NLMSG_ERROR) { in __rtnl_talk_iov()
H A Dxsk.c373 case NLMSG_ERROR: in netlink_recv()
/linux/tools/testing/vsock/
H A Dvsock_diag_test.c287 if (h->nlmsg_type == NLMSG_ERROR) { in read_vsock_stat()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c45 } else if (answer.hdr.nlmsg_type != NLMSG_ERROR) { in netlink_check_answer()
/linux/net/ncsi/
H A Dncsi-netlink.c581 NLMSG_ERROR, sizeof(*nle), 0); in ncsi_send_netlink_err()
/linux/tools/bpf/bpftool/
H A Dnet.c186 case NLMSG_ERROR: in netlink_recv()
/linux/tools/net/ynl/lib/
H A Dynl.c525 case NLMSG_ERROR: in __ynl_sock_read_msgs()
/linux/tools/lib/bpf/
H A Dnetlink.c187 case NLMSG_ERROR: in libbpf_netlink_recv()
/linux/net/ipv6/
H A Dip6mr.c811 nlh->nlmsg_type = NLMSG_ERROR; in ip6mr_destroy_unres()
1053 nlh->nlmsg_type = NLMSG_ERROR; in ip6mr_cache_resolve()
/linux/net/ipv4/
H A Dipmr.c759 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_destroy_unres()
1024 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_cache_resolve()
/linux/net/netfilter/ipset/
H A Dip_set_core.c1777 nlh->nlmsg_seq, NLMSG_ERROR, payload, 0); in call_ad()
/linux/net/netlink/
H A Daf_netlink.c2475 NLMSG_ERROR, sizeof(*errmsg), flags); in netlink_ack()