HomeSort by relevance Sort by last modified time
    Searched defs:socketFd (Results 1 - 2 of 2) sorted by null

  /system/netd/server/
FwmarkServer.cpp 32 int socketFd = -1;
33 int error = processClient(client, &socketFd);
34 if (socketFd >= 0) {
35 close(socketFd);
48 int FwmarkServer::processClient(SocketClient* client, int* socketFd) {
62 char cmsg[CMSG_SPACE(sizeof(*socketFd))];
80 cmsgh->cmsg_len == CMSG_LEN(sizeof(*socketFd))) {
81 memcpy(socketFd, CMSG_DATA(cmsgh), sizeof(*socketFd));
84 if (*socketFd < 0)
    [all...]
  /system/netd/client/
NetdClient.cpp 85 int socketFd = libcSocket(domain, type, protocol);
86 if (socketFd == -1) {
91 if (int error = setNetworkForSocket(netId, socketFd)) {
92 return closeFdAndSetErrno(socketFd, error);
95 return socketFd;
117 int socketFd;
119 socketFd = libcSocket(AF_INET6, SOCK_DGRAM, 0);
121 socketFd = socket(AF_INET6, SOCK_DGRAM, 0);
123 if (socketFd < 0) {
126 int error = setNetworkForSocket(netId, socketFd);
    [all...]

Completed in 1074 milliseconds