summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/LinkPropertiesTest.java
diff options
context:
space:
mode:
authorHungming Chen <nuccachen@google.com>2022-03-10 16:49:41 +0800
committerHungming Chen <nuccachen@google.com>2022-03-31 15:53:33 +0800
commit07fcf9ca4974060baeef2eee1164e997cbd6062a (patch)
treefa1c3e0a6fb2cb1e9041465786559efa6e66a65d /tests/common/java/android/net/LinkPropertiesTest.java
parent3e712761a4d6d512f1911ec323a33feeeb928fbc (diff)
ClatCoordinator: use Java class BpfMap to add clat rule
This a preparation to replace duplicated native functions with the existing Java class. Bug: 221213090 Test: atest FrameworksNetTests Test: check map content {iface index, v4addr, v6addr, pfx96} manually. The map fileds are the same as "ip addr" and clatd logging. $ adb shell dumpsys netd ClatdController BPF ingress map: iif(iface) nat64Prefix v6Addr -> v4Addr oif(iface) 47(wlan0) 64:ff9b::/96 2a00:79e1:abc:6f02:f9e1:8c2d:604e:bc06 -> 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:f9e1:8c2d:604e:bc06 64:ff9b::/96 47(wlan0) ether $ adb shell ip addr 47: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 .. 53: v4-wlan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1472 .. 03-14 18:35:04.822 30852 30852 I clatd : Starting clat version 1.5 on wlan0 plat=64:ff9b:: v4=192.0.0.4 v6=2a00:79e1:abc:6f02:f9e1:8c2d:604e:bc06 Change-Id: I91d0cb6e76c4ef7bacf91b996786308ff4918f35
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions