HomeSort by relevance Sort by last modified time
    Searched defs:ifc (Results 1 - 25 of 28) sorted by null

1 2

  /external/compiler-rt/lib/msan/lit_tests/
ioctl_custom.cc 20 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/
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.ifc_buf
    [all...]
  /external/dnsmasq/src/
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/libpcap/
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);
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/chromium/third_party/libjingle/source/talk/base/
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.ifc_buf
    [all...]
  /external/libcap-ng/libcap-ng-0.7/utils/
netcap.c 212 static void report_finding(int port, const char *type, const char *ifc)
241 if (ifc)
242 printf(" %-6s", ifc);
351 static void get_interface(unsigned int iface, char *ifc)
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/
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; ) {
  /system/core/fastboot/
usb_linux.c 104 struct usb_interface_descriptor *ifc; local
203 ifc = (void*) ptr;
204 len -= ifc->bLength;
205 ptr += ifc->bLength;
209 info.ifc_class = ifc->bInterfaceClass;
210 info.ifc_subclass = ifc->bInterfaceSubClass;
211 info.ifc_protocol = ifc->bInterfaceProtocol;
213 for(e = 0; e < ifc->bNumEndpoints; e++) {
236 *ifc_id = ifc->bInterfaceNumber;
249 int n, in, out, ifc; local
    [all...]
  /external/e2fsprogs/lib/uuid/
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/iputils/
rarpd.c 93 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);
arping.c 843 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));
rdisc.c 1104 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++) {
    [all...]
  /external/ppp/pppd/plugins/rp-pppoe/
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);
  /libcore/libart/src/main/java/java/lang/
Class.java 678 Class<?> ifc = (Class<?>) iftable[i]; local
679 Method result = ifc.getPublicMethodRecursive(name, parameterTypes);
843 Class<?> ifc = (Class<?>) iftable[i]; local
1060 Class<?> ifc = (Class<?>) ifTable[i]; local
1106 Class<?> ifc = (Class<?>) iftable[i]; local
1431 Class<?> ifc = (Class<?>) iftable[i]; local
    [all...]
  /external/valgrind/main/coregrind/m_syswrap/
syswrap-linux.c 4559 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
5879 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
    [all...]
syswrap-darwin.c 828 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 );
    [all...]
  /hardware/libhardware_legacy/wifi/
wifi.c 325 char ifc[PROPERTY_VALUE_MAX]; local
352 property_get("wifi.interface", ifc, WIFI_TEST_INTERFACE);
354 strcpy(ifc, CONTROL_IFACE_PATH);
374 int mlen = strlen(ifc);
376 if (strncmp(ifc, iptr, mlen) != 0) {
377 ALOGE("ctrl_interface != %s", ifc);
383 memcpy(iptr, ifc, strlen(ifc));
  /external/dhcpcd/
dhcpcd.c 104 static int ifc; variable
    [all...]
  /external/emma/core/java12/com/vladium/emma/instr/
InstrVisitor.java 302 final CONSTANT_Class_info ifc = (CONSTANT_Class_info) constants.get (interfaces.get (i)); local
303 final String ifcName = ifc.getName (cls);
    [all...]
  /external/ppp/pppd/
sys-linux.c 1752 struct ifconf ifc; local
1877 struct ifconf ifc; local
    [all...]
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
2397 struct ifconf ifc; local
    [all...]
  /external/javassist/src/main/javassist/
CtClassType.java 706 CtClass[] ifc = new CtClass[num]; local
708 ifc[i] = classPool.get(ifs[i]);
710 return ifc;
    [all...]
  /prebuilts/tools/common/easymock-tools/
easymock-3.1.jar 
  /prebuilts/tools/common/m2/internal/org/easymock/easymock/3.1/
easymock-3.1.jar 

Completed in 902 milliseconds

1 2