Lines Matching refs:permission
472 int modifyIncomingPacketMark(unsigned netId, const char* interface, Permission permission, in modifyIncomingPacketMark() argument
479 fwmark.permission = permission; in modifyIncomingPacketMark()
545 fwmark.permission = PERMISSION_SYSTEM; in modifyVpnSystemPermissionRule()
546 mask.permission = PERMISSION_SYSTEM; in modifyVpnSystemPermissionRule()
562 Permission permission, uid_t uidStart, in modifyExplicitNetworkRule() argument
573 fwmark.permission = permission; in modifyExplicitNetworkRule()
574 mask.permission = permission; in modifyExplicitNetworkRule()
585 Permission permission, uid_t uidStart, in modifyOutputInterfaceRules() argument
590 fwmark.permission = permission; in modifyOutputInterfaceRules()
591 mask.permission = permission; in modifyOutputInterfaceRules()
623 fwmark.permission = PERMISSION_NONE; in modifyImplicitNetworkRule()
624 mask.permission = PERMISSION_NONE; in modifyImplicitNetworkRule()
637 Permission permission) { in modifyVpnFallthroughRule() argument
649 fwmark.permission = permission; in modifyVpnFallthroughRule()
650 mask.permission = permission; in modifyVpnFallthroughRule()
674 fwmark.permission = PERMISSION_SYSTEM; in addLegacyRouteRules()
675 mask.permission = PERMISSION_SYSTEM; in addLegacyRouteRules()
754 Permission permission, bool add) { in modifyPhysicalNetwork() argument
760 if (int ret = modifyIncomingPacketMark(netId, interface, permission, add)) { in modifyPhysicalNetwork()
763 if (int ret = modifyExplicitNetworkRule(netId, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork()
767 if (int ret = modifyOutputInterfaceRules(interface, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork()
792 if (permission == PERMISSION_NONE) { in modifyPhysicalNetwork()
854 Permission permission) { in modifyDefaultNetwork() argument
866 fwmark.permission = permission; in modifyDefaultNetwork()
867 mask.permission = permission; in modifyDefaultNetwork()
1050 Permission permission) { in addInterfaceToPhysicalNetwork() argument
1051 if (int ret = modifyPhysicalNetwork(netId, interface, permission, ACTION_ADD)) { in addInterfaceToPhysicalNetwork()
1060 Permission permission) { in removeInterfaceFromPhysicalNetwork() argument
1061 if (int ret = modifyPhysicalNetwork(netId, interface, permission, ACTION_DEL)) { in removeInterfaceFromPhysicalNetwork()
1128 int RouteController::addInterfaceToDefaultNetwork(const char* interface, Permission permission) { in addInterfaceToDefaultNetwork() argument
1129 return modifyDefaultNetwork(RTM_NEWRULE, interface, permission); in addInterfaceToDefaultNetwork()
1133 Permission permission) { in removeInterfaceFromDefaultNetwork() argument
1134 return modifyDefaultNetwork(RTM_DELRULE, interface, permission); in removeInterfaceFromDefaultNetwork()
1164 Permission permission) { in addVirtualNetworkFallthrough() argument
1165 return modifyVpnFallthroughRule(RTM_NEWRULE, vpnNetId, physicalInterface, permission); in addVirtualNetworkFallthrough()
1170 Permission permission) { in removeVirtualNetworkFallthrough() argument
1171 return modifyVpnFallthroughRule(RTM_DELRULE, vpnNetId, physicalInterface, permission); in removeVirtualNetworkFallthrough()