Home | History | Annotate | Download | only in resolv

Lines Matching defs:netid

1232     unsigned                    netid;
1250 static struct resolv_cache* _find_named_cache_locked(unsigned netid);
1276 _cache_check_pending_request_locked( struct resolv_cache** cache, Entry* key, unsigned netid )
1306 *cache = _find_named_cache_locked(netid);
1343 _resolv_cache_query_failed( unsigned netid,
1355 cache = _find_named_cache_locked(netid);
1611 _resolv_cache_lookup( unsigned netid,
1638 cache = _find_named_cache_locked(netid);
1654 if (!_cache_check_pending_request_locked(&cache, key, netid) || cache == NULL) {
1701 _resolv_cache_add( unsigned netid,
1722 cache = _find_named_cache_locked(netid);
1793 static struct resolv_cache_info* _find_cache_info_locked(unsigned netid);
1795 static struct resolv_cache* _get_res_cache_for_net_locked(unsigned netid);
1797 static void _flush_cache_for_net_locked(unsigned netid);
1820 _get_res_cache_for_net_locked(unsigned netid)
1822 struct resolv_cache* cache = _find_named_cache_locked(netid);
1829 cache_info->netid = netid;
1840 _resolv_flush_cache_for_net(unsigned netid)
1845 _flush_cache_for_net_locked(netid);
1851 _flush_cache_for_net_locked(unsigned netid)
1853 struct resolv_cache* cache = _find_named_cache_locked(netid);
1859 void _resolv_delete_cache_for_net(unsigned netid)
1869 if (cache_info->netid == netid) {
1906 _find_named_cache_locked(unsigned netid) {
1908 struct resolv_cache_info* info = _find_cache_info_locked(netid);
1916 _find_cache_info_locked(unsigned netid)
1921 if (cache_info->netid == netid) {
1931 _resolv_set_nameservers_for_net(unsigned netid, const char** servers, int numservers,
1944 _get_res_cache_for_net_locked(netid);
1946 struct resolv_cache_info* cache_info = _find_cache_info_locked(netid);
1965 XLOG("%s: netid = %u, addr = %s\n", __FUNCTION__, netid, servers[i]);
1994 _flush_cache_for_net_locked(netid);
2065 struct resolv_cache_info* info = _find_cache_info_locked(statp->netid);
2069 XLOG("%s: %u\n", __FUNCTION__, statp->netid);