Lines Matching refs:current_server_address
93 assert(m->current_server_address); in manager_timeout()
95 server_address_pretty(m->current_server_address, &pretty); in manager_timeout()
118 assert(m->current_server_address); in manager_send_request()
139 server_address_pretty(m->current_server_address, &pretty); in manager_send_request()
141 …, &ntpmsg, sizeof(ntpmsg), MSG_DONTWAIT, &m->current_server_address->sockaddr.sa, m->current_serve… in manager_send_request()
446 !m->current_server_address || in manager_receive_response()
447 !sockaddr_equal(&server_addr, &m->current_server_address->sockaddr)) { in manager_receive_response()
613 (void) server_address_pretty(m->current_server_address, &pretty); in manager_receive_response()
648 assert(m->current_server_address); in manager_listen_setup()
650 addr.sa.sa_family = m->current_server_address->sockaddr.sa.sa_family; in manager_listen_setup()
656 r = bind(m->server_socket, &addr.sa, m->current_server_address->socklen); in manager_listen_setup()
683 assert_return(m->current_server_address, -EHOSTUNREACH); in manager_begin()
690 server_address_pretty(m->current_server_address, &pretty); in manager_begin()
708 m->current_server_address = NULL; in manager_set_server_name()
719 if (m->current_server_address == a) in manager_set_server_address()
722 m->current_server_address = a; in manager_set_server_address()
814 if (m->current_server_address && m->current_server_address->addresses_next) in manager_connect()
815 manager_set_server_address(m, m->current_server_address->addresses_next); in manager_connect()
1067 if (m->current_server_address) in manager_network_event_handler()