Searched refs:bpfFd (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/netd/server/ |
H A D | OffloadUtils.h | 88 int tcFilterAddDevBpf(int ifIndex, bool ingress, uint16_t proto, int bpfFd, bool ethernet); 91 inline int tcFilterAddDevIngressClatIpv6(int ifIndex, int bpfFd, bool ethernet) { in tcFilterAddDevIngressClatIpv6() argument 92 return tcFilterAddDevBpf(ifIndex, INGRESS, ETH_P_IPV6, bpfFd, ethernet); in tcFilterAddDevIngressClatIpv6() 96 inline int tcFilterAddDevEgressClatIpv4(int ifIndex, int bpfFd, bool ethernet) { in tcFilterAddDevEgressClatIpv4() argument 97 return tcFilterAddDevBpf(ifIndex, EGRESS, ETH_P_IP, bpfFd, ethernet); in tcFilterAddDevEgressClatIpv4()
|
H A D | OffloadUtils.cpp | 212 int tcFilterAddDevBpf(int ifIndex, bool ingress, uint16_t proto, int bpfFd, bool ethernet) { in tcFilterAddDevBpf() argument 330 .u32 = static_cast<__u32>(bpfFd), in tcFilterAddDevBpf()
|
/aosp12/packages/modules/Connectivity/Tethering/jni/ |
H A D | com_android_networkstack_tethering_BpfUtils.cpp | 199 const int bpfFd = bpf::retrieveProgram(pathname.c_str()); in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf() local 200 if (bpfFd == -1) { in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf() 270 .u32 = static_cast<__u32>(bpfFd), in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf() 301 close(bpfFd); in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf()
|