Home
last modified time | relevance | path

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

/haiku/src/libs/util/
H A Drealhostname.c93 struct sockaddr_in lsin; in realhostname_sa() local
107 memset(&lsin, 0, sizeof(lsin)); in realhostname_sa()
108 lsin.sin_len = sizeof(struct sockaddr_in); in realhostname_sa()
109 lsin.sin_family = AF_INET; in realhostname_sa()
110 lsin.sin_port = sin6->sin6_port; in realhostname_sa()
111 memcpy(&lsin.sin_addr, &sin6->sin6_addr.s6_addr[12], in realhostname_sa()
113 addr = (struct sockaddr *)&lsin; in realhostname_sa()
114 addrlen = lsin.sin_len; in realhostname_sa()