Searched refs:ifname (Results 1 - 6 of 6) sorted by relevance

/bionic/libc/private/
H A Dresolv_iface.h48 extern void _resolv_set_default_iface(const char* ifname);
51 extern void _resolv_set_nameservers_for_iface(const char* ifname, char** servers, int numservers,
55 extern void _resolv_set_addr_of_iface(const char* ifname, struct in_addr* addr);
61 extern void _resolv_flush_cache_for_iface(const char* ifname);
64 extern void _resolv_set_iface_for_pid(const char* ifname, int pid);
H A Dresolv_cache.h36 /* gets the cache for an interface. Set ifname argument to NULL or
40 extern struct resolv_cache* __get_res_cache(const char* ifname);
57 extern int _resolv_cache_get_nameserver_for_iface(const char* ifname, int n,
64 extern struct addrinfo* _resolv_cache_get_nameserver_addr_for_iface(const char* ifname, int n);
78 extern struct in_addr* _resolv_get_addr_of_iface(const char* ifname);
/bionic/libc/include/net/
H A Dif.h42 extern char* if_indextoname(unsigned ifindex, char *ifname);
/bionic/libc/bionic/
H A Dif_indextoname.c42 if_indextoname(unsigned ifindex, char *ifname) argument
54 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ);
H A Dif_nametoindex.c40 unsigned int if_nametoindex(const char *ifname) argument
47 strncpy(ifr.ifr_name, ifname, IFNAMSIZ);
/bionic/libc/netbsd/resolv/
H A Dres_cache.c1246 char ifname[IF_NAMESIZE + 1]; member in struct:resolv_cache_info
1258 char ifname[IF_NAMESIZE + 1]; member in struct:resolv_pidiface_info
1818 static struct resolv_cache* _find_named_cache_locked(const char* ifname);
1820 static struct resolv_cache_info* _find_cache_info_locked(const char* ifname);
1822 static struct resolv_cache* _get_res_cache_for_iface_locked(const char* ifname);
1824 static void _flush_cache_for_iface_locked(const char* ifname);
1828 static int _get_nameserver_locked(const char* ifname, int n, char* addr, int addrLen);
1830 static struct addrinfo* _get_nameserver_addr_locked(const char* ifname, int n);
1832 static struct in_addr* _get_addr_locked(const char * ifname);
1860 __get_res_cache(const char* ifname) argument
1888 _get_res_cache_for_iface_locked(const char* ifname) argument
1921 char* ifname = _get_default_iface_locked(); local
1955 char* ifname; local
1967 _resolv_flush_cache_for_iface(const char* ifname) argument
1978 _flush_cache_for_iface_locked(const char* ifname) argument
2009 _find_named_cache_locked(const char* ifname) argument
2019 _find_cache_info_locked(const char* ifname) argument
2047 char* ifname = NULL; local
2063 _resolv_set_default_iface(const char* ifname) argument
2079 _resolv_set_nameservers_for_iface(const char* ifname, char** servers, int numservers, const char *domains) argument
2192 char *ifname; local
2206 _get_nameserver_locked(const char* ifname, int n, char* addr, int addrLen) argument
2236 char* ifname; local
2249 _get_nameserver_addr_locked(const char* ifname, int n) argument
2265 _resolv_set_addr_of_iface(const char* ifname, struct in_addr* addr) argument
2285 char* ifname; local
2297 _resolv_get_addr_of_iface(const char* ifname) argument
2309 _get_addr_locked(const char * ifname) argument
2345 _resolv_set_iface_for_pid(const char* ifname, int pid) argument
2417 char* ifname; local
[all...]

Completed in 131 milliseconds