Lines Matching defs:socketFd
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) {
90 if (getsockopt(*socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen) == -1) {
200 if (setsockopt(*socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue,