Home
last modified time | relevance | path

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

/Linux-v5.15/tools/include/uapi/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/Linux-v5.15/include/uapi/linux/
Dnetlink.h98 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/Linux-v5.15/tools/accounting/
Dgetdelays.c184 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id()
461 !NLMSG_OK((&msg.n), rep_len)) { in main()
/Linux-v5.15/tools/testing/selftests/nci/
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()
/Linux-v5.15/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c108 for (; NLMSG_OK(nh, rem); nh = NLMSG_NEXT(nh, rem)) { in do_nl_req()
465 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_addrs()
572 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_limits()
/Linux-v5.15/samples/bpf/
Dxdp_router_ipv4_user.c159 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_route()
397 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_arp()
/Linux-v5.15/tools/testing/vsock/
Dvsock_diag_test.c281 while (NLMSG_OK(h, ret)) { in read_vsock_stat()
/Linux-v5.15/tools/bpf/bpftool/
Dnet.c160 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, (unsigned int)len); in netlink_recv()
/Linux-v5.15/tools/lib/bpf/
Dnetlink.c112 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); in libbpf_netlink_recv()