Searched refs:hostentry (Results 1 – 3 of 3) sorted by relevance
380 struct hostent *hostentry; in MPATH_GetNameFromAddr() local382 …hostentry = gethostbyaddr ((char *)&((struct sockaddr_in *)addr)->sin_addr, sizeof(struct in_addr)… in MPATH_GetNameFromAddr()383 if (hostentry) in MPATH_GetNameFromAddr()385 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1); in MPATH_GetNameFromAddr()397 struct hostent *hostentry; in MPATH_GetAddrFromName() local402 hostentry = gethostbyname (name); in MPATH_GetAddrFromName()403 if (!hostentry) in MPATH_GetAddrFromName()408 ((struct sockaddr_in *)addr)->sin_addr.s_addr = *(int *)hostentry->h_addr_list[0]; in MPATH_GetAddrFromName()
453 struct hostent *hostentry; in UDP_GetNameFromAddr() local455 …hostentry = gethostbyaddr ((char *)&((struct sockaddr_in *)addr)->sin_addr, sizeof(struct in_addr)… in UDP_GetNameFromAddr()456 if (hostentry) in UDP_GetNameFromAddr()458 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1); in UDP_GetNameFromAddr()470 struct hostent *hostentry; in UDP_GetAddrFromName() local475 hostentry = gethostbyname (name); in UDP_GetAddrFromName()476 if (!hostentry) in UDP_GetAddrFromName()481 ((struct sockaddr_in *)addr)->sin_addr.s_addr = *(int *)hostentry->h_addr_list[0]; in UDP_GetAddrFromName()
512 struct hostent *hostentry; in WINS_GetNameFromAddr() local514 …hostentry = pgethostbyaddr ((char *)&((struct sockaddr_in *)addr)->sin_addr, sizeof(struct in_addr… in WINS_GetNameFromAddr()515 if (hostentry) in WINS_GetNameFromAddr()517 Q_strncpy (name, (char *)hostentry->h_name, NET_NAMELEN - 1); in WINS_GetNameFromAddr()529 struct hostent *hostentry; in WINS_GetAddrFromName() local534 hostentry = pgethostbyname (name); in WINS_GetAddrFromName()535 if (!hostentry) in WINS_GetAddrFromName()540 ((struct sockaddr_in *)addr)->sin_addr.s_addr = *(int *)hostentry->h_addr_list[0]; in WINS_GetAddrFromName()