/external/wpa_supplicant_8/src/drivers/ |
linux_ioctl.h | 18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up); 19 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr); 20 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr); 23 int linux_br_add_if(int sock, const char *brname, const char *ifname); 24 int linux_br_del_if(int sock, const char *brname, const char *ifname); 25 int linux_br_get(char *brname, const char *ifname);
|
linux_ioctl.c | 24 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) 32 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 36 ifname, strerror(errno)); 52 ifname, strerror(errno)); 60 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) 65 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 68 ifname, strerror(errno)); 74 ifname, ifr.ifr_hwaddr.sa_family); 83 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) 88 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ) [all...] |
/system/core/include/netutils/ |
dhcp.h | 26 extern int dhcp_do_request(const char *ifname, 34 extern int dhcp_stop(const char *ifname); 35 extern int dhcp_release_lease(const char *ifname);
|
ifc.h | 34 extern int ifc_enable(const char *ifname); 35 extern int ifc_disable(const char *ifname); 37 extern int ifc_reset_connections(const char *ifname, const int reset_mask); 52 extern int ifc_get_default_route(const char *ifname); 54 extern int ifc_set_default_route(const char *ifname, in_addr_t gateway); 57 extern int ifc_remove_default_route(const char *ifname); 60 extern int ifc_remove_route(const char *ifname, const char *dst, 65 extern int ifc_configure(const char *ifname, in_addr_t address,
|
/bionic/libc/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/bionic/libc/include/ |
resolv.h | 54 extern void _resolv_set_default_iface(const char* ifname); 57 extern void _resolv_set_nameservers_for_iface(const char* ifname, char** servers, int numservers); 60 extern void _resolv_set_addr_of_iface(const char* ifname, struct in_addr* addr); 66 extern void _resolv_flush_cache_for_iface(const char* ifname);
|
/bionic/libc/private/ |
resolv_cache.h | 37 extern struct resolv_cache* __get_res_cache_for_iface(const char* ifname); 51 extern int _resolv_cache_get_nameserver_for_iface(const char* ifname, int n, 57 extern struct addrinfo* _resolv_cache_get_nameserver_addr_for_iface(const char* ifname, int n); 68 extern struct in_addr* _resolv_get_addr_of_iface(const char* ifname);
|
/development/ndk/platforms/android-3/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/frameworks/base/core/jni/ |
android_net_NetUtils.cpp | 27 int ifc_enable(const char *ifname); 28 int ifc_disable(const char *ifname); 29 int ifc_reset_connections(const char *ifname, int reset_mask); 31 int dhcp_do_request(const char *ifname, 40 int dhcp_do_request_renew(const char *ifname, 49 int dhcp_stop(const char *ifname); 50 int dhcp_release_lease(const char *ifname); 73 static jint android_net_utils_enableInterface(JNIEnv* env, jobject clazz, jstring ifname) 77 const char *nameStr = env->GetStringUTFChars(ifname, NULL); 79 env->ReleaseStringUTFChars(ifname, nameStr) [all...] |
/external/dhcpcd/ |
if-linux-wireless.c | 61 int getifssid(const char *ifname, char *ssid); 64 getifssid(const char *ifname, char *ssid) 73 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name)); 86 ifname = ssid;
|
/external/wpa_supplicant/ |
driver_wired.c | 37 char ifname[IFNAMSIZ + 1]; member in struct:wpa_driver_wired_data 57 static int wpa_driver_wired_get_ifflags(const char *ifname, int *flags) 69 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); 81 static int wpa_driver_wired_set_ifflags(const char *ifname, int flags) 93 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); 105 static int wpa_driver_wired_multi(const char *ifname, const u8 *addr, int add) 117 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); 156 mreq.mr_ifindex = if_nametoindex(drv->ifname); 174 static void * wpa_driver_wired_init(void *ctx, const char *ifname) 182 os_strncpy(drv->ifname, ifname, sizeof(drv->ifname)) [all...] |
l2_packet_none.c | 25 char ifname[17]; member in struct:l2_packet_data 74 const char *ifname, const u8 *own_addr, unsigned short protocol, 84 os_strncpy(l2->ifname, ifname, sizeof(l2->ifname));
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_wired.c | 36 char ifname[IFNAMSIZ + 1]; member in struct:wpa_driver_wired_data 56 static int wpa_driver_wired_get_ifflags(const char *ifname, int *flags) 68 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 80 static int wpa_driver_wired_set_ifflags(const char *ifname, int flags) 92 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 104 static int wpa_driver_wired_multi(const char *ifname, const u8 *addr, int add) 116 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 164 mreq.mr_ifindex = if_nametoindex(drv->ifname); 182 static void * wpa_driver_wired_init(void *ctx, const char *ifname) 190 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_none.c | 25 char ifname[17]; member in struct:l2_packet_data 74 const char *ifname, const u8 *own_addr, unsigned short protocol, 84 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_none.c | 25 char ifname[17]; member in struct:l2_packet_data 74 const char *ifname, const u8 *own_addr, unsigned short protocol, 84 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
|
/bionic/libc/bionic/ |
if_indextoname.c | 42 if_indextoname(unsigned ifindex, char *ifname) 54 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ);
|