No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
bpf_progs only account for ingress packets addressed to us 2022-02-24 14:12:32 +01:00
framework Merge "Support QosCallback with UDP socket" 2022-03-30 20:01:45 +00:00
framework-t Use Sources.bp for building 2022-03-25 14:58:43 +00:00
nearby Rename "service-nearby" to "service-nearby-pre-jarjar" 2022-03-10 04:32:19 +00:00
netd BpfHandler: only allow to tag INET/INET6 socket 2022-03-07 16:04:32 +08:00
service ClatCoordinator: use Java class BpfMap to remove clat rule 2022-03-31 16:04:42 +08:00
service-t Use Sources.bp for building 2022-03-25 14:58:43 +00:00
tests ClatCoordinator: use Java class BpfMap to remove clat rule 2022-03-31 16:04:42 +08:00
Tethering Add test for tetherOffloadClient{Add, Remove, Clear} 2022-03-30 16:28:11 +08:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking add prohr to OWNERS_core_networking 2022-01-11 18:54:31 +00:00
OWNERS_core_networking_xts Add an OWNERS_core_networking_xts for CTS/GTS/... and use it. 2022-01-18 01:42:39 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Remove out-of-date comment. 2022-02-21 12:50:11 +09:00