Lines Matching defs:address
548 listener_bind(ns_lwreslistener_t *listener, isc_sockaddr_t *address) {
553 pf = isc_sockaddr_pf(address);
558 listener->address = *address;
560 if (isc_sockaddr_getport(&listener->address) == 0) {
565 isc_sockaddr_setport(&listener->address, port);
579 result = isc_socket_bind(sock, &listener->address,
583 isc_sockaddr_format(&listener->address, socktext,
600 newlistener->address = oldlistener->address;
656 find_listener(isc_sockaddr_t *address, ns_lwreslistener_t **listenerp) {
665 if (!isc_sockaddr_equal(address, &listener->address))
695 configure_listener(isc_sockaddr_t *address, ns_lwresd_t *lwresd,
702 (void)find_listener(address, &oldlistener);
706 isc_sockaddr_format(address, socktext, sizeof(socktext));
718 result = listener_bind(listener, address);
728 isc_sockaddr_format(address, socktext, sizeof(socktext));
745 isc_sockaddr_format(address, socktext, sizeof(socktext));
782 * Run through the new lwres address list, noting sockets that
787 * address-in-use error.
806 isc_sockaddr_t address;
809 isc_sockaddr_fromin(&address, &localhost, port);
810 CHECK(configure_listener(&address, lwresd, mctx,
834 isc_sockaddr_format(&listener->address,