Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dsocket-utils.h77 static __inline__ struct sockaddr_in *sa2sin (struct sockaddr *sa) in sa2sin() function
102 #define sa2sin(S) ((struct sockaddr_in *)(S)) macro
/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c44 #define sa2sin(x) ((struct sockaddr_in *)(x)) macro
115 addr = (char *)&sa2sin(sa)->sin_addr; in getnameinfo()
118 port = (sa2sin(sa)->sin_port); /* network byte order */ in getnameinfo()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddef_realm.c88 he = res_gethostbyaddr((char*)(&sa2sin(addr)->sin_addr), in krb5int_address_get_realm()
89 sizeof(sa2sin(addr)->sin_addr), AF_INET); in krb5int_address_get_realm()
H A Dhostaddr.c99 ptr = &sa2sin(aip->ai_addr)->sin_addr; in krb5_os_hostaddr()
H A Dchangepw.c78 sa2sin (a->ai_addr)->sin_port = htons(DEFAULT_KPASSWD_PORT); in krb5_locate_kpasswd()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c82 sa2sin(addr)->sin_port = port; in set_sa_port()
698 faddr->address->contents = (krb5_octet *) &sa2sin(sa)->sin_addr; in init_addr()
699 faddr->port = ntohs(sa2sin(sa)->sin_port); in init_addr()