Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c43 #define sa2sin6(x) ((struct sockaddr_in6 *)(x)) macro
119 addr = (char *)&sa2sin6(sa)->sin6_addr; in getnameinfo()
122 port = (sa2sin6(sa)->sin6_port); /* network byte order */ in getnameinfo()
196 (sa2sin6(sa)->sin6_scope_id != 0)) { in getnameinfo()
207 if (IN6_IS_ADDR_LINKSCOPE(&(sa2sin6(sa)->sin6_addr))) { in getnameinfo()
208 if ((err = addzoneid(sa2sin6(sa), host, in getnameinfo()
/illumos-gate/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
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddef_realm.c96 (char*)(&sa2sin6(addr)->sin6_addr), in krb5int_address_get_realm()
97 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()
/illumos-gate/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()