Home
last modified time | relevance | path

Searched refs:bpfProgPath (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/staticlibs/native/tcutils/tests/
Dtcutils_test.cpp83 static constexpr char bpfProgPath[] = in TEST() local
96 bpfProgPath)); in TEST()
103 0, tcAddBpfFilter(LOOPBACK_IFINDEX, ingress, prio, proto, bpfProgPath)); in TEST()
115 static constexpr char bpfProgPath[] = in TEST() local
117 int fd = bpf::retrieveProgram(bpfProgPath); in TEST()
134 rateInBytesPerSec, bpfProgPath)); in TEST()
142 rateInBytesPerSec, bpfProgPath)); in TEST()
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/
Dcom_android_net_module_util_TcUtils.cpp50 jshort proto, jstring bpfProgPath) { in com_android_net_module_util_TcUtils_tcFilterAddDevBpf() argument
51 ScopedUtfChars pathname(env, bpfProgPath); in com_android_net_module_util_TcUtils_tcFilterAddDevBpf()
66 jint rateInBytesPerSec, jstring bpfProgPath) { in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice() argument
67 ScopedUtfChars pathname(env, bpfProgPath); in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice()
104 jstring bpfProgPath) { in com_android_net_module_util_TcUtils_isBpfProgramUsable() argument
105 ScopedUtfChars pathname(env, bpfProgPath); in com_android_net_module_util_TcUtils_isBpfProgramUsable()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DTcUtils.java53 short proto, String bpfProgPath) throws IOException; in tcFilterAddDevBpf() argument
77 int rateInBytesPerSec, String bpfProgPath) throws IOException; in tcFilterAddDevIngressPolice() argument
111 public static native boolean isBpfProgramUsable(String bpfProgPath); in isBpfProgramUsable() argument
/packages/modules/Connectivity/staticlibs/native/tcutils/
Dtcutils.cpp167 unsigned burstInBytes, const char* bpfProgPath) in IngressPoliceFilterBuilder() argument
169 mBpfProgPath(bpfProgPath), in IngressPoliceFilterBuilder()
569 const char *bpfProgPath) { in tcAddBpfFilter() argument
570 unique_fd bpfFd(bpf::retrieveProgram(bpfProgPath)); in tcAddBpfFilter()
667 basename(bpfProgPath)); in tcAddBpfFilter()
684 const char *bpfProgPath) { in tcAddIngressPoliceFilter() argument
695 BURST_SIZE_IN_BYTES, bpfProgPath); in tcAddIngressPoliceFilter()
/packages/modules/Connectivity/staticlibs/native/tcutils/include/tcutils/
Dtcutils.h41 const char *bpfProgPath);
44 const char *bpfProgPath);
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java305 String bpfProgPath) throws IOException { in tcFilterAddDevBpf() argument
306 TcUtils.tcFilterAddDevBpf(ifIndex, ingress, prio, proto, bpfProgPath); in tcFilterAddDevBpf()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java366 String bpfProgPath) throws IOException { in tcFilterAddDevBpf() argument