Home
last modified time | relevance | path

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

/Linux-v6.6/tools/accounting/
Dprocacct.c189 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id()
359 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
Dgetdelays.c182 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id()
476 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
/Linux-v6.6/Documentation/userspace-api/netlink/
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
329 __u16 nlmsg_type: NLMSG_ERROR
357 in ``NLMSG_ERROR`` and ``NLMSG_DONE`` messages. To maintain backward
439 user) and does not involve any control messages like ``NLMSG_ERROR`` or
/Linux-v6.6/tools/testing/selftests/netfilter/
Daudit_logread.c42 rep->nlh.nlmsg_type == NLMSG_ERROR) /* short-cut for now */ in audit_recv()
/Linux-v6.6/tools/include/uapi/linux/
Dnetlink.h103 #define NLMSG_ERROR 0x2 /* Error */ macro
/Linux-v6.6/include/uapi/linux/
Dnetlink.h113 #define NLMSG_ERROR 0x2 /* Error */ macro
/Linux-v6.6/samples/connector/
Ducon.c217 case NLMSG_ERROR: in main()
/Linux-v6.6/tools/testing/selftests/net/
Dipsec.c295 } else if (answer.hdr.nlmsg_type != NLMSG_ERROR) { in netlink_check_answer()
1050 if (answer.nh.nlmsg_type == NLMSG_ERROR) { in xfrm_state_check()
1316 } else if (answer.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_state_allocspi()
1405 } else if (req.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_monitor_acquire()
1479 } else if (req.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_expire_state()
1557 } else if (req.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_expire_policy()
1632 } else if (req.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_spdinfo_set_thresh()
1706 } else if (req.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_spdinfo_attrs()
/Linux-v6.6/tools/testing/selftests/nci/
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-v6.6/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c139 if (nh->nlmsg_type == NLMSG_ERROR) in capture_events()
140 error(1, NLMSG_ERROR, "received invalid NL message"); in capture_events()
237 if (nh->nlmsg_type == NLMSG_ERROR && nl_error(nh)) in do_nl_req()
1057 if (nh->nlmsg_type == NLMSG_ERROR) in print_addrs()
1164 if (nh->nlmsg_type == NLMSG_ERROR) in print_limits()
/Linux-v6.6/tools/testing/selftests/connector/
Dproc_filter.c140 if (hdr->nlmsg_type == NLMSG_ERROR) { in handle_packet()
/Linux-v6.6/tools/testing/vsock/
Dvsock_diag_test.c285 if (h->nlmsg_type == NLMSG_ERROR) { in read_vsock_stat()
/Linux-v6.6/tools/net/ynl/lib/
Dynl.py31 NLMSG_ERROR = 2 variable in Netlink
199 if self.nl_type == Netlink.NLMSG_ERROR:
Dynl.c300 [NLMSG_ERROR] = ynl_cb_error,
/Linux-v6.6/net/ncsi/
Dncsi-netlink.c581 NLMSG_ERROR, sizeof(*nle), 0); in ncsi_send_netlink_err()
/Linux-v6.6/tools/testing/selftests/bpf/
Dxsk.c370 case NLMSG_ERROR: in netlink_recv()
/Linux-v6.6/tools/bpf/bpftool/
Dnet.c180 case NLMSG_ERROR: in netlink_recv()
/Linux-v6.6/tools/lib/bpf/
Dnetlink.c187 case NLMSG_ERROR: in libbpf_netlink_recv()
/Linux-v6.6/net/ipv6/
Dip6mr.c783 nlh->nlmsg_type = NLMSG_ERROR; in ip6mr_destroy_unres()
1025 nlh->nlmsg_type = NLMSG_ERROR; in ip6mr_cache_resolve()
/Linux-v6.6/net/ipv4/
Dipmr.c732 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_destroy_unres()
997 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_cache_resolve()
/Linux-v6.6/net/netfilter/ipset/
Dip_set_core.c1738 nlh->nlmsg_seq, NLMSG_ERROR, payload, 0); in call_ad()
/Linux-v6.6/net/netlink/
Daf_netlink.c2487 NLMSG_ERROR, sizeof(*errmsg), flags); in netlink_ack()