/linux-6.12.1/tools/accounting/ |
D | procacct.c | 189 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id() 359 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
|
D | getdelays.c | 182 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id() 476 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
|
/linux-6.12.1/Documentation/userspace-api/netlink/ |
D | intro.rst | 184 - ``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-6.12.1/tools/testing/selftests/net/netfilter/ |
D | audit_logread.c | 42 rep->nlh.nlmsg_type == NLMSG_ERROR) /* short-cut for now */ in audit_recv()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | netlink.h | 103 #define NLMSG_ERROR 0x2 /* Error */ macro
|
/linux-6.12.1/include/uapi/linux/ |
D | netlink.h | 113 #define NLMSG_ERROR 0x2 /* Error */ macro
|
/linux-6.12.1/samples/connector/ |
D | ucon.c | 217 case NLMSG_ERROR: in main()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | ipsec.c | 295 } 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-6.12.1/tools/testing/selftests/nci/ |
D | nci_dev.c | 196 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-6.12.1/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 133 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-6.12.1/tools/testing/selftests/connector/ |
D | proc_filter.c | 140 if (hdr->nlmsg_type == NLMSG_ERROR) { in handle_packet()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | netlink_helpers.c | 215 if (h->nlmsg_type == NLMSG_ERROR) { in __rtnl_talk_iov()
|
D | xsk.c | 373 case NLMSG_ERROR: in netlink_recv()
|
/linux-6.12.1/tools/testing/vsock/ |
D | vsock_diag_test.c | 287 if (h->nlmsg_type == NLMSG_ERROR) { in read_vsock_stat()
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/ |
D | netlink.c | 45 } else if (answer.hdr.nlmsg_type != NLMSG_ERROR) { in netlink_check_answer()
|
/linux-6.12.1/tools/net/ynl/lib/ |
D | ynl.py | 33 NLMSG_ERROR = 2 variable in Netlink 201 if self.nl_type == Netlink.NLMSG_ERROR:
|
D | ynl.c | 525 case NLMSG_ERROR: in __ynl_sock_read_msgs()
|
/linux-6.12.1/net/ncsi/ |
D | ncsi-netlink.c | 581 NLMSG_ERROR, sizeof(*nle), 0); in ncsi_send_netlink_err()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | net.c | 186 case NLMSG_ERROR: in netlink_recv()
|
/linux-6.12.1/tools/lib/bpf/ |
D | netlink.c | 187 case NLMSG_ERROR: in libbpf_netlink_recv()
|
/linux-6.12.1/net/ipv6/ |
D | ip6mr.c | 783 nlh->nlmsg_type = NLMSG_ERROR; in ip6mr_destroy_unres() 1025 nlh->nlmsg_type = NLMSG_ERROR; in ip6mr_cache_resolve()
|
/linux-6.12.1/net/ipv4/ |
D | ipmr.c | 733 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_destroy_unres() 998 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_cache_resolve()
|
/linux-6.12.1/net/netfilter/ipset/ |
D | ip_set_core.c | 1772 nlh->nlmsg_seq, NLMSG_ERROR, payload, 0); in call_ad()
|
/linux-6.12.1/net/netlink/ |
D | af_netlink.c | 2478 NLMSG_ERROR, sizeof(*errmsg), flags); in netlink_ack()
|