Searched refs:saddr (Results 1 - 3 of 3) sorted by relevance

/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c90 static int ConvertAddr (register struct sockaddr *saddr, int *len, char **addr);
520 register struct sockaddr *saddr,
526 switch (saddr->sa_family)
536 *addr = (char *) &(((struct sockaddr_in *) saddr)->sin_addr);
541 *addr = (char *) &(((struct sockaddr_in6 *) saddr)->sin6_addr);
549 *addr = (char *) &(((struct sockaddr_dn *) saddr)->sdn_add);
519 ConvertAddr( register struct sockaddr *saddr, int *len, char **addr) argument
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/
H A Dtsolinfo.h199 struct sockaddr_storage saddr; /* socket information */ member in struct:_TsolInfo
H A Dtsolextension.c1638 namelen = sizeof (tsolinfo->saddr);
1639 if (getpeername(fd, (struct sockaddr *)&tsolinfo->saddr, &namelen) == 0
1646 errcode = getnameinfo((struct sockaddr *)&(tsolinfo->saddr), namelen,
1869 switch (tsolinfo->saddr.ss_family) {
1871 sin = (struct sockaddr_in *)&(tsolinfo->saddr);
1876 sin6 = (struct sockaddr_in6 *)&(tsolinfo->saddr);

Completed in 26 milliseconds