Lines Matching refs:res
171 int res; in try_send() local
172 res = dtls_write(ctx, dst, (uint8 *)buf, len); in try_send()
173 if (res >= 0) { in try_send()
174 memmove(buf, buf + res, len - res); in try_send()
175 len -= res; in try_send()
243 struct addrinfo *res, *ainfo; in resolve_address() local
258 error = getaddrinfo(addrstr, "", &hints, &res); in resolve_address()
265 for (ainfo = res; ainfo != NULL; ainfo = ainfo->ai_next) { in resolve_address()
278 freeaddrinfo(res); in resolve_address()
349 int opt, res; local
418 res = resolve_address(argv[optind++], &dst.addr.sa);
419 if (res < 0) {
423 dst.size = res;