Searched refs:NLMSG_OK (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/tools/testing/selftests/net/af_unix/ |
D | diag_uid.c | 158 ASSERT_NE(NLMSG_OK(nlh, ret), 0); in receive_response() 164 ASSERT_EQ(NLMSG_OK(nlh, ret), 0); in receive_response()
|
/linux-6.6.21/tools/accounting/ |
D | procacct.c | 190 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 360 !NLMSG_OK((&msg.n), rep_len)) { in main()
|
D | getdelays.c | 183 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 477 !NLMSG_OK((&msg.n), rep_len)) { in main()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | netlink.h | 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
|
/linux-6.6.21/include/uapi/linux/ |
D | netlink.h | 107 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
|
/linux-6.6.21/tools/testing/selftests/nci/ |
D | nci_dev.c | 197 !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()
|
/linux-6.6.21/samples/bpf/ |
D | xdp_router_ipv4_user.c | 117 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_route() 333 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_arp()
|
/linux-6.6.21/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 138 for (; NLMSG_OK(nh, res_len); nh = NLMSG_NEXT(nh, res_len)) { in capture_events() 233 for (; NLMSG_OK(nh, rem); nh = NLMSG_NEXT(nh, rem)) { in do_nl_req() 1052 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_addrs() 1159 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_limits()
|
/linux-6.6.21/tools/testing/vsock/ |
D | vsock_diag_test.c | 281 while (NLMSG_OK(h, ret)) { in read_vsock_stat()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xsk.c | 365 for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); in netlink_recv()
|
/linux-6.6.21/tools/bpf/bpftool/ |
D | net.c | 167 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, (unsigned int)len); in netlink_recv()
|
/linux-6.6.21/tools/lib/bpf/ |
D | netlink.c | 174 for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); in libbpf_netlink_recv()
|