Lines Matching refs:ls

52     nxt_listening_socket_t *ls);
1034 nxt_listening_socket_t ls; in nxt_main_port_socket_handler() local
1055 ls.socket = -1; in nxt_main_port_socket_handler()
1056 ls.error = NXT_SOCKET_ERROR_SYSTEM; in nxt_main_port_socket_handler()
1057 ls.start = message; in nxt_main_port_socket_handler()
1058 ls.end = message + sizeof(message); in nxt_main_port_socket_handler()
1063 ret = nxt_main_listening_socket(sa, &ls); in nxt_main_port_socket_handler()
1067 (size_t) sa->length, nxt_sockaddr_start(sa), ls.socket); in nxt_main_port_socket_handler()
1074 size = ls.end - ls.start; in nxt_main_port_socket_handler()
1076 nxt_alert(task, "%*s", size, ls.start); in nxt_main_port_socket_handler()
1081 *out->mem.free++ = (uint8_t) ls.error; in nxt_main_port_socket_handler()
1083 out->mem.free = nxt_cpymem(out->mem.free, ls.start, size); in nxt_main_port_socket_handler()
1089 nxt_port_socket_write(task, port, type, ls.socket, msg->port_msg.stream, in nxt_main_port_socket_handler()
1095 nxt_main_listening_socket(nxt_sockaddr_t *sa, nxt_listening_socket_t *ls) in nxt_main_listening_socket() argument
1111 ls->error = NXT_SOCKET_ERROR_NOINET6; in nxt_main_listening_socket()
1116 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()
1136 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1155 ls->error = NXT_SOCKET_ERROR_ACCESS; in nxt_main_listening_socket()
1160 ls->error = NXT_SOCKET_ERROR_PATH; in nxt_main_listening_socket()
1170 ls->error = NXT_SOCKET_ERROR_PORT; in nxt_main_listening_socket()
1174 ls->error = NXT_SOCKET_ERROR_INUSE; in nxt_main_listening_socket()
1178 ls->error = NXT_SOCKET_ERROR_NOADDR; in nxt_main_listening_socket()
1183 ls->end = nxt_sprintf(ls->start, ls->end, "bind(\\\"%*s\\\") failed %E", in nxt_main_listening_socket()
1198 ls->end = nxt_sprintf(ls->start, ls->end, in nxt_main_listening_socket()
1207 ls->socket = s; in nxt_main_listening_socket()