/bionic/libc/bionic/ |
if_indextoname.c | 45 struct ifreq ifr; 48 memset(&ifr, 0, sizeof(struct ifreq));
|
if_nametoindex.c | 44 struct ifreq ifr; 46 memset(&ifr, 0, sizeof(struct ifreq));
|
/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/android-clat/ |
mtu.c | 34 struct ifreq if_mtu;
|
/system/core/toolbox/ |
ifconfig.c | 22 static void setflags(int s, struct ifreq *ifr, int set, int clr) 36 static void setmtu(int s, struct ifreq *ifr, const char *mtu) 42 static void setdstaddr(int s, struct ifreq *ifr, const char *addr) 48 static void setnetmask(int s, struct ifreq *ifr, const char *addr) 54 static void setaddr(int s, struct ifreq *ifr, const char *addr) 62 struct ifreq ifr; 74 memset(&ifr, 0, sizeof(struct ifreq));
|
/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/compiler-rt/test/msan/ |
ioctl_custom.cc | 19 struct ifreq ifreqs[20];
|
/external/iproute2/ip/ |
tunnel.c | 68 struct ifreq ifr; 86 struct ifreq ifr; 106 struct ifreq ifr; 128 struct ifreq ifr;
|
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) 193 struct ifreq ifr; 209 struct ifreq ifr;
|
/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;
|
/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/net/ |
if_ppp.h | 123 struct ifreq b; 128 struct ifreq b;
|
/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;
|
/external/strace/ |
sock.c | 44 print_addr(struct tcb *tcp, long addr, struct ifreq *ifr) 57 struct ifreq ifr; 165 + offsetof(struct ifreq, 228 unsigned nifra = ifc.ifc_len / sizeof(struct ifreq); 229 struct ifreq ifra[nifra]; 248 + offsetof(struct ifreq,
|
/external/ppp/pppd/ |
sys-linux.c | 1161 struct ifreq ifr; 1177 struct ifreq ifr; 1752 struct ifreq ifreq, bestifreq; local 1839 struct ifreq ifreq; local 1877 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/libpcap/ |
fad-gifc.c | 118 * We assume that's "sizeof(ifreq.ifr_name)" plus 255, under the assumption 144 register struct ifreq *ifrp, *ifend, *ifnext; 152 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; 202 ifrp = (struct ifreq *)buf; 203 ifend = (struct ifreq *)(buf + ifc.ifc_len); 220 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-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 *);
|
/development/ndk/platforms/android-L/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/4/platforms/android-3/arch-arm/usr/include/net/ |
if_ether.h | 154 int ether_addmulti (struct ifreq *, struct ethercom *); 155 int ether_delmulti (struct ifreq *, struct ethercom *); 156 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/net/ |
if_ether.h | 154 int ether_addmulti (struct ifreq *, struct ethercom *); 155 int ether_delmulti (struct ifreq *, struct ethercom *); 156 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/net/ |
if_ether.h | 154 int ether_addmulti (struct ifreq *, struct ethercom *); 155 int ether_delmulti (struct ifreq *, struct ethercom *); 156 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/net/ |
if_ether.h | 154 int ether_addmulti (struct ifreq *, struct ethercom *); 155 int ether_delmulti (struct ifreq *, struct ethercom *); 156 int ether_changeaddr (struct ifreq *, struct ethercom *);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/net/ |
if_ether.h | 154 int ether_addmulti (struct ifreq *, struct ethercom *); 155 int ether_delmulti (struct ifreq *, struct ethercom *); 156 int ether_changeaddr (struct ifreq *, struct ethercom *);
|