Lines Matching refs:listener
832 srvr_sockaddr_union_t listener; in sockdaemon() local
882 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon()
883 listener.sa4.sin_family = AF_INET; in sockdaemon()
884 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon()
885 listener.sa4.sin_port = htons(*listenport); in sockdaemon()
886 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon()
890 memset(&listener.sa6, 0, sizeof(listener.sa6)); in sockdaemon()
891 listener.sa6.sin6_family = AF_INET6; in sockdaemon()
892 listener.sa6.sin6_addr = in6addr_any; in sockdaemon()
893 listener.sa6.sin6_port = htons(*listenport); in sockdaemon()
894 rc = bind(sock, &listener.sa, sizeof(listener.sa6)); in sockdaemon()
899 rc = bind_unix_socket(sock, unix_socket, &listener.sau); in sockdaemon()