/external/dnsmasq/src/ |
bpf.c | 26 static struct iovec ifreq = { variable in typeref:struct:iovec 34 struct ifreq *ifr; 45 len += 10*sizeof(struct ifreq); 72 len = sizeof(struct ifreq); 75 ifr = (struct ifreq *)ptr; 77 len = ifr->ifr_addr.sa_len + offsetof(struct ifreq, ifr_ifru); 80 if (!expand_buf(&ifreq, len)) 83 ifr = (struct ifreq *)ifreq.iov_base; 143 if (expand_buf(&ifreq, sizeof(struct ifreq)) [all...] |
/external/curl/lib/ |
if2ip.h | 49 struct ifreq { struct 79 #define SIOCGIFADDR _IOW('s', 102, struct ifreq) /* Get if addr */
|
/external/android-clat/ |
mtu.c | 34 struct ifreq if_mtu;
|
/external/autotest/client/profilers/powertop/src/ |
ethernet.c | 55 struct ifreq ifr; 59 memset(&ifr, 0, sizeof(struct ifreq)); 96 struct ifreq ifr; 100 memset(&ifr, 0, sizeof(struct ifreq));
|
/system/connectivity/dhcp_client/ |
device_info_unittest.cc | 67 struct ifreq* const ifr_arg = static_cast<struct ifreq*>(arg2); 72 const struct ifreq* const ifr = static_cast<struct ifreq*>(arg); 80 struct ifreq ifr;
|
/external/strace/ |
sock.c | 44 print_ifreq_addr(struct tcb *tcp, const struct ifreq *ifr, const long addr) 54 printstr(tcp, addr + offsetof(struct ifreq, ifr_addr.sa_data), 67 const struct ifreq *ifr) 141 const unsigned int n = (unsigned int) len / sizeof(struct ifreq); 143 if (len < 0 || n * sizeof(struct ifreq) != (unsigned int) len) 146 tprintf("%u * sizeof(struct ifreq)", n); 189 struct ifreq ifra[nifra > max_strlen ? max_strlen : nifra]; 222 struct ifreq ifr;
|
/external/compiler-rt/test/msan/ |
ioctl_custom.cc | 19 struct ifreq ifreqs[20];
|
/external/libpcap/Win32/Include/net/ |
if.h | 156 struct ifreq { struct 183 (sizeof(struct ifreq) - sizeof(struct sockaddr) + \ 184 (ifr).ifr_addr.sa_len) : sizeof(struct ifreq)) 212 struct ifreq *ifcu_req;
|
/external/wpa_supplicant_8/src/ap/ |
vlan_ifconfig.c | 22 struct ifreq ifr;
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu_linux.c | 101 struct ifreq *ifr = (struct ifreq *)dhd; 120 struct ifreq *ifr = (struct ifreq *)dhd; 195 struct ifreq ifr; 307 dhd_find(struct ifreq *ifr, char *type) 428 struct ifreq *ifr = (struct ifreq *)dev_handle; 443 struct ifreq ifr; 544 err = process_args((struct ifreq*)&ifr, argv) [all...] |
/external/valgrind/memcheck/tests/solaris/ |
ioctl.c | 25 ifc.ifc_len = (n_ifs + 1) * sizeof(struct ifreq); 26 ifc.ifc_buf = malloc((n_ifs + 1) * sizeof(struct ifreq));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/net/ |
if_ppp.h | 123 struct ifreq b; 128 struct ifreq b;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/net/ |
if_ppp.h | 123 struct ifreq b; 128 struct ifreq b;
|
/external/wpa_supplicant_8/src/drivers/ |
linux_ioctl.c | 20 struct ifreq ifr; 60 struct ifreq ifr; 82 struct ifreq ifr; 105 struct ifreq ifr; 162 struct ifreq ifr; 184 struct ifreq ifr;
|
/external/ppp/pppd/ |
sys-linux.c | 1194 struct ifreq ifr; 1210 struct ifreq ifr; 1783 struct ifreq ifreq, bestifreq; local 1870 struct ifreq ifreq; local 1908 struct ifreq *ifr, *ifend, ifreq; local [all...] |
/external/iputils/ |
rdisc.c | 1105 struct ifreq ifreq, *ifr; local 1124 bufsize = numifs * sizeof(struct ifreq); 1152 for (i = 0, n = ifc.ifc_len/sizeof (struct ifreq); n > 0; n--, ifr++) { 1153 ifreq = *ifr; 1154 if (strlen(ifreq.ifr_name) >= IFNAMSIZ) 1156 if (ioctl(sock, SIOCGIFFLAGS, (char *)&ifreq) < 0) { 1162 if ((ifreq.ifr_flags & IFF_UP) == 0) 1164 if (ifreq.ifr_flags & IFF_LOOPBACK) 1166 if ((ifreq.ifr_flags & (IFF_MULTICAST|IFF_BROADCAST|IFF_POINTOPOINT)) == 0 [all...] |
/external/iproute2/ip/ |
iptuntap.c | 48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) 84 static int tap_del_ioctl(struct ifreq *ifr) 107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) 200 struct ifreq ifr; 212 struct ifreq ifr;
|
/external/libpcap/ |
fad-gifc.c | 113 * We assume that's "sizeof(ifreq.ifr_name)" plus 255, under the assumption 139 register struct ifreq *ifrp, *ifend, *ifnext; 147 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; 197 ifrp = (struct ifreq *)buf; 198 ifend = (struct ifreq *)(buf + ifc.ifc_len); 215 ifnext = (struct ifreq *)((char *)ifrp + n);
|
/bionic/libc/include/net/ |
if_ether.h | 156 int ether_addmulti (struct ifreq *, struct ethercom *); 157 int ether_delmulti (struct ifreq *, struct ethercom *); 158 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/development/ndk/platforms/android-21/include/net/ |
if_ether.h | 156 int ether_addmulti (struct ifreq *, struct ethercom *); 157 int ether_delmulti (struct ifreq *, struct ethercom *); 158 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/development/ndk/platforms/android-3/include/net/ |
if_ether.h | 156 int ether_addmulti (struct ifreq *, struct ethercom *); 157 int ether_delmulti (struct ifreq *, struct ethercom *); 158 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/net/ |
if_ether.h | 156 int ether_addmulti (struct ifreq *, struct ethercom *); 157 int ether_delmulti (struct ifreq *, struct ethercom *); 158 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/net/ |
if_ether.h | 156 int ether_addmulti (struct ifreq *, struct ethercom *); 157 int ether_delmulti (struct ifreq *, struct ethercom *); 158 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/net/ |
if_ether.h | 156 int ether_addmulti (struct ifreq *, struct ethercom *); 157 int ether_delmulti (struct ifreq *, struct ethercom *); 158 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/net/ |
if_ether.h | 156 int ether_addmulti (struct ifreq *, struct ethercom *); 157 int ether_delmulti (struct ifreq *, struct ethercom *); 158 int ether_changeaddr (struct ifreq *, struct ethercom *);
|