• Home
  • Raw
  • Download

Lines Matching refs:command

111         FwmarkCommand command = {FwmarkCommand::ON_ACCEPT, 0, 0, 0};  in netdClientAccept4()  local
112 if (int error = FwmarkClient().send(&command, acceptedSocket, nullptr)) { in netdClientAccept4()
122 FwmarkCommand command = {FwmarkCommand::ON_CONNECT, 0, 0, 0}; in netdClientConnect() local
123 if (int error = FwmarkClient().send(&command, sockfd, nullptr)) { in netdClientConnect()
138 FwmarkCommand command = {FwmarkCommand::ON_CONNECT_COMPLETE, /* netId (ignored) */ 0, in netdClientConnect() local
141 FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect()
368 FwmarkCommand command = {FwmarkCommand::SELECT_NETWORK, netId, 0, 0}; in setNetworkForSocket() local
369 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForSocket()
384 FwmarkCommand command = {FwmarkCommand::PROTECT_FROM_VPN, 0, 0, 0}; in protectFromVpn() local
385 return FwmarkClient().send(&command, socketFd, nullptr); in protectFromVpn()
390 FwmarkCommand command = {FwmarkCommand::SELECT_FOR_USER, 0, uid, 0}; in setNetworkForUser() local
391 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForUser()
395 FwmarkCommand command = {FwmarkCommand::QUERY_USER_ACCESS, netId, uid, 0}; in queryUserAccess() local
396 return FwmarkClient().send(&command, -1, nullptr); in queryUserAccess()
401 FwmarkCommand command = {FwmarkCommand::TAG_SOCKET, 0, uid, tag}; in tagSocket() local
402 return FwmarkClient().send(&command, socketFd, nullptr); in tagSocket()
407 FwmarkCommand command = {FwmarkCommand::UNTAG_SOCKET, 0, 0, 0}; in untagSocket() local
408 return FwmarkClient().send(&command, socketFd, nullptr); in untagSocket()
412 FwmarkCommand command = {FwmarkCommand::SET_COUNTERSET, 0, uid, counterSet}; in setCounterSet() local
413 return FwmarkClient().send(&command, -1, nullptr); in setCounterSet()
417 FwmarkCommand command = {FwmarkCommand::DELETE_TAGDATA, 0, uid, tag}; in deleteTagData() local
418 return FwmarkClient().send(&command, -1, nullptr); in deleteTagData()