/external/wpa_supplicant_8/src/ap/ |
vlan_init.c | 43 static int ifconfig_helper(const char *if_name, int up) 55 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); 60 __func__, if_name, strerror(errno)); 73 __func__, if_name, up, strerror(errno)); 83 static int ifconfig_up(const char *if_name) 85 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s up", if_name); 86 return ifconfig_helper(if_name, 1); 90 static int ifconfig_down(const char *if_name) 92 wpa_printf(MSG_DEBUG, "VLAN: Set interface %s down", if_name); 93 return ifconfig_helper(if_name, 0) [all...] |
/external/libpcap/ |
pcap-dlpi.c | 1806 char if_name[sizeof(ifnet.if_name) + 1]; local [all...] |
/system/core/toolbox/ |
iftop.c | 70 static int get_mtu(const char *if_name) 83 strcpy(ifr.ifr_name, if_name);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/net/ |
if.h | 37 char *if_name; /* null terminated name: "eth0", ... */ member in struct:if_nameindex
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/net/ |
if.h | 37 char *if_name; /* null terminated name: "eth0", ... */ member in struct:if_nameindex
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/net/ |
if.h | 37 char *if_name; /* null terminated name: "eth0", ... */ member in struct:if_nameindex
|
/external/ppp/pppd/ |
sys-solaris.c | 470 get_if_hwaddr(u_char *addr, char *if_name) 475 if (if_name == NULL) 481 if (!get_hw_addr_dlpi(if_name, &s_eth_addr)) { 482 error("could not obtain hardware address for %s", if_name); 538 char *if_name; local 540 if ((if_name = get_first_ethernet()) == NULL) { 548 if (!get_hw_addr_dlpi(if_name, &s_eth_addr)) { 549 error("could not obtain hardware address for %s", if_name); [all...] |
/external/mdnsresponder/Clients/ |
dns-sd.c | 802 char if_name[IFNAMSIZ]; // Older Linux distributions don't define IF_NAMESIZE local [all...] |
/external/mdnsresponder/mDNSPosix/ |
NetMonitor.c | 482 char if_name[IFNAMSIZ]; // Older Linux distributions don't define IF_NAMESIZE local 483 if_indextoname(index, if_name); 486 mprintf("\n%d:%02d:%02d.%06d Interface %d/%s\n", tm.tm_hour, tm.tm_min, tm.tm_sec, tv.tv_usec, index, if_name); [all...] |
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 284 for (p = p0; p && p->if_index && p->if_name; p++) {
|
/frameworks/av/services/audioflinger/ |
AudioFlinger.cpp | 185 static int load_audio_interface(const char *if_name, audio_hw_device_t **dev) 190 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); 192 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); 198 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); [all...] |