Lines Matching refs:session
83 session_t *session, uint8 *data, size_t len) { in read_from_peer() argument
89 dtls_write(ctx, session, data, len); in read_from_peer()
95 session_t *session, uint8 *data, size_t len) { in send_to_peer() argument
99 uip_ipaddr_copy(&conn->ripaddr, &session->addr); in send_to_peer()
100 conn->rport = session->port; in send_to_peer()
120 get_psk_info(struct dtls_context_t *ctx, const session_t *session, in get_psk_info() argument
165 const session_t *session, in get_ecdsa_key() argument
180 const session_t *session, in verify_ecdsa_key() argument
193 session_t session; in dtls_handle_read() local
196 uip_ipaddr_copy(&session.addr, &UIP_IP_BUF->srcipaddr); in dtls_handle_read()
197 session.port = UIP_UDP_BUF->srcport; in dtls_handle_read()
198 session.size = sizeof(session.addr) + sizeof(session.port); in dtls_handle_read()
200 dtls_handle_message(ctx, &session, uip_appdata, uip_datalen()); in dtls_handle_read()
326 dtls_handle_message(ctx, &session, uip_appdata, bytes_read); in PROCESS_THREAD()