Searched refs:SGFAM (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libwrap/
H A Dsocket.c141 (void) inet_ntop(SGFAM(sin), SGADDRP(sin), host->addr, sizeof(host->addr));
166 && (hp = gethostbyaddr(SGADDRP(sin), SGADDRSZ(sin), SGFAM(sin))) != 0) {
183 if ((hp = tcpd_gethostbyname(host->name, SGFAM(sin))) == 0) {
232 inet_ntop(SGFAM(sin), SGADDRP(sin), buf, sizeof(buf)),
H A Drfc931.c106 if ((fp = fsocket(SGFAM(rmt_sin), SOCK_STREAM, 0)) != 0) {
H A Dtcpd.h60 #define SGFAM(sag) ((sag)->sg_family == AF_INET6 ? \ macro
80 #define SGFAM(sag) AF_INET macro
H A Dhosts_access.c309 if (SGFAM(host->sin) != AF_INET6)

Completed in 28 milliseconds