Home
last modified time | relevance | path

Searched refs:sa2sin6 (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c45 #define sa2sin6(x) ((struct sockaddr_in6 *)(x)) macro
121 addr = (char *)&sa2sin6(sa)->sin6_addr; in getnameinfo()
124 port = (sa2sin6(sa)->sin6_port); /* network byte order */ in getnameinfo()
198 (sa2sin6(sa)->sin6_scope_id != 0)) { in getnameinfo()
209 if (IN6_IS_ADDR_LINKSCOPE(&(sa2sin6(sa)->sin6_addr))) { in getnameinfo()
210 if ((err = addzoneid(sa2sin6(sa), host, in getnameinfo()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dsocket-utils.h82 static __inline__ struct sockaddr_in6 *sa2sin6 (struct sockaddr *sa) in sa2sin6() function
103 #define sa2sin6(S) ((struct sockaddr_in6 *)(S)) macro
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddef_realm.c93 (char*)(&sa2sin6(addr)->sin6_addr), in krb5int_address_get_realm()
94 sizeof(sa2sin6(addr)->sin6_addr), AF_INET6); in krb5int_address_get_realm()
H A Dhostaddr.c106 ptr = &sa2sin6(aip->ai_addr)->sin6_addr; in krb5_os_hostaddr()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c86 sa2sin6(addr)->sin6_port = port; in set_sa_port()
703 if (IN6_IS_ADDR_V4MAPPED(&sa2sin6(sa)->sin6_addr)) { in init_addr()
708 (krb5_octet *) &sa2sin6(sa)->sin6_addr; in init_addr()
712 faddr->address->contents = (krb5_octet *) &sa2sin6(sa)->sin6_addr; in init_addr()
714 faddr->port = ntohs(sa2sin6(sa)->sin6_port); in init_addr()