Lines Matching full:slot

139 	int slot = POINTER_TO_INT(ptr1);  in handle_data()  local
147 client = data->tcp.accepted[slot].sock; in handle_data()
151 data->tcp.accepted[slot].recv_buffer + offset, in handle_data()
152 sizeof(data->tcp.accepted[slot].recv_buffer) - offset, in handle_data()
174 if (offset == sizeof(data->tcp.accepted[slot].recv_buffer) || in handle_data()
176 data->tcp.accepted[slot].recv_buffer + offset, in handle_data()
177 sizeof(data->tcp.accepted[slot].recv_buffer) - in handle_data()
183 data->tcp.accepted[slot].recv_buffer, in handle_data()
194 if (++data->tcp.accepted[slot].counter % 1000 == 0U) { in handle_data()
196 data->tcp.accepted[slot].counter); in handle_data()
209 data->tcp.accepted[slot].sock = -1; in handle_data()
228 int slot; in process_tcp() local
242 slot = get_free_slot(data); in process_tcp()
243 if (slot < 0) { in process_tcp()
249 data->tcp.accepted[slot].sock = client; in process_tcp()
257 tcp6_handler_in_use[slot] = true; in process_tcp()
260 &tcp6_handler_thread[slot], in process_tcp()
261 tcp6_handler_stack[slot], in process_tcp()
262 K_THREAD_STACK_SIZEOF(tcp6_handler_stack[slot]), in process_tcp()
264 INT_TO_POINTER(slot), data, &tcp6_handler_in_use[slot], in process_tcp()
273 snprintk(name, sizeof(name), "tcp6[%3d]", (uint8_t)slot); in process_tcp()
274 k_thread_name_set(&tcp6_handler_thread[slot], name); in process_tcp()
281 tcp4_handler_in_use[slot] = true; in process_tcp()
284 &tcp4_handler_thread[slot], in process_tcp()
285 tcp4_handler_stack[slot], in process_tcp()
286 K_THREAD_STACK_SIZEOF(tcp4_handler_stack[slot]), in process_tcp()
288 INT_TO_POINTER(slot), data, &tcp4_handler_in_use[slot], in process_tcp()
297 snprintk(name, sizeof(name), "tcp4[%3d]", (uint8_t)slot); in process_tcp()
298 k_thread_name_set(&tcp4_handler_thread[slot], name); in process_tcp()