Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dnetlink.c159 for (h = (struct nlmsghdr*) iov.iov_base; NLMSG_OK(h, (size_t) len); h = NLMSG_NEXT(h, len)) in iface_enumerate()
226 for (h = (struct nlmsghdr*) iov.iov_base; NLMSG_OK(h, (size_t) len); h = NLMSG_NEXT(h, len)) in netlink_multicast()
/external/ltp/lib/
Dtst_crypto.c44 NLMSG_OK(nh, len); in tst_crypto_recv_ack()
/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/openscreen/platform/impl/
Dnetwork_interface_linux.cc204 NLMSG_OK(netlink_header, len); in GetLinkInfo()
303 NLMSG_OK(netlink_header, len); in PopulateSubnetsOrClearList()
/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/ltp/testcases/lib/
Dtst_net_iface_prefix.c69 while NLMSG_OK(retmsg, len) { in read_iface_prefix()
/external/iproute2/include/uapi/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/external/libnl/include/linux-private/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/external/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()
/external/kernel-headers/original/uapi/linux/
Dnetlink.h97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ macro
/external/ltp/testcases/kernel/crypto/
Dcrypto_user01.c138 for (nh = buf; NLMSG_OK(nh, remaining); in validate_alg_list()
/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/webrtc/rtc_base/
Difaddrs_android.cc164 for (; NLMSG_OK(header, header_size); in getifaddrs()
/external/toybox/toys/pending/
Droute.c136 while (NLMSG_OK(msg_hdr_ptr, msg_hdr_len)) { in display_routes()
Dip.c1260 for (; NLMSG_OK(addr_ptr, length); addr_ptr = NLMSG_NEXT(addr_ptr, length)) { in ipaddrupdate()
1405 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print()
1449 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print()
1746 for (mhdr = (struct nlmsghdr*)toybuf; NLMSG_OK(mhdr, msglen); in display_route_info()
2800 for (mhdr = (struct nlmsghdr*)TT.gbuf; NLMSG_OK(mhdr, msglen); in filter_nlmesg()
/external/iproute2/lib/
Dlibnetlink.c299 for (h = (struct nlmsghdr *)resp; NLMSG_OK(h, status); in rtnl_send_check()
452 while (NLMSG_OK(h, msglen)) { in rtnl_dump_filter_l()
/external/wpa_supplicant_8/src/ap/
Dvlan_full.c717 while (NLMSG_OK(h, left)) { in vlan_event_receive()
/external/libpcap/
Dpcap-netfilter-linux.c403 while ((u_int)len >= NLMSG_SPACE(0) && NLMSG_OK(nlh, (u_int)len)) { in netfilter_send_config_msg()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c159 while (NLMSG_OK(h, status)) { in recvaddrs()
/external/bcc/src/cc/
Dlibbpf.c1365 for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, (unsigned int)len); in bpf_attach_xdp()
/external/usrsctp/usrsctplib/
Duser_recv_thread.c220 for (nh = (struct nlmsghdr *) buf; NLMSG_OK (nh, len);
/external/strace/
DChangeLog121 Workaround signedness bugs in system NLMSG_OK reported by -Wsign-compare
122 Introduce a replacement for NLMSG_OK provided by <linux/netlink.h> since
127 * socketutils.c (receive_responses): Use it instead of NLMSG_OK.