Lines Matching refs:dst
261 resolve_address(const str *server, struct sockaddr *dst) { in resolve_address() argument
290 memcpy(dst, ainfo->ai_addr, len); in resolve_address()
1026 coap_address_t dst; in main() local
1133 res = resolve_address(&server, &dst.addr.sa); in main()
1140 dst.size = res; in main()
1141 dst.addr.sin.sin_port = htons(port); in main()
1145 switch (dst.addr.sa.sa_family) { in main()
1147 addrptr = &dst.addr.sin.sin_addr; in main()
1153 addrptr = &dst.addr.sin6.sin6_addr; in main()
1173 && (inet_ntop(dst.addr.sa.sa_family, addrptr, addr, sizeof(addr)) != 0) in main()
1199 tid = coap_send_confirmed(ctx, ctx->endpoint, &dst, pdu); in main()
1201 tid = coap_send(ctx, ctx->endpoint, &dst, pdu); in main()
1253 clear_obs(ctx, ctx->endpoint, &dst); /* FIXME: handle error case COAP_TID_INVALID */ in main()