Hungming Chen
bd85f8903e
ClatCoordinator: use Java class BpfMap to remove clat rule
This a preparation to replace duplicated native functions with the
existing Java class.
Bug: 221213090
Test: atest FrameworksNetTests
Test: manual check
Steps:
1. Connect wlan and check map content {iface index, v4addr, v6addr, pfx96} manually
after clat started.
$ adb shell dumpsys netd
ClatdController
BPF ingress map: iif(iface) nat64Prefix v6Addr -> v4Addr oif(iface)
47(wlan0) 64:ff9b::/96 2a00:79e1:abc:6f02:2479:2f51:25a9:28f1 -> 192.0.0.4 53(v4-wlan0)
BPF egress map: iif(iface) v4Addr -> v6Addr nat64Prefix oif(iface)
53(v4-wlan0) 192.0.0.4 -> 2a00:79e1:abc:6f02:2479:2f51:25a9:28f1 64:ff9b::/96 47(wlan0) ether
2. Disconnect wlan and check the bpf map is removed.
$ adb shell dumpsys netd
ClatdController
BPF ingress map: iif(iface) nat64Prefix v6Addr -> v4Addr oif(iface)
BPF egress map: iif(iface) v4Addr -> v6Addr nat64Prefix oif(iface)
Change-Id: Ia0c90c7104c4a42d34a28a5ddf3cf13a289f8c76
|
2022-03-31 16:04:42 +08:00 |
| .. |
|
connectivity
|
ClatCoordinator: use Java class BpfMap to remove clat rule
|
2022-03-31 16:04:42 +08:00 |
|
net
|
Use Sources.bp for building
|
2022-03-25 14:58:43 +00:00 |
|
BpfNetMapsTest.java
|
Merge "Remove ConnectivityManager swapActiveStatsMap API"
|
2022-03-08 06:31:23 +00:00 |
|
ConnectivityServiceTest.java
|
Merge "Add tests for VPN validation in NetworkMonitor"
|
2022-03-28 13:51:34 +00:00 |
|
IpSecServiceParameterizedTest.java
|
Add makeDependencies method in IpSecService related tests
|
2021-12-10 12:11:20 +00:00 |
|
IpSecServiceRefcountedResourceTest.java
|
Change to use Dependencies in IpSecService Tests
|
2021-11-27 00:27:33 +08:00 |
|
IpSecServiceTest.java
|
Add makeDependencies method in IpSecService related tests
|
2021-12-10 12:11:20 +00:00 |
|
LegacyTypeTrackerTest.kt
|
Build ethernet framework source into framework-connectivity-tiramisu
|
2022-03-14 14:06:35 +00:00 |
|
NativeDaemonConnectorTest.java
|
Move f/b/packages/Nsd files to f/b/packages/ConnectivityT
|
2021-12-09 16:22:00 +08:00 |
|
NetIdManagerTest.kt
|
Re-skip connectivity unit tests before S
|
2021-07-05 05:01:54 +00:00 |
|
NetworkManagementServiceTest.java
|
Split updateMeteredNetwork{Allow, Deny}List into add and remove
|
2022-03-09 11:17:27 +08:00 |
|
NsdServiceTest.java
|
Add APIs for discover/resolve on specific networks
|
2022-02-03 16:05:02 +09:00 |