Home
last modified time | relevance | path

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

/third_party/musl/src/network/
Dnetlink.c33 for (h = &u.reply; NLMSG_OK(h, (void*)&u.buf[r]); h = NLMSG_NEXT(h)) { in __netlink_enumerate()
Dnetlink.h83 #define NLMSG_OK(nlh,end) ((char*)(end)-(char*)(nlh) >= sizeof(struct nlmsghdr)) macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dpriv_netlink.h57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ macro
Dnetlink.c58 while (NLMSG_OK(h, left)) { in netlink_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dpriv_netlink.h57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ macro
Dnetlink.c58 while (NLMSG_OK(h, left)) { in netlink_receive()
/third_party/ltp/lib/
Dtst_crypto.c45 NLMSG_OK(nh, len); in tst_crypto_recv_ack()
Dtst_rtnetlink.c215 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/ltp/testcases/lib/
Dtst_net_iface_prefix.c70 while NLMSG_OK(retmsg, len) { in read_iface_prefix()
/third_party/libnl/include/linux-private/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c184 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id()
423 !NLMSG_OK((&msg.n), rep_len)) { in main()
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user01.c138 for (nh = buf; NLMSG_OK(nh, remaining); in validate_alg_list()
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c105 for ( ; NLMSG_OK(h, n); h = NLMSG_NEXT(h, n)) { in rops_handle_POLLIN_netlink()
/third_party/glib/gio/
Dgnetworkmonitornetlink.c348 if (!NLMSG_OK (msg, (size_t) len)) in read_netlink_messages()
/third_party/toybox/toys/pending/
Dip.c1259 for (; NLMSG_OK(addr_ptr, length); addr_ptr = NLMSG_NEXT(addr_ptr, length)) { in ipaddrupdate()
1404 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print()
1448 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()
2805 for (mhdr = (struct nlmsghdr*)TT.gbuf; NLMSG_OK(mhdr, msglen); in filter_nlmesg()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_full.c717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_full.c717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c223 for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);