Home
last modified time | relevance | path

Searched refs:SGFAM (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libwrap/
H A Dsocket.c142 (void) inet_ntop(SGFAM(sin), SGADDRP(sin), host->addr, sizeof(host->addr));
167 && (hp = gethostbyaddr(SGADDRP(sin), SGADDRSZ(sin), SGFAM(sin))) != 0) {
184 if ((hp = tcpd_gethostbyname(host->name, SGFAM(sin))) == 0) {
233 inet_ntop(SGFAM(sin), SGADDRP(sin), buf, sizeof(buf)),
H A Dtcpd.h66 #define SGFAM(sag) ((sag)->sg_family == AF_INET6 ? \ macro
86 #define SGFAM(sag) AF_INET macro
H A Drfc931.c100 if ((fp = fsocket(SGFAM(rmt_sin), SOCK_STREAM, 0)) != 0) {
H A Dhosts_access.c307 if (SGFAM(host->sin) != AF_INET6)
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_check.c87 return (inet_ntop(SGFAM(addr), SGADDRP(addr), buf, bufsize)); in sgen_toa()
H A Dpmap_svc.c354 switch (SGFAM(sgen)) { in localxprt()