Home
last modified time | relevance | path

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

/system/core/libnetutils/
Difc_utils.c224 struct sockaddr_in *sin = (struct sockaddr_in *) sa; in init_sockaddr_in() local
225 sin->sin_family = AF_INET; in init_sockaddr_in()
226 sin->sin_port = 0; in init_sockaddr_in()
227 sin->sin_addr.s_addr = addr; in init_sockaddr_in()
287 struct sockaddr_in *sin = (struct sockaddr_in *) &ss; in ifc_act_on_address() local
288 addr = &sin->sin_addr; in ifc_act_on_address()
/system/netd/server/
DNetdConstants.cpp188 sockaddr_in *sin = (sockaddr_in *) res[0].ai_addr; in parsePrefix() local
189 rawAddress = &sin->sin_addr; in parsePrefix()