Lines Matching refs:session
101 session_t *session, uint8 *data, size_t len) { in read_from_peer() argument
110 session_t *session, uint8 *data, size_t len) { in send_to_peer() argument
114 uip_ipaddr_copy(&conn->ripaddr, &session->addr); in send_to_peer()
115 conn->rport = session->port; in send_to_peer()
148 const session_t *session UNUSED_PARAM, in get_psk_info()
184 const session_t *session, in get_ecdsa_key() argument
199 const session_t *session, in verify_ecdsa_key() argument
212 static session_t session; in dtls_handle_read() local
215 uip_ipaddr_copy(&session.addr, &UIP_IP_BUF->srcipaddr); in dtls_handle_read()
216 session.port = UIP_UDP_BUF->srcport; in dtls_handle_read()
217 session.size = sizeof(session.addr) + sizeof(session.port); in dtls_handle_read()
221 PRINT6ADDR(&session.addr); in dtls_handle_read()
222 PRINTF(":%d\n", uip_ntohs(session.port)); in dtls_handle_read()
224 dtls_handle_message(ctx, &session, uip_appdata, uip_datalen()); in dtls_handle_read()