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 98e86faad9 [RFCLAT#14] replace "libcutils" with "libcutils_headers"
replacing "libcutils" with "libcutils_headers" can save the apex size
~356KiB (libbase.so + libcutils.so). clatd only needs the definition
AID_CLAT in the libcutils exported headers. It would be more
appropriate for using libcutils_headers.

before:
$ deapexer extract out/target/product/raven/system/apex/com.google.android.tethering.apex apex_with_clat_uses_libcutils
$ ls -all out/target/product/raven/system/apex/com.google.android.tethering.apex
-rw-r--r-- 1 nuccachen primarygroup 4083712 Jan  3 21:51 out/target/product/raven/system/apex/com.google.android.tethering.apex

after:
$ deapexer extract out/target/product/raven/system/apex/com.google.android.tethering.apex apex_with_clat_uses_libcutils_headers
$ ls -all out/target/product/raven/system/apex/com.google.android.tethering.apex
-rw-r--r-- 1 nuccachen primarygroup 3719168 Jan  5 18:40 out/target/product/raven/system/apex/com.google.android.tethering.apex

Both libbase.so and libcutils.so are removed from the apex
which is using clatd with libcutils_headers:
$ diff -r apex_with_clat_uses_libcutils apex_with_clat_uses_libcutils_headers
Only in apex_with_clat_uses_libcutils/lib64: libbase.so (263.4 kB)
Only in apex_with_clat_uses_libcutils/lib64: libcutils.so (91.0 kB)

Bug: 212345928
Test: atest clatd_test
Change-Id: Ia286c1d50be758685e92a6e86faa57b675e9cc54
2022-01-05 13:32:49 +00:00
.clang-format clatd's .clang-format shouldn't be kept in sync with system/core 2019-01-17 03:53:02 +00:00
Android.bp [RFCLAT#14] replace "libcutils" with "libcutils_headers" 2022-01-05 13:32:49 +00:00
BUGS clat: add support for ESP, mirroring existing GRE support 2019-08-20 17:51:28 -07:00
clatd.c [RFCLAT#11] remove libnetd_client_headers and netid_client.h 2021-12-30 22:55:41 +08:00
clatd.h [RFCLAT#4] Move clat ipv6 address setup from clatd to netd 2021-12-30 22:54:44 +08:00
clatd_test.cpp [RFCLAT#9] refactor getinterface_ip() to stop using libnl 2021-12-30 22:55:26 +08:00
common.h Move main() out of clatd.c. 2019-01-04 19:08:45 +09:00
config.h switch from using packet ring to normal read 2021-11-09 19:32:33 +00:00
debug.h Don't compile packet dumping code by default. 2013-02-01 10:49:49 +09:00
dump.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
dump.h Fix some build errors when CLAT_DEBUG is set to 1 2020-10-20 09:23:49 +00:00
getaddr.c [RFCLAT#10] remove libnl related files 2021-12-30 22:55:34 +08:00
getaddr.h [RFCLAT#9] refactor getinterface_ip() to stop using libnl 2021-12-30 22:55:26 +08:00
icmp.c Re-indent clatd code with clang-format 2018-12-11 10:12:47 +08:00
icmp.h Support translating ICMP errors. 2013-04-12 13:42:58 +09:00
ipv4.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
ipv6.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
LICENSE android clat service 2012-11-12 15:59:12 -08:00
logging.c Re-indent clatd code with clang-format 2018-12-11 10:12:47 +08:00
logging.h android clat service 2012-11-12 15:59:12 -08:00
main.c [RFCLAT#13] remove clatd -m argument 2022-01-04 15:02:08 +00:00
METADATA Add METADATA to android-clat: Apache2=NOTICE 2020-04-28 10:43:07 -07:00
MODULE_LICENSE_APACHE2 android clat service 2012-11-12 15:59:12 -08:00
NOTICE android clat service 2012-11-12 15:59:12 -08:00
OWNERS Remove the fail-safe owner. 2019-02-12 06:27:09 +00:00
PREUPLOAD.cfg clatd: Add clang-format style config and pre-upload hook. 2018-12-11 10:04:23 +08:00
TEST_MAPPING Attempt to run netd tests when clat is modified. 2019-06-13 20:08:36 +00:00
translate.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
translate.h Move main() out of clatd.c. 2019-01-04 19:08:45 +09:00
vendor-464xlat.rc Copy the 464xlat vendor property to an AOSP property. 2021-03-10 14:58:05 +09:00