/external/strace/ |
H A D | sock.c | 88 struct ifconf ifc; local 94 if (umove(tcp, tcp->u_arg[2], &ifc) >= 0 95 && ifc.ifc_buf == NULL) 96 tprintf(", {%d -> ", ifc.ifc_len); 248 if (umove(tcp, tcp->u_arg[2], &ifc) < 0) { 252 tprintf("%d, ", ifc.ifc_len); 254 tprintf("%lx", (unsigned long) ifc.ifc_buf); 255 } else if (ifc.ifc_buf == NULL) { 259 unsigned nifra = ifc.ifc_len / sizeof(struct ifreq); 262 if (umoven(tcp, (unsigned long) ifc [all...] |
/external/libpcap/ |
H A D | fad-glifc.c | 89 struct lifconf ifc; local 151 ifc.lifc_len = buf_size; 152 ifc.lifc_buf = buf; 153 ifc.lifc_family = AF_UNSPEC; 154 ifc.lifc_flags = 0; 156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { 169 ifend = (struct lifreq *)(buf + ifc.lifc_len);
|
H A D | fad-gifc.c | 276 struct ifconf ifc; local 314 ifc.ifc_len = buf_size; 315 ifc.ifc_buf = buf; 317 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 325 if (ifc.ifc_len < buf_size && 326 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) 333 ifend = (struct ifreq *)(buf + ifc.ifc_len); 356 * doesn't update ifc.ifc_len, leaving it larger than the
|
/external/dnsmasq/src/ |
H A D | bpf.c | 35 struct ifconf ifc; local 50 ifc.ifc_len = len; 51 ifc.ifc_buf = ifconf.iov_base; 53 if (ioctl(fd, SIOCGIFCONF, &ifc) == -1) 60 if (ifc.ifc_len == lastlen) 62 lastlen = ifc.ifc_len; 66 for (ptr = ifc.ifc_buf; ptr < (char *)(ifc.ifc_buf + ifc.ifc_len); ptr += len)
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | network.cc | 243 struct ifconf ifc; local 244 ifc.ifc_len = 64 * sizeof(struct ifreq); 245 ifc.ifc_buf = new char[ifc.ifc_len]; 247 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) { 251 assert(ifc.ifc_len < static_cast<int>(64 * sizeof(struct ifreq))); 253 struct ifreq* ptr = reinterpret_cast<struct ifreq*>(ifc.ifc_buf); 255 reinterpret_cast<struct ifreq*>(ifc.ifc_buf + ifc.ifc_len); 279 delete [] ifc [all...] |
/external/e2fsprogs/lib/uuid/ |
H A D | gen_uuid.c | 225 struct ifconf ifc; local 254 ifc.ifc_len = sizeof(buf); 255 ifc.ifc_buf = buf; 256 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) { 260 n = ifc.ifc_len; 262 ifrp = (struct ifreq *)((char *) ifc.ifc_buf+i);
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
H A D | netcap.c | 212 static void report_finding(int port, const char *type, const char *ifc) argument 241 if (ifc) 242 printf(" %-6s", ifc); 351 static void get_interface(unsigned int iface, char *ifc) argument 358 *ifc = 0; 374 sscanf(buf, "%16s: %256s\n", ifc, more); 375 c = strchr(ifc, ':'); 393 char more[256], ifc[32]; local 412 get_interface(iface, ifc); 414 report_finding(0, "pkt", ifc); [all...] |
/external/mdnsresponder/mDNSPosix/ |
H A D | mDNSUNP.c | 223 struct ifconf ifc; local 252 ifc.ifc_len = len; 253 ifc.ifc_buf = buf; 254 if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) { 259 if (ifc.ifc_len == lastlen) 261 lastlen = ifc.ifc_len; 272 for (ptr = buf; ptr < buf + ifc.ifc_len; ) {
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | if.c | 151 struct ifconf ifc; local 156 ifc.ifc_len = sizeof(inbuf); 157 ifc.ifc_buf = inbuf; 158 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) { 161 ifr = ifc.ifc_req; 163 for (i = 0; i < ifc.ifc_len; ) { 164 ifr = (struct ifreq *)((caddr_t)ifc.ifc_req + i);
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-linux.c | 4169 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local 4171 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); 5385 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local 5386 if (ifc->vki_ifc_buf != NULL) 5387 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
|
H A D | syswrap-darwin.c | 829 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local 831 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); 977 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local 978 if (ifc->vki_ifc_buf != NULL) 979 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
|
/external/dhcpcd/ |
H A D | dhcpcd.c | 104 static int ifc; variable 1311 if (ifc) { 1312 for (i = 0; i < ifc; i++) 1315 if (i >= ifc) 1551 reconf_reboot(1, ifc, ifv, 0); 2123 ifc = argc - optind; 2128 if (ifc == 1) 2131 ifaces = discover_interfaces(ifc, ifv); 2132 for (i = 0; i < ifc; i++) { 2141 if (ifc [all...] |
/external/libusb/libusb/os/ |
H A D | darwin_usb.c | 729 static int darwin_get_interface (usb_device_t **darwin_device, uint8_t ifc, io_service_t *usbInterfacep) { argument 747 for ( current_interface = 0 ; current_interface <= ifc ; current_interface++ )
|
/external/ppp/pppd/ |
H A D | sys-solaris.c | 386 struct ifconf ifc; local 416 ifc.ifc_len = req_size; 417 ifc.ifc_buf = req; 418 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) { 429 pifreq = ifc.ifc_req; 431 for (i = ifc.ifc_len / sizeof(struct ifreq); i > 0; i--, pifreq++) { 2154 struct ifconf ifc; local 2164 ifc.ifc_len = nif * sizeof(struct ifreq); 2165 ifc.ifc_buf = (caddr_t) malloc(ifc 2397 struct ifconf ifc; local [all...] |
H A D | sys-linux.c | 1752 struct ifconf ifc; local 1758 ifc.ifc_len = sizeof(ifs); 1759 ifc.ifc_req = ifs; 1760 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) { 1770 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); 1771 for (ifr = ifc.ifc_req; ifr < ifend; ifr++) { 1877 struct ifconf ifc; local 1894 ifc.ifc_len = sizeof(ifs); 1895 ifc.ifc_req = ifs; 1896 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < [all...] |
/external/emma/lib/ |
H A D | emma.jar | META-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ... |