Searched refs:ifc_len (Results 1 - 25 of 31) sorted by relevance

12

/external/strace/tests/
H A Dioctl_sock_gifconf.c58 printf("{ifc_len=");
61 if (in_len != ifc->ifc_len) {
63 print_ifc_len(ifc->ifc_len);
66 printf("{ifc_len=");
67 print_ifc_len(ifc->ifc_len);
81 for (i = 0; i < (ifc->ifc_len) &&
96 if ((size_t) (ifc->ifc_len - i) >= sizeof(struct ifreq))
114 in_len = ifc->ifc_len;
153 ifc->ifc_len = 3141592653U;
157 ifc->ifc_len
[all...]
/external/strace/tests-m32/
H A Dioctl_sock_gifconf.c58 printf("{ifc_len=");
61 if (in_len != ifc->ifc_len) {
63 print_ifc_len(ifc->ifc_len);
66 printf("{ifc_len=");
67 print_ifc_len(ifc->ifc_len);
81 for (i = 0; i < (ifc->ifc_len) &&
96 if ((size_t) (ifc->ifc_len - i) >= sizeof(struct ifreq))
114 in_len = ifc->ifc_len;
153 ifc->ifc_len = 3141592653U;
157 ifc->ifc_len
[all...]
/external/strace/tests-mx32/
H A Dioctl_sock_gifconf.c58 printf("{ifc_len=");
61 if (in_len != ifc->ifc_len) {
63 print_ifc_len(ifc->ifc_len);
66 printf("{ifc_len=");
67 print_ifc_len(ifc->ifc_len);
81 for (i = 0; i < (ifc->ifc_len) &&
96 if ((size_t) (ifc->ifc_len - i) >= sizeof(struct ifreq))
114 in_len = ifc->ifc_len;
153 ifc->ifc_len = 3141592653U;
157 ifc->ifc_len
[all...]
/external/compiler-rt/test/msan/
H A Dioctl_custom.cc23 ifc.ifc_len = sizeof(ifreqs);
30 for (int i = 0; i < ifc.ifc_len / sizeof(*ifc.ifc_ifcu.ifcu_req); ++i)
/external/strace/
H A Dsock.c156 * and the kernel returns the buffer size in ifc_len.
158 * in ifc_buf and its size in ifc_len. The kernel fills the buffer with
159 * the data, and its amount is returned in ifc_len.
193 print_ifc_len(entering_ifc->ifc_len);
205 tprints(", {ifc_len=");
207 print_ifc_len(ifc->ifc_len);
216 if (entering_ifc->ifc_buf && (entering_ifc->ifc_len != ifc->ifc_len))
218 if (!entering_ifc->ifc_buf || (entering_ifc->ifc_len != ifc->ifc_len))
[all...]
/external/valgrind/memcheck/tests/solaris/
H A Dioctl.c25 ifc.ifc_len = (n_ifs + 1) * sizeof(struct ifreq);
35 if (ifc.ifc_len != 0) x = -1; else x = -2;
H A Dscalar_ioctl.c283 ifc.ifc_len = x0 + 1;
/external/libcups/cups/
H A Dgetifaddrs.c62 conf.ifc_len = sizeof(buffer);
86 for (bufptr = buffer, bufend = buffer + conf.ifc_len;
/external/libpcap/
H A Dfad-gifc.c180 ifc.ifc_len = buf_size;
191 if (ifc.ifc_len < buf_size &&
192 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
199 ifend = (struct ifreq *)(buf + ifc.ifc_len);
222 * doesn't update ifc.ifc_len, leaving it larger than the
/external/iproute2/include/uapi/linux/
H A Dif.h282 int ifc_len; /* size of buffer */ member in struct:ifconf
/external/kernel-headers/original/uapi/linux/
H A Dif.h284 int ifc_len; /* size of buffer */ member in struct:ifconf
/external/libpcap/Win32/Include/net/
H A Dif.h209 int ifc_len; /* size of associated buffer */ member in struct:ifconf
/external/ltp/testcases/kernel/syscalls/sockioctl/
H A Dsockioctl01.c223 ifc.ifc_len = sizeof(buf);
/external/mdnsresponder/mDNSPosix/
H A DmDNSUNP.c259 ifc.ifc_len = len;
266 if (ifc.ifc_len == lastlen)
268 lastlen = ifc.ifc_len;
279 for (ptr = buf; ptr < buf + ifc.ifc_len; ) {
/external/toybox/toys/net/
H A Difconfig.c318 ifcon.ifc_len = sizeof(struct ifreq)*num;
319 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len);
321 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break;
325 for(num = 0; num < ifcon.ifc_len && ifre; num += sizeof(struct ifreq), ifre++)
/external/iputils/
H A Drarpd.c101 ifc.ifc_len = sizeof ibuf;
104 ifc.ifc_len < (int)sizeof(struct ifreq)) {
119 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
H A Darping.c870 ifc.ifc_len = ifrsize;
878 if (ifc.ifc_len + sizeof(*ifr0) + sizeof(struct sockaddr_storage) - sizeof(struct sockaddr) <= ifrsize)
890 ifr_end = (struct ifreq *)(((char *)ifr0) + ifc.ifc_len - sizeof(*ifr0));
H A Drdisc.c1143 ifc.ifc_len = bufsize;
1152 for (i = 0, n = ifc.ifc_len/sizeof (struct ifreq); n > 0; n--, ifr++) {
/external/compiler-rt/lib/sanitizer_common/
H A 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);
H A Dsanitizer_platform_limits_posix.h801 int ifc_len; member in struct:__sanitizer::__sanitizer_ifconf
/external/ppp/pppd/
H A Dsys-solaris.c416 ifc.ifc_len = req_size;
431 for (i = ifc.ifc_len / sizeof(struct ifreq); i > 0; i--, pifreq++) {
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);
H A Dsys-linux.c1790 ifc.ifc_len = sizeof(ifs);
1802 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq));
1926 ifc.ifc_len = sizeof(ifs);
1934 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len);
/external/e2fsprogs/lib/uuid/
H A Dgen_uuid.c259 ifc.ifc_len = sizeof(buf);
265 n = ifc.ifc_len;
/external/ipsec-tools/src/racoon/
H A Dgrabmyaddr.c475 ifconf.ifc_len = len;
489 ifr_end = (struct ifreq *) (ifconf.ifc_buf + ifconf.ifc_len);
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_transport_impl.cc2677 ifc.ifc_len = IFRSIZE;
2688 ifc.ifc_len = IFRSIZE;
2695 } while (IFRSIZE <= ifc.ifc_len);
2698 for (;(char *) ifr < (char *) ifc.ifc_req + ifc.ifc_len; ++ifr)

Completed in 3164 milliseconds

12