Lines Matching refs:set
672 res_setservers(res_state statp, const union res_sockaddr_union *set, int cnt) in res_setservers() argument
685 switch (set->sin.sin_family) { in res_setservers()
687 size = sizeof(set->sin); in res_setservers()
690 &set->sin, size); in res_setservers()
693 &set->sin, size); in res_setservers()
701 size = sizeof(set->sin6); in res_setservers()
704 &set->sin6, size); in res_setservers()
707 &set->sin6, size); in res_setservers()
717 set++; in res_setservers()
724 res_getservers(res_state statp, union res_sockaddr_union *set, int cnt) in res_getservers() argument
738 size = sizeof(set->sin); in res_getservers()
740 memcpy(&set->sin, in res_getservers()
744 memcpy(&set->sin, &statp->nsaddr_list[i], in res_getservers()
750 size = sizeof(set->sin6); in res_getservers()
752 memcpy(&set->sin6, in res_getservers()
756 memcpy(&set->sin6, &statp->nsaddr_list[i], in res_getservers()
762 set->sin.sin_family = 0; in res_getservers()
765 set++; in res_getservers()