Lines Matching refs:dst
170 try_send(struct dtls_context_t *ctx, session_t *dst) { in try_send() argument
172 res = dtls_write(ctx, dst, (uint8 *)buf, len); in try_send()
241 resolve_address(const char *server, struct sockaddr *dst) { in resolve_address() argument
271 memcpy(dst, ainfo->ai_addr, ainfo->ai_addrlen); in resolve_address()
350 session_t dst; local
416 memset(&dst, 0, sizeof(session_t));
418 res = resolve_address(argv[optind++], &dst.addr.sa);
423 dst.size = res;
427 dst.addr.sin.sin_port = htons(atoi(optind < argc ? argv[optind++] : port_str));
431 fd = socket(dst.addr.sa.sa_family, SOCK_DGRAM, 0);
470 dtls_connect(dtls_context, &dst);
502 dtls_close(dtls_context, &dst);
507 dtls_renegotiate(dtls_context, &dst);
510 try_send(dtls_context, &dst);