hp = __switch_gethostbyaddr(addr, len, type);
hp = __switch_gethostbyaddr(addr, len, type); }
sm_gethostbyaddr(addr, len, type)	char *addr;	int len;	int type;{	struct hostent *hp;#if (SOLARIS > 10000 && SOLARIS < 20400) || (defined(SOLARIS) && SOLARIS < 204)# if SOLARIS == 20300 || SOLARIS == 203	static struct hostent he;	static char buf[1000];	extern struct hostent *_switch_gethostbyaddr_r();	hp = _switch_gethostbyaddr_r(addr, len, type, &he, buf, sizeof(buf), &h_errno);# else /* SOLARIS == 20300 || SOLARIS == 203 */	extern struct hostent *__switch_gethostbyaddr();	hp = __switch_gethostbyaddr(addr, len, type);# endif /* SOLARIS == 20300 || SOLARIS == 203 */#else /* (SOLARIS > 10000 && SOLARIS < 20400) || (defined(SOLARIS) && SOLARIS < 204) */# if NETINET6	int err;# endif /* NETINET6 */# if NETINET6	hp = getipnodebyaddr(addr, len, type, &err);	h_errno = err;# else /* NETINET6 */	hp = gethostbyaddr(addr, len, type);# endif /* NETINET6 */	return hp;#endif /* (SOLARIS > 10000 && SOLARIS < 20400) || (defined(SOLARIS) && SOLARIS < 204) */}