Lines Matching refs:hostname
329 static int resolve_host(struct in_addr *sin_addr, const char *hostname)
332 if (!ff_inet_aton(hostname, sin_addr)) {
338 if (getaddrinfo(hostname, NULL, &hints, &ai))
354 hp = gethostbyname(hostname);
1673 char hostname[256], *p;
1674 /* extract only hostname */
1675 av_strlcpy(hostname, hostbuf, sizeof(hostname));
1676 p = strrchr(hostname, ':');
1684 "rtsp://%s:%d/%s\r\n", hostname, ntohs(my_rtsp_addr.sin_port), filename);