Searched refs:NLMSG_OK (Results 1 – 18 of 18) sorted by relevance
/third_party/musl/src/network/ |
D | netlink.c | 33 for (h = &u.reply; NLMSG_OK(h, (void*)&u.buf[r]); h = NLMSG_NEXT(h)) { in __netlink_enumerate()
|
D | netlink.h | 83 #define NLMSG_OK(nlh,end) ((char*)(end)-(char*)(nlh) >= sizeof(struct nlmsghdr)) macro
|
/third_party/ltp/lib/ |
D | tst_crypto.c | 45 NLMSG_OK(nh, len); in tst_crypto_recv_ack()
|
D | tst_rtnetlink.c | 215 for (; size_left > 0 && NLMSG_OK(ptr, size_left); msgcount++) in tst_rtnl_recv() 368 for (; size_left > 0 && NLMSG_OK(msg, size_left); in tst_rtnl_check_acks()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | priv_netlink.h | 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ macro
|
D | netlink.c | 58 while (NLMSG_OK(h, left)) { in netlink_receive()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | priv_netlink.h | 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ macro
|
D | netlink.c | 58 while (NLMSG_OK(h, left)) { in netlink_receive()
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
D | cgroup_regression_getdelays.c | 184 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id() 423 !NLMSG_OK((&msg.n), rep_len)) { in main()
|
/third_party/libbpf/include/uapi/linux/ |
D | netlink.h | 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
|
/third_party/ltp/testcases/lib/ |
D | tst_net_iface_prefix.c | 70 while NLMSG_OK(retmsg, len) { in read_iface_prefix()
|
/third_party/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 138 for (nh = buf; NLMSG_OK(nh, remaining); in validate_alg_list()
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 105 for ( ; NLMSG_OK(h, n); h = NLMSG_NEXT(h, n)) { in rops_handle_POLLIN_netlink()
|
/third_party/toybox/toys/pending/ |
D | ip.c | 1261 for (; NLMSG_OK(addr_ptr, length); addr_ptr = NLMSG_NEXT(addr_ptr, length)) { in ipaddrupdate() 1406 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print() 1450 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print() 1747 for (mhdr = (struct nlmsghdr*)toybuf; NLMSG_OK(mhdr, msglen); in display_route_info() 2801 for (mhdr = (struct nlmsghdr*)TT.gbuf; NLMSG_OK(mhdr, msglen); in filter_nlmesg()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | vlan_full.c | 717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | vlan_full.c | 717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
|
/third_party/libbpf/src/ |
D | netlink.c | 166 for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); in libbpf_netlink_recv()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 223 for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);
|