rename tcFilterAddDevBpf() to tcFilterAddDevIngressBpf()
This is in preparation for Egress support.
Generated via:
for f in server/{ClatdController.cpp,ClatUtils.cpp,ClatUtils.h,ClatUtilsTest.cpp}; do
sed -i -r 's@tcFilterAddDevBpf@tcFilterAddDevIngressBpf@' "${f}"
done
Test: compiles, atest, 'git grep tcFilterAddDevBpf' comes up empty
Bug: 139396664
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I5852039648f04716376f6535d5b177ba0ac4ebb6
diff --git a/server/ClatUtils.cpp b/server/ClatUtils.cpp
index a5b7c44..a05e3f8 100644
--- a/server/ClatUtils.cpp
+++ b/server/ClatUtils.cpp
@@ -218,7 +218,7 @@
}
// tc filter add dev .. ingress prio 1 protocol ipv6 bpf object-pinned /sys/fs/bpf/... direct-action
-int tcFilterAddDevBpf(int fd, int ifIndex, int bpfFd, bool ethernet) {
+int tcFilterAddDevIngressBpf(int fd, int ifIndex, int bpfFd, bool ethernet) {
// The priority doesn't matter until we actually start attaching multiple
// things to the same interface's ingress point.
const int prio = 1;