Home
last modified time | relevance | path

Searched refs:NLMSG_OK (Results 1 – 14 of 14) sorted by relevance

/tools/testing/selftests/net/af_unix/
A Ddiag_uid.c158 ASSERT_NE(NLMSG_OK(nlh, ret), 0); in receive_response()
164 ASSERT_EQ(NLMSG_OK(nlh, ret), 0); in receive_response()
/tools/include/uapi/linux/
A Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/tools/accounting/
A Dprocacct.c190 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id()
359 !NLMSG_OK((&msg.n), rep_len)) { in main()
A Dgetdelays.c183 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id()
527 !NLMSG_OK((&msg.n), rep_len)) { in main()
A Ddelaytop.c349 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) { in get_family_id()
/tools/testing/selftests/net/
A Dnetlink-dumps.c43 if (!NLMSG_OK(nlh, rem)) in nl_get_extack()
/tools/testing/selftests/nci/
A Dnci_dev.c197 !NLMSG_OK(&ans.n, resp_len)) in get_family_id()
268 !NLMSG_OK(&msg->n, resp_len)) { in get_nci_devid()
665 !NLMSG_OK(&ans.n, resp_len)) in get_taginfo()
/tools/testing/vsock/
A Dvsock_diag_test.c283 while (NLMSG_OK(h, ret)) { in read_vsock_stat()
/tools/testing/selftests/net/mptcp/
A Dpm_nl_ctl.c132 for (; NLMSG_OK(nh, res_len); nh = NLMSG_NEXT(nh, res_len)) { in capture_events()
227 for (; NLMSG_OK(nh, rem); nh = NLMSG_NEXT(nh, rem)) { in do_nl_req()
1054 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_addrs()
1190 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_limits()
A Dmptcp_diag.c323 while (NLMSG_OK(nlh, len)) { in recv_nlmsg()
/tools/testing/selftests/bpf/
A Dxsk.c368 for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); in netlink_recv()
/tools/bpf/bpftool/
A Dnet.c173 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, (unsigned int)len); in netlink_recv()
/tools/lib/bpf/
A Dnetlink.c174 for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); in libbpf_netlink_recv()
/tools/net/ynl/lib/
A Dynl.c578 if (!NLMSG_OK(nlh, rem)) { in __ynl_sock_read_msgs()

Completed in 29 milliseconds