Lines Matching refs:dst
90 try_send(struct dtls_context_t *ctx, session_t *dst) { in try_send() argument
92 res = dtls_write(ctx, dst, (uint8 *)buf, buflen); in try_send()
262 init_dtls(session_t *dst) { in init_dtls() argument
279 dst->size = sizeof(dst->addr) + sizeof(dst->port); in init_dtls()
280 dst->port = UIP_HTONS(20220); in init_dtls()
282 set_connection_address(&dst->addr); in init_dtls()
283 client_conn = udp_new(&dst->addr, 0, NULL); in init_dtls()
284 udp_bind(client_conn, dst->port); in init_dtls()
287 PRINT6ADDR(&dst->addr); in init_dtls()
288 PRINTF(":%d\n", uip_ntohs(dst->port)); in init_dtls()
301 static session_t dst; in PROCESS_THREAD() local
307 init_dtls(&dst); in PROCESS_THREAD()
329 connected = dtls_connect(dtls_context, &dst) >= 0; in PROCESS_THREAD()
331 try_send(dtls_context, &dst); in PROCESS_THREAD()