Home
last modified time | relevance | path

Searched refs:hostentry (Results 1 – 3 of 3) sorted by relevance

/external/quake/quake/src/WinQuake/
Dnet_mp.cpp380 struct hostent *hostentry; in MPATH_GetNameFromAddr() local
382hostentry = 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() local
402 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()
Dnet_udp.cpp453 struct hostent *hostentry; in UDP_GetNameFromAddr() local
455hostentry = 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() local
475 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()
Dnet_wins.cpp512 struct hostent *hostentry; in WINS_GetNameFromAddr() local
514hostentry = 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() local
534 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()