Searched refs:sa2sin (Results 1 – 6 of 6) sorted by relevance
77 static __inline__ struct sockaddr_in *sa2sin (struct sockaddr *sa) in sa2sin() function102 #define sa2sin(S) ((struct sockaddr_in *)(S)) macro
42 #define sa2sin(x) ((struct sockaddr_in *)(x)) macro113 addr = (char *)&sa2sin(sa)->sin_addr; in getnameinfo()116 port = (sa2sin(sa)->sin_port); /* network byte order */ in getnameinfo()
91 he = res_gethostbyaddr((char*)(&sa2sin(addr)->sin_addr), in krb5int_address_get_realm()92 sizeof(sa2sin(addr)->sin_addr), AF_INET); in krb5int_address_get_realm()
99 ptr = &sa2sin(aip->ai_addr)->sin_addr; in krb5_os_hostaddr()
78 sa2sin (a->ai_addr)->sin_port = htons(DEFAULT_KPASSWD_PORT); in krb5_locate_kpasswd()
82 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()