Searched refs:iface1 (Results 1 – 2 of 2) sorted by relevance
/system/extras/tests/net_test/ |
D | forwarding_test.py | 33 def ForwardBetweenInterfaces(self, enabled, iface1, iface2): argument 34 for iif, oif in itertools.permutations([iface1, iface2]): 44 def CheckForwardingCrash(self, netid, iface1, iface2): argument 86 self.ReceivePacketOn(iface1, finack) 87 self.ReceivePacketOn(iface1, establishing_ack) 88 self.ReceivePacketOn(iface1, establishing_ack) 100 netid, iface1, iface2 = random.sample(netids, 3) 101 self.ForwardBetweenInterfaces(True, iface1, iface2) 103 self.CheckForwardingCrash(netid, iface1, iface2) 105 self.ForwardBetweenInterfaces(False, iface1, iface2)
|
/system/netd/server/ |
D | BandwidthController.cpp | 1101 char iface1[MAX_IPT_OUTPUT_LINE_LEN]; in parseForwardChainStats() local 1119 iface0[0] = iface1[0] = rest[0] = packets = bytes = 0; in parseForwardChainStats() 1121 &packets, &bytes, iface0, iface1, rest); in parseForwardChainStats() 1123 iface0, iface1, packets, bytes, rest, buffPtr); in parseForwardChainStats() 1135 if (filter.intIface == iface0 && filter.extIface == iface1) { in parseForwardChainStats() 1136 …ce_in=%s iface_out=%s rx_bytes=%" PRId64" rx_packets=%" PRId64" ", iface0, iface1, bytes, packets); in parseForwardChainStats() 1139 } else if (filter.intIface == iface1 && filter.extIface == iface0) { in parseForwardChainStats() 1140 …ce_in=%s iface_out=%s rx_bytes=%" PRId64" rx_packets=%" PRId64" ", iface0, iface1, bytes, packets); in parseForwardChainStats() 1145 if (filter.intIface == iface0 || filter.extIface == iface1) { in parseForwardChainStats() 1146 …ce_in=%s iface_out=%s rx_bytes=%" PRId64" rx_packets=%" PRId64" ", iface0, iface1, bytes, packets); in parseForwardChainStats() [all …]
|