Home
last modified time | relevance | path

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

/Linux-v4.19/tools/include/uapi/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/Linux-v4.19/include/uapi/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/Linux-v4.19/tools/accounting/
Dgetdelays.c184 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id()
455 !NLMSG_OK((&msg.n), rep_len)) { in main()
/Linux-v4.19/samples/bpf/
Dxdp_router_ipv4_user.c143 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_route()
381 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_arp()
/Linux-v4.19/tools/testing/vsock/
Dvsock_diag_test.c295 while (NLMSG_OK(h, ret)) { in read_vsock_stat()
/Linux-v4.19/tools/lib/bpf/
Dbpf.c591 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); in bpf_set_link_xdp_fd()