android_packages_modules_Co.../service/native
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski 8bf5967d1e clat: just always set mark unconditionally, part 2
Setting SO_MARK to MARK_UNSET, ie. 0, is harmless,
since the default for a brand new socket is already 0.

See ClatCoordinator.java getFwMark() for the mark we actually pass in,
which is guaranteed to have at least 4 bits (16,17,18,19) set.

See also:
  https://android-review.git.corp.google.com/c/platform/packages/modules/Connectivity/+/2392272

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3b4eebc0a5ad20390a13efcc58cecf94868686ba
2023-01-30 19:31:27 +00:00
..
include rename bpf_shared.h to netd.h 2022-12-18 20:02:52 +00:00
libs/libclat clat: just always set mark unconditionally, part 2 2023-01-30 19:31:27 +00:00
Android.bp Add traffic_controller, networkstats, netd_updatable tests to MTS. 2022-05-27 15:00:18 +00:00
TrafficController.cpp Move CookieTag map dump to BpfNetMaps 2022-10-05 18:28:13 +09:00
TrafficControllerTest.cpp Move CookieTag map dump to BpfNetMaps 2022-10-05 18:28:13 +09:00