diff options
| author | Hungming Chen <nuccachen@google.com> | 2022-03-17 11:46:43 +0800 |
|---|---|---|
| committer | Hungming Chen <nuccachen@google.com> | 2022-03-31 16:04:42 +0800 |
| commit | 3dc0577ed3e30852fd6809ed5d84da1e7d586e1b (patch) | |
| tree | ee7efc19effbd8657b7d1385e8c447a1dace343b /tests/common/java/android/net/LinkPropertiesTest.java | |
| parent | bd85f8903eb114cf3c267377947c64a24bf0a390 (diff) | |
ClatCoordinator: use Java class TcUtils to attach 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)
Change-Id: Id4edbfd87de8f9c5d2fa483b2024718b484cb044
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions
