Home
last modified time | relevance | path

Searched refs:BpfUtils (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DBpfUtils.java31 public class BpfUtils { class
33 System.loadLibrary(JniUtil.getJniLibraryName(BpfUtils.class.getPackage())); in JniUtil.getJniLibraryName()
/packages/modules/Connectivity/tests/common/
Dtethering-jni-jarjar-rules.txt9 rule com.android.net.module.util.BpfUtils* com.android.networkstack.tethering.util.BpfUtils@1
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt53 import com.android.net.module.util.BpfUtils
385 BpfUtils.BPF_CGROUP_INET_INGRESS, in testBpfProgramAttachStatus()
386 BpfUtils.BPF_CGROUP_INET_EGRESS, in testBpfProgramAttachStatus()
387 BpfUtils.BPF_CGROUP_INET_SOCK_CREATE in testBpfProgramAttachStatus()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java62 import static com.android.networkstack.tethering.BpfUtils.DOWNSTREAM;
63 import static com.android.networkstack.tethering.BpfUtils.UPSTREAM;
1670 .mockStatic(BpfUtils.class) in testAttachDetachBpfProgram()
1678 final BpfUtils mockMarkerBpfUtils = staticMockMarker(BpfUtils.class); in testAttachDetachBpfProgram()
1684 ExtendedMockito.verify(() -> BpfUtils.attachProgram(extIface1, DOWNSTREAM, IPV4)); in testAttachDetachBpfProgram()
1685 ExtendedMockito.verify(() -> BpfUtils.attachProgram(extIface1, DOWNSTREAM, IPV6)); in testAttachDetachBpfProgram()
1686 ExtendedMockito.verify(() -> BpfUtils.attachProgram(intIface1, UPSTREAM, IPV4)); in testAttachDetachBpfProgram()
1687 ExtendedMockito.verify(() -> BpfUtils.attachProgram(intIface1, UPSTREAM, IPV6)); in testAttachDetachBpfProgram()
1698 ExtendedMockito.verify(() -> BpfUtils.attachProgram(intIface2, UPSTREAM, IPV4)); in testAttachDetachBpfProgram()
1699 ExtendedMockito.verify(() -> BpfUtils.attachProgram(intIface2, UPSTREAM, IPV6)); in testAttachDetachBpfProgram()
[all …]
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java42 import com.android.networkstack.tethering.BpfUtils;
414 BpfUtils.attachProgram(iface, downstream, ipv4); in attachProgram()
425 BpfUtils.detachProgram(iface, ipv4); in detachProgram()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfUtils.java35 public class BpfUtils { class
DBpfCoordinator.java33 import static com.android.networkstack.tethering.BpfUtils.DOWNSTREAM;
34 import static com.android.networkstack.tethering.BpfUtils.UPSTREAM;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java116 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_GETSOCKOPT;
117 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET4_BIND;
118 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET4_CONNECT;
119 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET6_BIND;
120 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET6_CONNECT;
121 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET_EGRESS;
122 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET_INGRESS;
123 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET_SOCK_CREATE;
124 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_INET_SOCK_RELEASE;
125 import static com.android.net.module.util.BpfUtils.BPF_CGROUP_SETSOCKOPT;
[all …]
/packages/modules/Connectivity/staticlibs/
DAndroid.bp135 "device/com/android/net/module/util/BpfUtils.java",