Searched refs:NLMSG_OK (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.10/tools/include/uapi/linux/ |
| D | netlink.h | 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
|
| /Linux-v5.10/tools/testing/selftests/net/mptcp/ |
| D | pm_nl_ctl.c | 107 for (; NLMSG_OK(nh, rem); nh = NLMSG_NEXT(nh, rem)) { in do_nl_req() 402 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_addrs() 509 for (; NLMSG_OK(nh, total_len); nh = NLMSG_NEXT(nh, total_len)) { in print_limits()
|
| /Linux-v5.10/include/uapi/linux/ |
| D | netlink.h | 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
|
| /Linux-v5.10/tools/accounting/ |
| D | getdelays.c | 184 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 461 !NLMSG_OK((&msg.n), rep_len)) { in main()
|
| /Linux-v5.10/samples/bpf/ |
| D | xdp_router_ipv4_user.c | 159 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.10/tools/lib/bpf/ |
| D | netlink.c | 97 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); in bpf_netlink_recv()
|
| /Linux-v5.10/tools/testing/vsock/ |
| D | vsock_diag_test.c | 281 while (NLMSG_OK(h, ret)) { in read_vsock_stat()
|
| /Linux-v5.10/tools/bpf/bpftool/ |
| D | net.c | 161 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); in netlink_recv()
|