Program the upstream IPv6 map in BpfCoordinator.
- Add methods to start and stop IPv6 forwarding upstream - Populate the upstream IPv6 map when the first rule for any upstream/downstream pair is created. - Clear the upstream IPv6 map when the last rule for any upstream/downstream pair is deleted. Test: Added coverage to IpServerTest and BpfCoordinatorTest Change-Id: Ib041081e95f5f449489ab63138de034222ffac8f
Showing
- Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/BpfCoordinatorShimImpl.java 12 additions, 0 deletions...stack/tethering/apishim/api30/BpfCoordinatorShimImpl.java
- Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/BpfCoordinatorShimImpl.java 41 additions, 1 deletion...stack/tethering/apishim/api31/BpfCoordinatorShimImpl.java
- Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/BpfCoordinatorShim.java 22 additions, 0 deletions...orkstack/tethering/apishim/common/BpfCoordinatorShim.java
- Tethering/src/com/android/networkstack/tethering/BpfCoordinator.java 59 additions, 2 deletions...rc/com/android/networkstack/tethering/BpfCoordinator.java
- Tethering/src/com/android/networkstack/tethering/TetherUpstream6Key.java 29 additions, 0 deletions...om/android/networkstack/tethering/TetherUpstream6Key.java
- Tethering/tests/unit/src/android/net/ip/IpServerTest.java 66 additions, 9 deletionsTethering/tests/unit/src/android/net/ip/IpServerTest.java
- Tethering/tests/unit/src/com/android/networkstack/tethering/BpfCoordinatorTest.java 54 additions, 4 deletions...om/android/networkstack/tethering/BpfCoordinatorTest.java
Loading
Please register or sign in to comment