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

/external/compiler-rt/test/msan/
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.c58 struct ifconf ifc; local
64 if (umove(tcp, tcp->u_arg[2], &ifc) >= 0
65 && ifc.ifc_buf == NULL)
66 tprintf(", {%d -> ", ifc.ifc_len);
217 if (umove(tcp, tcp->u_arg[2], &ifc) < 0) {
221 tprintf("%d, ", ifc.ifc_len);
223 tprintf("%lx", (unsigned long) ifc.ifc_buf);
224 } else if (ifc.ifc_buf == NULL) {
228 unsigned nifra = ifc.ifc_len / sizeof(struct ifreq);
231 if (umoven(tcp, (unsigned long) ifc
[all...]
/external/libpcap/
H A Dfad-gifc.c146 struct ifconf ifc; local
184 ifc.ifc_len = buf_size;
185 ifc.ifc_buf = buf;
187 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0
195 if (ifc.ifc_len < buf_size &&
196 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
203 ifend = (struct ifreq *)(buf + ifc.ifc_len);
226 * doesn't update ifc.ifc_len, leaving it larger than the
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);
/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/e2fsprogs/lib/uuid/
H A Dgen_uuid.c229 struct ifconf ifc; local
258 ifc.ifc_len = sizeof(buf);
259 ifc.ifc_buf = buf;
260 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) {
264 n = ifc.ifc_len;
266 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.c230 struct ifconf ifc; local
259 ifc.ifc_len = len;
260 ifc.ifc_buf = buf;
261 if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) {
266 if (ifc.ifc_len == lastlen)
268 lastlen = ifc.ifc_len;
279 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/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/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c5934 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
5936 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
7360 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
7361 if (ifc->vki_ifc_buf != NULL)
7362 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
H A Dsyswrap-darwin.c844 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
846 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
992 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
993 if (ifc->vki_ifc_buf != NULL)
994 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len );
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Ddarwin_usb.c1059 static int darwin_get_interface (usb_device_t **darwin_device, uint8_t ifc, io_service_t *usbInterfacep) { argument
1083 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.c1753 struct ifconf ifc; local
1759 ifc.ifc_len = sizeof(ifs);
1760 ifc.ifc_req = ifs;
1761 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) {
1771 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq));
1772 for (ifr = ifc.ifc_req; ifr < ifend; ifr++) {
1878 struct ifconf ifc; local
1895 ifc.ifc_len = sizeof(ifs);
1896 ifc.ifc_req = ifs;
1897 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/owasp/sanitizer/tools/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 1151 milliseconds