Lines Matching refs:command
141 FwmarkCommand command = {FwmarkCommand::ON_ACCEPT, 0, 0, 0}; in netdClientAccept4() local
142 if (int error = FwmarkClient().send(&command, acceptedSocket, nullptr)) { in netdClientAccept4()
152 FwmarkCommand command = {FwmarkCommand::ON_CONNECT, 0, 0, 0}; in netdClientConnect() local
156 error = FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect()
158 error = FwmarkClient().send(&command, sockfd, nullptr); in netdClientConnect()
176 FwmarkCommand command = {FwmarkCommand::ON_CONNECT_COMPLETE, /* netId (ignored) */ 0, in netdClientConnect() local
179 FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect()
211 FwmarkCommand command = {FwmarkCommand::ON_SENDMMSG, 0, 0, 0}; in netdClientSendmmsg() local
212 FwmarkClient().send(&command, sockfd, &sendmmsgInfo); in netdClientSendmmsg()
226 FwmarkCommand command = {FwmarkCommand::ON_SENDMSG, 0, 0, 0}; in netdClientSendmsg() local
227 FwmarkClient().send(&command, sockfd, &sendmsgInfo); in netdClientSendmsg()
239 FwmarkCommand command = {FwmarkCommand::ON_SENDTO, 0, 0, 0}; in netdClientSendto() local
240 FwmarkClient().send(&command, sockfd, &sendtoInfo); in netdClientSendto()
478 FwmarkCommand command = {FwmarkCommand::SELECT_NETWORK, netId, 0, 0}; in setNetworkForSocket() local
479 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForSocket()
492 FwmarkCommand command = {FwmarkCommand::PROTECT_FROM_VPN, 0, 0, 0}; in protectFromVpn() local
493 return FwmarkClient().send(&command, socketFd, nullptr); in protectFromVpn()
498 FwmarkCommand command = {FwmarkCommand::SELECT_FOR_USER, 0, uid, 0}; in setNetworkForUser() local
499 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForUser()
503 FwmarkCommand command = {FwmarkCommand::QUERY_USER_ACCESS, netId, uid, 0}; in queryUserAccess() local
504 return FwmarkClient().send(&command, -1, nullptr); in queryUserAccess()
509 FwmarkCommand command = {FwmarkCommand::TAG_SOCKET, 0, uid, tag}; in tagSocket() local
510 return FwmarkClient().send(&command, socketFd, nullptr); in tagSocket()
515 FwmarkCommand command = {FwmarkCommand::UNTAG_SOCKET, 0, 0, 0}; in untagSocket() local
516 return FwmarkClient().send(&command, socketFd, nullptr); in untagSocket()
520 FwmarkCommand command = {FwmarkCommand::SET_COUNTERSET, 0, uid, counterSet}; in setCounterSet() local
521 return FwmarkClient().send(&command, -1, nullptr); in setCounterSet()
525 FwmarkCommand command = {FwmarkCommand::DELETE_TAGDATA, 0, uid, tag}; in deleteTagData() local
526 return FwmarkClient().send(&command, -1, nullptr); in deleteTagData()