Lines Matching refs:session
49 struct session *session; in tcp_received() local
54 session = get_session(addr, SESSION_TCP); in tcp_received()
55 if (!session) { in tcp_received()
60 switch (session->state) { in tcp_received()
63 zperf_reset_session_stats(session); in tcp_received()
64 session->start_time = k_uptime_ticks(); in tcp_received()
65 session->state = STATE_ONGOING; in tcp_received()
74 session->counter++; in tcp_received()
75 session->length += datalen; in tcp_received()
80 session->state = STATE_COMPLETED; in tcp_received()
82 results.total_len = session->length; in tcp_received()
84 time - session->start_time); in tcp_received()