Searched refs:nsaddr_list (Results 1 – 5 of 5) sorted by relevance
53 static_assert(std::extent<decltype(res.nsaddr_list)>() >= MAXNS && in GetNameservers()64 if (res.nsaddr_list[i].sin_family) { // The indicator used by res_nsend. in GetNameservers()65 addr = reinterpret_cast<const struct sockaddr*>(&res.nsaddr_list[i]); in GetNameservers()66 addr_len = sizeof res.nsaddr_list[i]; in GetNameservers()83 reinterpret_cast<const struct sockaddr*>(&res.nsaddr_list[i]), in GetNameservers()84 sizeof res.nsaddr_list[i])) { in GetNameservers()
59 res->nsaddr_list[i] = sa; in InitializeResState()77 memset(&res->nsaddr_list[i], 0, sizeof res->nsaddr_list[i]); in InitializeResState()
83 res->nsaddr_list[i] = sa; in InitializeResState()100 memset(&res->nsaddr_list[i], 0, sizeof res->nsaddr_list[i]); in InitializeResState()180 res.nsaddr_list[0] = sa; in TEST()182 res.nsaddr_list[1] = sa; in TEST()188 res.nsaddr_list[0] = sa; in TEST()
89 res->nsaddr_list[i] = sa; in InitializeResState()106 memset(&res->nsaddr_list[i], 0, sizeof res->nsaddr_list[i]); in InitializeResState()358 res->nsaddr_list[0] = sa; in TEST_F()360 res->nsaddr_list[1] = sa; in TEST_F()386 res->nsaddr_list[0] = sa; in TEST_F()388 res->nsaddr_list[1] = sa; in TEST_F()982 res->nsaddr_list[0] = sa; in TEST_F()
31 struct sockaddr_in nsaddr_list[MAXNS]; member32 # define nsaddr nsaddr_list[0]