Skip to content
Snippets Groups Projects
  • Ken Chen's avatar
    1647f60d
    [NETD-BPF#19] Mainline part of bpf code from netd · 1647f60d
    Ken Chen authored
    1. Add libnetd_updatable.so in com.android.tethering. The library is
    loaded by netd. Currently, it mainly targets on a few functions which
    access BPF maps. The functionality may extend in the future.
    
    2. Attach gcroup progs from libnetd_updatable.so.
    
    3. Move (privileged)TagSocket and untagSocket implementation to mainline
    module. Combine privilegedTagSocket and untagSocket into a single
    function.
    
    4. Split related unit tests from netd_unit_test to
    libnetd_updatable_unit_test as well.
    
    Bug: 202086915
    Test: cd system/netd; atest
    Test: atest TrafficStatsTest NetworkUsageStatsTest
    
    Change-Id: Ib556458103a4cbb643c1342d9b689ac692160de0
    1647f60d
    History
    [NETD-BPF#19] Mainline part of bpf code from netd
    Ken Chen authored
    1. Add libnetd_updatable.so in com.android.tethering. The library is
    loaded by netd. Currently, it mainly targets on a few functions which
    access BPF maps. The functionality may extend in the future.
    
    2. Attach gcroup progs from libnetd_updatable.so.
    
    3. Move (privileged)TagSocket and untagSocket implementation to mainline
    module. Combine privilegedTagSocket and untagSocket into a single
    function.
    
    4. Split related unit tests from netd_unit_test to
    libnetd_updatable_unit_test as well.
    
    Bug: 202086915
    Test: cd system/netd; atest
    Test: atest TrafficStatsTest NetworkUsageStatsTest
    
    Change-Id: Ib556458103a4cbb643c1342d9b689ac692160de0
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
libnetd_updatable.map.txt 928 B