Searched defs:sa2sin (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dsocket-utils.h77 static __inline__ struct sockaddr_in *sa2sin (struct sockaddr *sa) function
102 #define sa2sin(S) ((struct sockaddr_in *)(S)) macro
/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c40 #define sa2sin(x) ((struct sockaddr_in *)(x)) macro
113 addr = (char *)&sa2sin(sa)->sin_addr;
117 port = (sa2sin(sa)->sin_port); /* network byte order */

Completed in 21 milliseconds