Home
last modified time | relevance | path

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

12

/external/dnsmasq/src/
Dnetlink.c170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in iface_enumerate()
249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in netlink_multicast()
/external/libnl/include/linux-private/linux/
Dnetlink.h83 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/external/strace/tests-mx32/
Dnetlink_netlink_diag.c103 if (!NLMSG_OK(h, ret)) in check_responses()
Dnetlink_unix_diag.c106 if (!NLMSG_OK(h, ret)) in check_responses()
Dnetlink_inet_diag.c102 if (!NLMSG_OK(h, ret)) in check_responses()
/external/strace/tests/
Dnetlink_netlink_diag.c103 if (!NLMSG_OK(h, ret)) in check_responses()
Dnetlink_inet_diag.c102 if (!NLMSG_OK(h, ret)) in check_responses()
Dnetlink_unix_diag.c106 if (!NLMSG_OK(h, ret)) in check_responses()
/external/strace/tests-m32/
Dnetlink_netlink_diag.c103 if (!NLMSG_OK(h, ret)) in check_responses()
Dnetlink_unix_diag.c106 if (!NLMSG_OK(h, ret)) in check_responses()
Dnetlink_inet_diag.c102 if (!NLMSG_OK(h, ret)) in check_responses()
/external/wpa_supplicant_8/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()
/external/libnfnetlink/src/
Dlibnfnetlink.c1140 if (!NLMSG_OK(nlh, len)) in nfnl_get_msg_first()
1179 if (!NLMSG_OK(nlh, remain_len)) { in nfnl_get_msg_next()
1465 while (len >= NLMSG_SPACE(0) && NLMSG_OK(nlh, len)) { in nfnl_process()
1518 if (len < NLMSG_SPACE(0) || !NLMSG_OK(nlh, len)) { in nfnl_iterator_create()
1560 if (it->len < NLMSG_SPACE(0) || !NLMSG_OK(it->nlh, it->len)) { in nfnl_iterator_process()
Drtnl.c167 while (NLMSG_OK(h, status)) { in rtnl_receive()
/external/iproute2/include/linux/
Dnetlink.h88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/external/kernel-headers/original/uapi/linux/
Dnetlink.h88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/external/ltp/testcases/kernel/controllers/cgroup/
Dgetdelays.c187 (rep_len < 0) || !NLMSG_OK((&ans.n), rep_len)) in get_family_id()
428 !NLMSG_OK((&msg.n), rep_len)) { in main()
/external/iputils/ninfod/
Dni_ifaddrs.c188 …for (nh = (struct nlmsghdr *) buff; NLMSG_OK(nh, read_size); nh = (struct nlmsghdr *) NLMSG_NEXT(n… in nl_getmsg()
385 for (nlh = nlh0; NLMSG_OK(nlh, nlmlen); nlh = NLMSG_NEXT(nlh, nlmlen)) { in ni_ifaddrs()
/external/strace/
Dsocketutils.c227 if (!NLMSG_OK(h, ret)) in receive_responses()
229 for (; NLMSG_OK(h, ret); h = NLMSG_NEXT(h, ret)) { in receive_responses()
/external/webrtc/webrtc/base/
Difaddrs-android.cc159 for ( ; NLMSG_OK(header, header_size); in getifaddrs()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c219 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in find_interface()
/external/iproute2/lib/
Dlibnetlink.c155 for (h = (struct nlmsghdr *)resp; NLMSG_OK(h, status); in rtnl_send_check()
259 while (NLMSG_OK(h, msglen)) { in rtnl_dump_filter_l()
/external/toybox/toys/pending/
Dip.c1210 for (; NLMSG_OK(addr_ptr, length); addr_ptr = NLMSG_NEXT(addr_ptr, length)) { in ipaddrupdate()
1355 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print()
1399 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print()
1635 for (mhdr = (struct nlmsghdr*)toybuf; NLMSG_OK(mhdr, msglen); in display_route_info()
2695 for (mhdr = (struct nlmsghdr*)TT.gbuf; NLMSG_OK(mhdr, msglen); in filter_nlmesg()
/external/libpcap/
Dpcap-netfilter-linux.c313 while ((u_int)len >= NLMSG_SPACE(0) && NLMSG_OK(nlh, len)) { in netfilter_send_config_msg()

12