1 /* 2 * Copyright (C) 2016 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef _CONTROLLERS_H__ 18 #define _CONTROLLERS_H__ 19 20 #include <sysutils/FrameworkListener.h> 21 22 #include "NetworkController.h" 23 #include "TetherController.h" 24 #include "NatController.h" 25 #include "PppController.h" 26 #include "SoftapController.h" 27 #include "BandwidthController.h" 28 #include "IdletimerController.h" 29 #include "InterfaceController.h" 30 #include "ResolverController.h" 31 #include "FirewallController.h" 32 #include "ClatdController.h" 33 #include "StrictController.h" 34 #include "EventReporter.h" 35 36 namespace android { 37 namespace net { 38 39 struct Controllers { 40 Controllers(); 41 42 NetworkController netCtrl; 43 TetherController tetherCtrl; 44 NatController natCtrl; 45 PppController pppCtrl; 46 SoftapController softapCtrl; 47 BandwidthController bandwidthCtrl; 48 IdletimerController idletimerCtrl; 49 ResolverController resolverCtrl; 50 FirewallController firewallCtrl; 51 ClatdController clatdCtrl; 52 StrictController strictCtrl; 53 EventReporter eventReporter; 54 }; 55 56 extern Controllers* gCtls; 57 58 } // namespace net 59 } // namespace android 60 61 #endif // _CONTROLLERS_H__ 62