Searched defs:ifc (Results 1 - 22 of 22) sorted by relevance

/external/compiler-rt/lib/msan/lit_tests/
H A Dioctl_custom.cc20 struct ifconf ifc; local
21 ifc.ifc_ifcu.ifcu_req = ifreqs;
23 ifc.ifc_len = sizeof(ifreqs);
25 int res = ioctl(fd, SIOCGIFCONF, (void *)&ifc);
30 for (int i = 0; i < ifc.ifc_len / sizeof(*ifc.ifc_ifcu.ifcu_req); ++i)
/external/strace/
H A Dsock.c88 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 Dfad-glifc.c89 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 Dfad-gifc.c276 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 Dbpf.c35 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 Dnetwork.cc243 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 Dgen_uuid.c225 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 Dnetcap.c212 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 DmDNSUNP.c223 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/iputils/
H A Drarpd.c93 struct ifconf ifc; local
101 ifc.ifc_len = sizeof ibuf;
102 ifc.ifc_buf = (caddr_t)ibuf;
103 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 ||
104 ifc.ifc_len < (int)sizeof(struct ifreq)) {
119 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
H A Darping.c843 struct ifconf ifc; local
869 ifc.ifc_buf = (char *)ifr0;
870 ifc.ifc_len = ifrsize;
872 rc = ioctl(s, SIOCGIFCONF, &ifc);
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.c1104 struct ifconf ifc; local
1143 ifc.ifc_len = bufsize;
1144 ifc.ifc_buf = buf;
1145 if (ioctl(sock, SIOCGIFCONF, (char *)&ifc) < 0) {
1151 ifr = ifc.ifc_req;
1152 for (i = 0, n = ifc.ifc_len/sizeof (struct ifreq); n > 0; n--, ifr++) {
/external/ppp/pppd/plugins/rp-pppoe/
H A Dif.c151 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 Dsyswrap-linux.c4559 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
4561 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
5879 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
5880 if (ifc->vki_ifc_buf != NULL)
5881 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
H A Dsyswrap-darwin.c828 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
830 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
976 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
977 if (ifc->vki_ifc_buf != NULL)
978 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
/external/dhcpcd/
H A Ddhcpcd.c104 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 Ddarwin_usb.c729 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/chromium_org/third_party/libusb/src/libusb/os/
H A Ddarwin_usb.c1060 static int darwin_get_interface (usb_device_t **darwin_device, uint8_t ifc, io_service_t *usbInterfacep) { argument
1084 if (ret && bInterfaceNumber == ifc) {
/external/ppp/pppd/
H A Dsys-solaris.c386 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 Dsys-linux.c1752 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 Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/external/robolectric/lib/main/
H A Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/bytecode/analysis/ javassist/bytecode/annotation/ javassist/ ...

Completed in 619 milliseconds