Lines Matching refs:session
20 static struct session sessions[SESSION_PROTO_END][SESSION_MAX];
23 struct session *get_session(const struct sockaddr *addr, in get_session()
26 struct session *active = NULL; in get_session()
27 struct session *free = NULL; in get_session()
39 struct session *ptr = &sessions[proto][i]; in get_session()
89 void zperf_reset_session_stats(struct session *session) in zperf_reset_session_stats() argument
91 if (!session) { in zperf_reset_session_stats()
95 session->counter = 0U; in zperf_reset_session_stats()
96 session->start_time = 0U; in zperf_reset_session_stats()
97 session->next_id = 1U; in zperf_reset_session_stats()
98 session->length = 0U; in zperf_reset_session_stats()
99 session->outorder = 0U; in zperf_reset_session_stats()
100 session->error = 0U; in zperf_reset_session_stats()
101 session->jitter = 0; in zperf_reset_session_stats()
102 session->last_transit_time = 0; in zperf_reset_session_stats()