Lines Matching refs:session
142 static session_t session; variable
529 const session_t *session UNUSED_PARAM, in get_psk_info()
571 const session_t *session, in get_ecdsa_key() argument
586 const session_t *session, in verify_ecdsa_key() argument
937 session_t *session, in read_from_peer() argument
947 memcpy(&(addr.addr), &(session->addr), session->size); in read_from_peer()
948 addr.size = session->size; in read_from_peer()
970 dtls_renegotiate(ctx, session); in read_from_peer()
990 session_t *session, in send_to_peer() argument
1004 &session->addr.sa, session->size); in send_to_peer()
1016 memset(&session, 0, sizeof(session_t)); in dtls_handle_read()
1017 session.size = sizeof(session.addr); in dtls_handle_read()
1019 0, &session.addr.sa, &session.size); in dtls_handle_read()
1024 dtls_dsrv_log_addr(DTLS_LOG_DEBUG, "peer", &session); in dtls_handle_read()
1029 return dtls_handle_message(ctx, &session, user_data->buf, in dtls_handle_read()
1033 static int handle_event(struct dtls_context_t *ctx, session_t *session, in handle_event() argument
1511 ssize_t bytes_written = dtls_write(dtls_context, &session, in my_coap_network_send()