Lines Matching refs:ls

52     nxt_listening_socket_t *ls);
1022 nxt_listening_socket_t ls; in nxt_main_port_socket_handler() local
1043 ls.socket = -1; in nxt_main_port_socket_handler()
1044 ls.error = NXT_SOCKET_ERROR_SYSTEM; in nxt_main_port_socket_handler()
1045 ls.start = message; in nxt_main_port_socket_handler()
1046 ls.end = message + sizeof(message); in nxt_main_port_socket_handler()
1051 ret = nxt_main_listening_socket(sa, &ls); in nxt_main_port_socket_handler()
1055 (size_t) sa->length, nxt_sockaddr_start(sa), ls.socket); in nxt_main_port_socket_handler()
1062 size = ls.end - ls.start; in nxt_main_port_socket_handler()
1064 nxt_alert(task, "%*s", size, ls.start); in nxt_main_port_socket_handler()
1069 *out->mem.free++ = (uint8_t) ls.error; in nxt_main_port_socket_handler()
1071 out->mem.free = nxt_cpymem(out->mem.free, ls.start, size); in nxt_main_port_socket_handler()
1077 nxt_port_socket_write(task, port, type, ls.socket, msg->port_msg.stream, in nxt_main_port_socket_handler()
1083 nxt_main_listening_socket(nxt_sockaddr_t *sa, nxt_listening_socket_t *ls) in nxt_main_listening_socket() argument
1099 ls->error = NXT_SOCKET_ERROR_NOINET6; in nxt_main_listening_socket()
1104 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1112 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1124 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1143 ls->error = NXT_SOCKET_ERROR_ACCESS; in nxt_main_listening_socket()
1148 ls->error = NXT_SOCKET_ERROR_PATH; in nxt_main_listening_socket()
1158 ls->error = NXT_SOCKET_ERROR_PORT; in nxt_main_listening_socket()
1162 ls->error = NXT_SOCKET_ERROR_INUSE; in nxt_main_listening_socket()
1166 ls->error = NXT_SOCKET_ERROR_NOADDR; in nxt_main_listening_socket()
1171 ls->end = nxt_sprintf(ls->start, ls->end, "bind(\\\"%*s\\\") failed %E", in nxt_main_listening_socket()
1188 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1197 ls->socket = s; in nxt_main_listening_socket()