Home
last modified time | relevance | path

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

/Linux-v5.4/include/uapi/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/Linux-v5.4/tools/include/uapi/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/Linux-v5.4/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.4/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.4/tools/testing/vsock/
Dvsock_diag_test.c291 while (NLMSG_OK(h, ret)) { in read_vsock_stat()
/Linux-v5.4/tools/lib/bpf/
Dnetlink.c94 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); in bpf_netlink_recv()