Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/landlock/
H A Daudit.h113 if (msg->header.nlmsg_type == NLMSG_ERROR) in audit_request()
143 } while (reply->header.nlmsg_type != NLMSG_ERROR && in audit_filter_exe()
/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/net/
H A Dipsec.c297 } else if (answer.hdr.nlmsg_type != NLMSG_ERROR) { in netlink_check_answer()
298 printk("expected NLMSG_ERROR, got %d", (int)answer.hdr.nlmsg_type); in netlink_check_answer()
301 printk("NLMSG_ERROR: %d: %s", in netlink_check_answer()
1055 if (answer.nh.nlmsg_type == NLMSG_ERROR) { in xfrm_state_check()
1056 printk("NLMSG_ERROR: %d: %s", in xfrm_state_check()
1321 } else if (answer.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_state_allocspi()
1322 printk("expected NLMSG_ERROR, got %d", (int)answer.nh.nlmsg_type); in xfrm_state_allocspi()
1326 printk("NLMSG_ERROR: %d: %s", answer.error, strerror(-answer.error)); in netlink_sock_bind()
1410 } else if (req.nh.nlmsg_type != NLMSG_ERROR) { in xfrm_monitor_acquire()
1411 printk("expected NLMSG_ERROR, go in xfrm_monitor_acquire()
[all...]
H A Dnetlink-dumps.c55 if (nlh->nlmsg_type == NLMSG_ERROR) in nl_get_extack()
/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/accounting/
H A Dgetdelays.c209 if (ans.n.nlmsg_type == NLMSG_ERROR || in format_timespec()
668 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
H A Ddelaytop.c487 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id()
679 if (rc < 0 || resp.n.nlmsg_type == NLMSG_ERROR) { in fetch_and_fill_task_info()
838 if (rc < 0 || resp.n.nlmsg_type == NLMSG_ERROR) { in get_container_stats()
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c138 if (nh->nlmsg_type == NLMSG_ERROR) in capture_events()
139 error(1, NLMSG_ERROR, "received invalid NL message"); in capture_events()
245 if (nh->nlmsg_type == NLMSG_ERROR && nl_error(nh)) in do_nl_req()
1091 if (nh->nlmsg_type == NLMSG_ERROR) in print_addrs()
1227 if (nh->nlmsg_type == NLMSG_ERROR) in print_limits()
H A Dmptcp_diag.c331 } else if (nlh->nlmsg_type == NLMSG_ERROR) { in recv_nlmsg()
/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.c585 NLMSG_ERROR, sizeof(*nle), 0); in ncsi_send_netlink_err()
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py51 NLMSG_ERROR = 2 variable in Netlink
348 if self.nl_type == Netlink.NLMSG_ERROR:
/linux/tools/bpf/bpftool/
H A Dnet.c186 case NLMSG_ERROR: in netlink_recv()
/linux/tools/net/ynl/lib/
H A Dynl.c600 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/ipv4/
H A Dipmr.c771 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_destroy_unres()
1036 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_cache_resolve()
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c1306 if (h->nlmsg_type == NLMSG_ERROR) { in ovpn_rt_send()
/linux/net/netfilter/ipset/
H A Dip_set_core.c1797 nlh->nlmsg_seq, NLMSG_ERROR, payload, 0); in call_ad()

12