/system/netd/server/ |
ResolverController.h | 28 int setDnsServers(unsigned netid, const char * domains, const char** servers, 30 int clearDnsServers(unsigned netid); 31 int flushDnsCache(unsigned netid); 32 // TODO: Add deleteDnsCache(unsigned netId)
|
/bionic/libc/dns/include/ |
resolv_cache.h | 51 _resolv_cache_lookup( unsigned netid, 63 _resolv_cache_add( unsigned netid, 72 _resolv_cache_query_failed( unsigned netid,
|
resolv_netid.h | 39 * Passing NETID_UNSET as the netId causes system/netd/server/DnsProxyListener.cpp to 40 * fill in the appropriate default netId for the query. 61 extern void _resolv_set_nameservers_for_net(unsigned netid, 65 extern void _resolv_flush_cache_for_net(unsigned netid) __used_in_netd; 68 extern void _resolv_delete_cache_for_net(unsigned netid) __used_in_netd; 76 extern void _resolv_delete_cache_for_net(unsigned netid);
|
resolv_private.h | 148 unsigned netid; /* NetId: cache key and socket mark */ member in struct:__res_state
|
/external/dnsmasq/src/ |
rfc2131.c | 97 static size_t dhcp_packet_size(struct dhcp_packet *mess, struct dhcp_netid *netid, 106 struct dhcp_netid *netid, 116 static int prune_vendor_opts(struct dhcp_netid *netid); 117 static struct dhcp_opt *pxe_opts(int pxe_arch, struct dhcp_netid *netid); 118 struct dhcp_boot *find_boot(struct dhcp_netid *netid); 139 struct dhcp_netid *netid; local 156 netid = &iface_id; 240 vendor->netid.next = netid; 241 netid = &vendor->netid [all...] |
option.c | 316 { LOPT_MATCH, ARG_DUP, "<netid>,<optspec>", gettext_noop("Set tag if client includes matching option in request."), NULL }, 677 new->netid = NULL; 721 new->netid = opt_malloc(sizeof (struct dhcp_netid)); 724 new->netid->net = opt_string_alloc(arg+4); 726 new->netid->net = opt_string_alloc(arg); 727 new->netid->next = np; 728 np = new->netid; 957 !new->netid || 958 new->netid->next) [all...] |
dnsmasq.h | 450 struct dhcp_netid netid; member in struct:dhcp_config 478 struct dhcp_netid *netid; member in struct:dhcp_opt 497 struct dhcp_netid *netid; member in struct:dhcp_boot 505 struct dhcp_netid *netid; member in struct:pxe_service 519 struct dhcp_netid netid; member in struct:dhcp_vendor 527 struct dhcp_netid netid; member in struct:dhcp_mac 548 struct dhcp_netid netid, *filter; member in struct:dhcp_context
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiAPITest.java | 41 private int netid; field in class:WifiAPITest 113 netid = Integer.parseInt(value.toString()); 114 mWifiManager.disableNetwork(netid); 133 netid = Integer.parseInt(value.toString()); 134 mWifiManager.enableNetwork(netid, false);
|
/bionic/libc/dns/resolv/ |
res_cache.c | 1227 unsigned netid; member in struct:resolv_cache_info [all...] |
res_init.c | 195 statp->netid = NETID_UNSET; 811 void res_setnetid(res_state statp, unsigned netid) 814 statp->netid = netid;
|
res_send.c | 393 statp->netid, buf, buflen, 408 _resolv_cache_query_failed(statp->netid, buf, buflen); 604 _resolv_cache_add(statp->netid, buf, buflen, 660 _resolv_cache_query_failed(statp->netid, buf, buflen); 666 _resolv_cache_query_failed(statp->netid, buf, buflen); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ConnectReqTestCase.java | 54 for (int netid = 0; netid < 32; netid++) { 55 methods[i].invoke(mP2pMgr, mChannel, netid, null);
|
/bionic/libc/dns/ |
gethnamaddr.c | 523 android_gethostbynamefornet(const char *name, int af, unsigned netid, unsigned mark) 530 hp = gethostbyname_internal(name, af, res, netid, mark); 749 gethostbyname_internal(const char *name, int af, res_state res, unsigned netid, unsigned mark) 756 res_setnetid(res, netid); 764 netid = __netdClientDispatch.netIdForResolv(netid); 769 netid, 791 socklen_t len, int af, unsigned netid) 802 netid = __netdClientDispatch.netIdForResolv(netid); 1327 unsigned netid, mark; local [all...] |
/bionic/libc/dns/net/ |
getnameinfo.c | 117 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, 124 serv, servlen, flags, netid, mark); 168 int flags, unsigned netid, unsigned mark) 306 hp = android_gethostbyaddrfornet_proxy(addr, afd->a_addrlen, afd->a_af, netid);
|
getaddrinfo.c | 221 const char *, struct addrinfo **, unsigned netid, unsigned mark); 415 const struct addrinfo *hints, struct addrinfo **res, unsigned netid) 453 netid = __netdClientDispatch.netIdForResolv(netid); 464 netid) < 0) { 593 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) 742 return android_getaddrinfo_proxy(hostname, servname, hints, res, netid); 772 &cur->ai_next, netid, mark); 805 const char *servname, struct addrinfo **res, unsigned netid, unsigned mark) 831 default_dns_files, hostname, pai, netid, mark)) 1887 unsigned netid, mark; local [all...] |
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 549 int netId = Integer.valueOf(((TextView) findViewById(R.id.netid)).getText().toString()); 550 mNetd.addRoute(netId, new RouteInfo((LinkAddress) null, 559 int netId = Integer.valueOf(((TextView) findViewById(R.id.netid)).getText().toString()); 560 mNetd.removeRoute(netId, new RouteInfo((LinkAddress) null,
|