Searched refs:extIface (Results 1 - 5 of 5) sorted by last modified time

/system/netd/
H A DBandwidthController.cpp1102 bool filterPair = filter.intIface[0] && filter.extIface[0];
1123 * The following assumes that the 1st rule has in:extIface out:intIface,
1127 if (filter.intIface[0] && filter.extIface[0]) {
1128 if (filter.intIface == iface0 && filter.extIface == iface1) {
1132 } else if (filter.intIface == iface1 && filter.extIface == iface0) {
1137 } else if (filter.intIface[0] || filter.extIface[0]) {
1138 if (filter.intIface == iface0 || filter.extIface == iface1) {
1141 stats.extIface = iface1;
1144 } else if (filter.intIface == iface1 || filter.extIface == iface0) {
1147 stats.extIface
[all...]
H A DBandwidthController.h35 : intIface(intIfn), extIface(extIfn),
41 std::string extIface; member in class:BandwidthController::TetherStats
46 * intIface extIface rx_bytes rx_packets tx_bytes tx_packets
160 * in:intIface out:extIface
161 * in:extIface out:intIface
H A DCommandListener.cpp1358 tetherStats.extIface = argc > 3 ? argv[3] : "";
H A DNatController.cpp140 int NatController::routesOp(bool add, const char *intIface, const char *extIface, char **argv, int addrCount) { argument
141 int tableNumber = secondaryTableCtrl->findTableNumber(extIface);
171 const char *extIface = argv[3]; local
174 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface);
176 if (!checkInterface(intIface) || !checkInterface(extIface)) {
183 if (!strcmp(intIface, extIface)) {
184 ALOGE("Duplicate interface specified: %s %s", intIface, extIface);
194 if (routesOp(true, intIface, extIface, argv, addrCount)) {
196 routesOp(false, intIface, extIface, arg
256 setTetherCountingRules(bool add, const char *intIface, const char *extIface) argument
338 setForwardRules(bool add, const char *intIface, const char *extIface) argument
423 const char *extIface = argv[3]; local
[all...]
H A DNatController.h45 int setForwardRules(bool set, const char *intIface, const char *extIface);
46 int setTetherCountingRules(bool add, const char *intIface, const char *extIface);
47 int routesOp(bool add, const char *intIface, const char *extIface, char **argv, int addrCount);

Completed in 52 milliseconds