Home
last modified time | relevance | path

Searched refs:ifc_len (Results 1 – 25 of 37) sorted by relevance

12

/external/strace/tests-mx32/
Dioctl_sock_gifconf.c60 if (in_len != ifc->ifc_len) { in print_ifconf()
62 print_ifc_len(ifc->ifc_len); in print_ifconf()
66 print_ifc_len(ifc->ifc_len); in print_ifconf()
80 for (i = 0; i < (ifc->ifc_len) && in print_ifconf()
95 if ((size_t) (ifc->ifc_len - i) >= sizeof(struct ifreq)) in print_ifconf()
113 in_len = ifc->ifc_len; in gifconf_ioctl()
152 ifc->ifc_len = 3141592653U; in main()
156 ifc->ifc_len = 0; in main()
160 ifc->ifc_len = 1; in main()
164 ifc->ifc_len = 1 * sizeof(*ifr); in main()
[all …]
/external/strace/tests-m32/
Dioctl_sock_gifconf.c60 if (in_len != ifc->ifc_len) { in print_ifconf()
62 print_ifc_len(ifc->ifc_len); in print_ifconf()
66 print_ifc_len(ifc->ifc_len); in print_ifconf()
80 for (i = 0; i < (ifc->ifc_len) && in print_ifconf()
95 if ((size_t) (ifc->ifc_len - i) >= sizeof(struct ifreq)) in print_ifconf()
113 in_len = ifc->ifc_len; in gifconf_ioctl()
152 ifc->ifc_len = 3141592653U; in main()
156 ifc->ifc_len = 0; in main()
160 ifc->ifc_len = 1; in main()
164 ifc->ifc_len = 1 * sizeof(*ifr); in main()
[all …]
/external/strace/tests/
Dioctl_sock_gifconf.c60 if (in_len != ifc->ifc_len) { in print_ifconf()
62 print_ifc_len(ifc->ifc_len); in print_ifconf()
66 print_ifc_len(ifc->ifc_len); in print_ifconf()
80 for (i = 0; i < (ifc->ifc_len) && in print_ifconf()
95 if ((size_t) (ifc->ifc_len - i) >= sizeof(struct ifreq)) in print_ifconf()
113 in_len = ifc->ifc_len; in gifconf_ioctl()
152 ifc->ifc_len = 3141592653U; in main()
156 ifc->ifc_len = 0; in main()
160 ifc->ifc_len = 1; in main()
164 ifc->ifc_len = 1 * sizeof(*ifr); in main()
[all …]
/external/strace/
Dsock.c199 print_ifc_len(entering_ifc->ifc_len); in decode_ifconf()
213 print_ifc_len(ifc->ifc_len); in decode_ifconf()
222 if (entering_ifc->ifc_buf && (entering_ifc->ifc_len != ifc->ifc_len)) in decode_ifconf()
224 if (!entering_ifc->ifc_buf || (entering_ifc->ifc_len != ifc->ifc_len)) in decode_ifconf()
225 print_ifc_len(ifc->ifc_len); in decode_ifconf()
239 ifc->ifc_len / sizeof(struct_ifreq), in decode_ifconf()
/external/libpcap/
Dfad-gifc.c179 ifc.ifc_len = buf_size; in pcap_findalldevs_interfaces()
190 if (ifc.ifc_len < buf_size && in pcap_findalldevs_interfaces()
191 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) in pcap_findalldevs_interfaces()
198 ifend = (struct ifreq *)(buf + ifc.ifc_len); in pcap_findalldevs_interfaces()
/external/compiler-rt/test/msan/
Dioctl_custom.cc23 ifc.ifc_len = sizeof(ifreqs); in main()
30 for (int i = 0; i < ifc.ifc_len / sizeof(*ifc.ifc_ifcu.ifcu_req); ++i) in main()
/external/dnsmasq/src/
Dbpf.c50 ifc.ifc_len = len; in iface_enumerate()
60 if (ifc.ifc_len == lastlen) in iface_enumerate()
62 lastlen = ifc.ifc_len; in iface_enumerate()
66 for (ptr = ifc.ifc_buf; ptr < (char *)(ifc.ifc_buf + ifc.ifc_len); ptr += len) in iface_enumerate()
/external/valgrind/memcheck/tests/solaris/
Dioctl.c25 ifc.ifc_len = (n_ifs + 1) * sizeof(struct ifreq); in test_SIOCGIFCONF()
35 if (ifc.ifc_len != 0) x = -1; else x = -2; in test_SIOCGIFCONF()
/external/libcups/cups/
Dgetifaddrs.c62 conf.ifc_len = sizeof(buffer); in _cups_getifaddrs()
86 for (bufptr = buffer, bufend = buffer + conf.ifc_len; in _cups_getifaddrs()
/external/strace/mpers-m32/
Dstruct_ifconf.h5 int32_t ifc_len; member
/external/strace/mpers-mx32/
Dstruct_ifconf.h5 int32_t ifc_len; member
/external/toybox/toys/net/
Difconfig.c318 ifcon.ifc_len = sizeof(struct ifreq)*num; in show_iface()
319 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()
321 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break; in show_iface()
325 for(num = 0; num < ifcon.ifc_len && ifre; num += sizeof(struct ifreq), ifre++) in show_iface()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c259 ifc.ifc_len = len; in get_ifi_info()
266 if (ifc.ifc_len == lastlen) in get_ifi_info()
268 lastlen = ifc.ifc_len; in get_ifi_info()
279 for (ptr = buf; ptr < buf + ifc.ifc_len; ) { in get_ifi_info()
/external/ppp/pppd/
Dsys-solaris.c416 ifc.ifc_len = req_size; in get_first_ethernet()
431 for (i = ifc.ifc_len / sizeof(struct ifreq); i > 0; i--, pifreq++) { in get_first_ethernet()
2167 ifc.ifc_len = nif * sizeof(struct ifreq);
2168 ifc.ifc_buf = (caddr_t) malloc(ifc.ifc_len);
2176 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len);
2419 ifc.ifc_len = nif * sizeof(struct ifreq);
2420 ifc.ifc_buf = (caddr_t) malloc(ifc.ifc_len);
2428 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len);
Dsys-linux.c1790 ifc.ifc_len = sizeof(ifs); in get_ether_addr()
1802 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); in get_ether_addr()
1926 ifc.ifc_len = sizeof(ifs); in GetMask()
1934 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); in GetMask()
/external/iputils/
Drarpd.c101 ifc.ifc_len = sizeof ibuf; in load_if()
104 ifc.ifc_len < (int)sizeof(struct ifreq)) { in load_if()
119 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len); in load_if()
Darping.c870 ifc.ifc_len = ifrsize; in find_device_by_ioctl()
878 …if (ifc.ifc_len + sizeof(*ifr0) + sizeof(struct sockaddr_storage) - sizeof(struct sockaddr) <= ifr… in find_device_by_ioctl()
890 ifr_end = (struct ifreq *)(((char *)ifr0) + ifc.ifc_len - sizeof(*ifr0)); in find_device_by_ioctl()
/external/libpcap/Win32/Include/net/
Dif.h209 int ifc_len; /* size of associated buffer */ member
/external/iproute2/include/linux/
Dif.h253 int ifc_len; /* size of buffer */ member
/external/kernel-headers/original/uapi/linux/
Dif.h279 int ifc_len; /* size of buffer */ member
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c231 ifc.ifc_len = sizeof(buf); in setup2()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c260 ifc.ifc_len = sizeof(buf); in get_node_id()
266 n = ifc.ifc_len; in get_node_id()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c475 ifconf.ifc_len = len; in grab_myaddrs()
489 ifr_end = (struct ifreq *) (ifconf.ifc_buf + ifconf.ifc_len); in grab_myaddrs()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors_ioctl.inc586 COMMON_INTERCEPTOR_READ_RANGE(ctx, &ifc->ifc_len, sizeof(ifc->ifc_len));
601 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifc->ifc_ifcu.ifcu_req, ifc->ifc_len);
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc2677 ifc.ifc_len = IFRSIZE; in LocalHostAddress()
2688 ifc.ifc_len = IFRSIZE; in LocalHostAddress()
2695 } while (IFRSIZE <= ifc.ifc_len); in LocalHostAddress()
2698 for (;(char *) ifr < (char *) ifc.ifc_req + ifc.ifc_len; ++ifr) in LocalHostAddress()

12