diff options
| author | Hungming Chen <nuccachen@google.com> | 2022-02-11 18:09:26 +0800 |
|---|---|---|
| committer | Hungming Chen <nuccachen@google.com> | 2022-03-07 11:37:41 +0800 |
| commit | 89d12060e1756a228d4d180296710dee9a5858e6 (patch) | |
| tree | 2b2c447a23a9d6758a427cf0dd51373c68818d7c /tests/unit/java/android/net/EthernetNetworkUpdateRequestTest.java | |
| parent | edf80c2da80c33093c394f59fd674fbc577d5e3c (diff) | |
[CLATJ#31] ClatCoordinator: tag raw socket to uid AID_CLAT
Tag socket as uid AID_CLAT to avoid duplicated data usage counting by
bpf program.
Test: atest FrameworksNetTests
Test: check dumpsys for tag mapping and check logging for socket cookie
$ adb shell dumpsys connectivity trafficcontroller
mCookieTagMap:
cookie=28831 tag=0x0 uid=1029
03-02 22:43:13.201 1719 1921 I jniClatCoordinator: tag uid AID_CLAT to socket fd 609, cookie 28831
03-02 22:43:13.217 5496 5496 I clatd : tunnel.write_fd6 609, cookie 28831, flags 0x0 (debug only)
Bug: 218407445
Change-Id: I67b9f30b143e791ddf59d5627e068ec3107e3328
Diffstat (limited to 'tests/unit/java/android/net/EthernetNetworkUpdateRequestTest.java')
0 files changed, 0 insertions, 0 deletions
