Lines Matching refs:hostname
372 static int resolve_host(struct in_addr *sin_addr, const char *hostname)
375 if (!ff_inet_aton(hostname, sin_addr)) {
380 if (getaddrinfo(hostname, NULL, &hints, &ai))
396 hp = gethostbyname(hostname);
1737 char hostname[256], *p;
1738 /* extract only hostname */
1739 av_strlcpy(hostname, hostbuf, sizeof(hostname));
1740 p = strrchr(hostname, ':');
1748 "rtsp://%s:%d/%s\r\n", hostname, ntohs(my_rtsp_addr.sin_port), filename);