Home
last modified time | relevance | path

Searched refs:ifc_len (Results 1 – 15 of 15) sorted by relevance

/external/libpcap/
Dfad-gifc.c314 ifc.ifc_len = buf_size; in pcap_findalldevs()
325 if (ifc.ifc_len < buf_size && in pcap_findalldevs()
326 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) in pcap_findalldevs()
333 ifend = (struct ifreq *)(buf + ifc.ifc_len); in pcap_findalldevs()
/external/dnsmasq/src/
Dbpf.c50 ifc.ifc_len = len; in iface_enumerate()
60 if (ifc.ifc_len == lastlen) in iface_enumerate()
62 lastlen = ifc.ifc_len; in iface_enumerate()
66 for (ptr = ifc.ifc_buf; ptr < (char *)(ifc.ifc_buf + ifc.ifc_len); ptr += len) in iface_enumerate()
/external/strace/
Dsock.c96 tprintf(", {%d -> ", ifc.ifc_len); in sock_ioctl()
252 tprintf("%d, ", ifc.ifc_len); in sock_ioctl()
259 unsigned nifra = ifc.ifc_len / sizeof(struct ifreq); in sock_ioctl()
/external/chromium/third_party/libjingle/source/talk/base/
Dnetwork.cc244 ifc.ifc_len = 64 * sizeof(struct ifreq); in CreateNetworks()
245 ifc.ifc_buf = new char[ifc.ifc_len]; in CreateNetworks()
251 assert(ifc.ifc_len < static_cast<int>(64 * sizeof(struct ifreq))); in CreateNetworks()
255 reinterpret_cast<struct ifreq*>(ifc.ifc_buf + ifc.ifc_len); in CreateNetworks()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c252 ifc.ifc_len = len; in get_ifi_info()
259 if (ifc.ifc_len == lastlen) in get_ifi_info()
261 lastlen = ifc.ifc_len; in get_ifi_info()
272 for (ptr = buf; ptr < buf + ifc.ifc_len; ) { in get_ifi_info()
/external/iproute2/include/linux/
Dif.h215 int ifc_len; /* size of buffer */ member
/external/ppp/pppd/
Dsys-solaris.c416 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()
2164 ifc.ifc_len = nif * sizeof(struct ifreq);
2165 ifc.ifc_buf = (caddr_t) malloc(ifc.ifc_len);
2173 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len);
2416 ifc.ifc_len = nif * sizeof(struct ifreq);
2417 ifc.ifc_buf = (caddr_t) malloc(ifc.ifc_len);
2425 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len);
Dsys-linux.c1758 ifc.ifc_len = sizeof(ifs); in get_ether_addr()
1770 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); in get_ether_addr()
1894 ifc.ifc_len = sizeof(ifs); in GetMask()
1902 ifend = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); in GetMask()
/external/kernel-headers/original/linux/
Dif.h215 int ifc_len; /* size of buffer */ member
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c254 ifc.ifc_len = sizeof(buf); in get_node_id()
260 n = ifc.ifc_len; in get_node_id()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c462 ifconf.ifc_len = len; in grab_myaddrs()
476 ifr_end = (struct ifreq *) (ifconf.ifc_buf + ifconf.ifc_len); in grab_myaddrs()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c156 ifc.ifc_len = sizeof(inbuf); in getHWaddr()
163 for (i = 0; i < ifc.ifc_len; ) { in getHWaddr()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux.c4161 (Addr)&((struct vki_ifconf *)ARG3)->ifc_len, in PRE()
4162 sizeof(((struct vki_ifconf *)ARG3)->ifc_len)); in PRE()
4171 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in PRE()
5387 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in POST()
Dsyswrap-darwin.c821 (Addr)&((struct vki_ifconf *)ARG3)->ifc_len, in PRE()
822 sizeof(((struct vki_ifconf *)ARG3)->ifc_len)); in PRE()
831 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in PRE()
979 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in POST()
/external/valgrind/main/include/vki/
Dvki-linux.h785 int ifc_len; /* size of buffer */ member