Lines Matching refs:res0
322 struct addrinfo *res0; in udp_set_url() local
325 res0 = ff_ip_resolve_host(h, hostname, port, SOCK_DGRAM, AF_UNSPEC, 0); in udp_set_url()
326 if (!res0) return AVERROR(EIO); in udp_set_url()
327 memcpy(addr, res0->ai_addr, res0->ai_addrlen); in udp_set_url()
328 addr_len = res0->ai_addrlen; in udp_set_url()
329 freeaddrinfo(res0); in udp_set_url()
339 struct addrinfo *res0, *res; in udp_socket_create() local
344 res0 = ff_ip_resolve_host(h, (localaddr && localaddr[0]) ? localaddr : NULL, in udp_socket_create()
347 if (!res0) in udp_socket_create()
349 for (res = res0; res; res=res->ai_next) { in udp_socket_create()
364 freeaddrinfo(res0); in udp_socket_create()
371 if(res0) in udp_socket_create()
372 freeaddrinfo(res0); in udp_socket_create()