Home
last modified time | relevance | path

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

12

/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/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/
Dsock.c277 print_ifc_len(entering_ifc->ifc_len); in decode_ifconf()
291 print_ifc_len(ifc->ifc_len); in decode_ifconf()
300 if (entering_ifc->ifc_buf && (entering_ifc->ifc_len != ifc->ifc_len)) in decode_ifconf()
302 if (!entering_ifc->ifc_buf || (entering_ifc->ifc_len != ifc->ifc_len)) in decode_ifconf()
303 print_ifc_len(ifc->ifc_len); in decode_ifconf()
317 ifc->ifc_len / sizeof(struct_ifreq), in decode_ifconf()
/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/llvm-project/compiler-rt/test/msan/
Dioctl_custom.cpp26 ifc.ifc_len = sizeof(ifreqs); in main()
33 for (int i = 0; i < ifc.ifc_len / sizeof(*ifc.ifc_ifcu.ifcu_req); ++i) in main()
/external/libpcap/
Dfad-gifc.c189 ifc.ifc_len = buf_size; in pcap_findalldevs_interfaces()
200 if (ifc.ifc_len < (int)buf_size && in pcap_findalldevs_interfaces()
201 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) in pcap_findalldevs_interfaces()
208 ifend = (struct ifreq *)(buf + ifc.ifc_len); in pcap_findalldevs_interfaces()
/external/libwebsockets/lib/misc/
Dgetifaddrs.c93 ifconf.ifc_len = buf_size; in getifaddrs2()
108 if (ifconf.ifc_len < (int)buf_size) in getifaddrs2()
114 for (p = ifconf.ifc_buf; p < ifconf.ifc_buf + ifconf.ifc_len; p += sz) { in getifaddrs2()
/external/libcups/cups/
Dgetifaddrs.c59 conf.ifc_len = sizeof(buffer); in _cups_getifaddrs()
83 for (bufptr = buffer, bufend = buffer + conf.ifc_len; in _cups_getifaddrs()
/external/ms-tpm-20-ref/Samples/TPMCmd-DeviceID/Platform/src/
DEPS.c84 interfaceConfiguration.ifc_len = sizeof(interfaceConfigurationBuffer); in GetMacAddress()
93 …nst interfaceRequestEnd = intefaceRequestStart + (interfaceConfiguration.ifc_len / sizeof(struct i… in GetMacAddress()
/external/toybox/toys/net/
Difconfig.c348 ifcon.ifc_len = sizeof(struct ifreq)*num; in show_iface()
349 ifcon.ifc_buf = xrealloc(ifcon.ifc_buf, ifcon.ifc_len); in show_iface()
351 if (ifcon.ifc_len != sizeof(struct ifreq)*num) break; in show_iface()
355 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);
/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/iproute2/include/uapi/linux/
Dif.h282 int ifc_len; /* size of buffer */ member
/external/libnl/include/linux-private/linux/
Dif.h282 int ifc_len; /* size of buffer */ member
/external/kernel-headers/original/uapi/linux/
Dif.h287 int ifc_len; /* size of buffer */ member
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c223 ifc.ifc_len = sizeof(buf); in setup2()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c259 ifc.ifc_len = sizeof(buf); in get_node_id()
265 n = ifc.ifc_len; in get_node_id()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.h374 int ifc_len; member
Dsanitizer_platform_limits_solaris.cpp259 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
Dsanitizer_common_interceptors_ioctl.inc589 COMMON_INTERCEPTOR_READ_RANGE(ctx, (char*)&ifc->ifc_len,
590 sizeof(ifc->ifc_len));
605 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifc->ifc_ifcu.ifcu_req, ifc->ifc_len);
/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);

12