OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:ifmr
(Results
1 - 2
of
2
) sorted by null
/external/dhcpcd/
net.c
271
struct ifmediareq
ifmr
;
local
291
memset(&
ifmr
, 0, sizeof(
ifmr
));
292
strlcpy(
ifmr
.ifm_name, iface->name, sizeof(
ifmr
.ifm_name));
293
if (ioctl(socket_afnet, SIOCGIFMEDIA, &
ifmr
) != -1 &&
294
ifmr
.ifm_status & IFM_AVALID)
295
ret = (
ifmr
.ifm_status & IFM_ACTIVE) ? 1 : 0;
/external/wpa_supplicant_8/src/drivers/
driver_bsd.c
176
struct ifmediareq
ifmr
;
local
178
os_memset(&
ifmr
, 0, sizeof(
ifmr
));
179
os_strlcpy(
ifmr
.ifm_name, drv->ifname, sizeof(
ifmr
.ifm_name));
181
if (ioctl(drv->sock, SIOCGIFMEDIA, &
ifmr
) < 0) {
187
return
ifmr
.ifm_current;
[
all
...]
Completed in 266 milliseconds