Home
last modified time | relevance | path

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

/system/netd/server/
DFwmarkServer.cpp103 FwmarkConnectInfo connectInfo; in processClient() local
105 char buf[sizeof(command) + sizeof(connectInfo)]; in processClient()
117 memcpy(&connectInfo, buf + sizeof(command), sizeof(connectInfo)); in processClient()
121 expectedLen += sizeof(connectInfo); in processClient()
241 const int ret = getnameinfo((sockaddr*) &connectInfo.addr, sizeof(connectInfo.addr), in processClient()
245 netdEventListener->onConnectEvent(fwmark.netId, connectInfo.error, in processClient()
246 connectInfo.latencyMs, in processClient()
/system/netd/client/
DFwmarkClient.cpp73 int FwmarkClient::send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo) { in send() argument
90 { connectInfo, (connectInfo ? sizeof(*connectInfo) : 0) }, in send()
DFwmarkClient.h37 int send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo);
DNetdClient.cpp155 FwmarkConnectInfo connectInfo(0, 0, addr); in netdClientConnect() local
156 error = FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect()
174 FwmarkConnectInfo connectInfo(ret == 0 ? 0 : connectErrno, latencyMs, addr); in netdClientConnect() local
179 FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect()