Hungming Chen
cddd855f9e
ClatCoordinator: use Java class TcUtils to detach program
This a preparation to replace duplicated native functions with the
existing Java class.
Bug: 221213090
Test: atest FrameworksNetTests
Test: manual test
Steps:
1. Connect to IPv6-only wifi
2. Check tc filter on wlan0 and v4-wlan0
$ adb shell tc filter show dev wlan0 ingress
filter protocol ipv6 pref 4 bpf chain 0
filter protocol ipv6 pref 4 bpf chain 0 handle 0x1 prog_clatd_schedcls_ingress6_clat_ether:[*fsobj] direct-action not_in_hw id 23 tag 40918e0675598c8d
$ adb shell tc filter show dev v4-wlan0 egress
filter protocol ip pref 4 bpf chain 0
filter protocol ip pref 4 bpf chain 0 handle 0x1 prog_clatd_schedcls_egress4_clat_rawip:[*fsobj] direct-action not_in_hw id 26 tag 5d0057eab14480b7
$ adb shell tc filter show dev wlan0 egress
(empty)
$ adb shell tc filter show dev v4-wlan0 ingress
(empty)
3. Disconnect from wifi
4. Check tc filter on wlan0 and v4-wlan0
$ adb shell tc filter show dev wlan0 ingress
(empty)
$ adb shell tc filter show dev v4-wlan0 egress
(empty)
$ adb shell tc filter show dev wlan0 egress
(empty)
$ adb shell tc filter show dev v4-wlan0 ingress
(empty)
Change-Id: Iaa67d5ae7c867d791d5f92a70a54bf549085053a
|
2022-03-31 16:04:42 +08:00 |
| .. |
|
connectivity
|
ClatCoordinator: use Java class TcUtils to detach program
|
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 |