/external/strace/tests/ |
D | ioctl_sock_gifconf.c | 60 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/ |
D | ioctl_sock_gifconf.c | 60 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/ |
D | ioctl_sock_gifconf.c | 60 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/ |
D | sock.c | 277 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/ |
D | ioctl_custom.cc | 23 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/ |
D | ioctl_custom.cpp | 26 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/ |
D | fad-gifc.c | 189 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/ |
D | getifaddrs.c | 93 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/ |
D | getifaddrs.c | 59 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/ |
D | EPS.c | 84 interfaceConfiguration.ifc_len = sizeof(interfaceConfigurationBuffer); in GetMacAddress() 93 …nst interfaceRequestEnd = intefaceRequestStart + (interfaceConfiguration.ifc_len / sizeof(struct i… in GetMacAddress()
|
/external/toybox/toys/net/ |
D | ifconfig.c | 348 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/ |
D | mDNSUNP.c | 259 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/ |
D | sys-solaris.c | 416 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/ |
D | rarpd.c | 101 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()
|
D | arping.c | 870 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/ |
D | if.h | 282 int ifc_len; /* size of buffer */ member
|
/external/libnl/include/linux-private/linux/ |
D | if.h | 282 int ifc_len; /* size of buffer */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | if.h | 287 int ifc_len; /* size of buffer */ member
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 223 ifc.ifc_len = sizeof(buf); in setup2()
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 259 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/ |
D | sanitizer_platform_limits_solaris.h | 374 int ifc_len; member
|
D | sanitizer_platform_limits_solaris.cpp | 259 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|
D | sanitizer_common_interceptors_ioctl.inc | 589 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/ |
D | grabmyaddr.c | 475 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/ |
D | sanitizer_common_interceptors_ioctl.inc | 586 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);
|