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/ClatUtilsTest.cpp b/server/ClatUtilsTest.cpp
index b1a265b..5d1bf53 100644
--- a/server/ClatUtilsTest.cpp
+++ b/server/ClatUtilsTest.cpp
@@ -198,7 +198,7 @@
// actually populating the ebpf control map.
// Furthermore: it only takes fractions of a second.
EXPECT_EQ(0, tcQdiscAddDevClsact(fd, LOOPBACK_IFINDEX));
- EXPECT_EQ(0, tcFilterAddDevBpf(fd, LOOPBACK_IFINDEX, bpf_fd, ethernet));
+ EXPECT_EQ(0, tcFilterAddDevIngressBpf(fd, LOOPBACK_IFINDEX, bpf_fd, ethernet));
EXPECT_EQ(0, tcQdiscDelDevClsact(fd, LOOPBACK_IFINDEX));
close(fd);
}