HomeSort by relevance Sort by last modified time
    Searched refs:intIface (Results 1 - 5 of 5) sorted by null

  /system/netd/server/
NatController.h 29 int enableNat(const char* intIface, const char* extIface);
30 int disableNat(const char* intIface, const char* extIface);
48 int setForwardRules(bool set, const char *intIface, const char *extIface);
49 int setTetherCountingRules(bool add, const char *intIface, const char *extIface);
NatController.cpp 139 int NatController::enableNat(const char* intIface, const char* extIface) {
140 ALOGV("enableNat(intIface=<%s>, extIface=<%s>)",intIface, extIface);
142 if (!isIfaceName(intIface) || !isIfaceName(extIface)) {
148 if (!strcmp(intIface, extIface)) {
149 ALOGE("Duplicate interface specified: %s %s", intIface, extIface);
175 if (setForwardRules(true, intIface, extIface) != 0) {
202 if (int ret = RouteController::enableTethering(intIface, extIface)) {
203 ALOGE("failed to add tethering rule for iif=%s oif=%s", intIface, extIface);
227 int NatController::setTetherCountingRules(bool add, const char *intIface, const char *extIface)
    [all...]
BandwidthController.cpp     [all...]
BandwidthController.h 35 : intIface(intIfn), extIface(extIfn),
39 std::string intIface;
46 * intIface extIface rx_bytes rx_packets tx_bytes tx_packets
157 * stats should never have only intIface initialized. Other 3 combos are ok.
161 * in:intIface out:extIface
162 * in:extIface out:intIface
CommandListener.cpp 663 // nat enable intiface extiface
664 // nat disable intiface extiface
    [all...]

Completed in 1701 milliseconds