Home
last modified time | relevance | path

Searched refs:LOOPBACK_IFINDEX (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DOffloadUtilsTest.cpp152 #define LOOPBACK_IFINDEX 1 macro
157 EXPECT_EQ(0, tcQdiscAddDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
158 EXPECT_EQ(0, tcQdiscReplaceDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
159 EXPECT_EQ(0, tcQdiscDelDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
160 EXPECT_EQ(-EINVAL, tcQdiscDelDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
174 EXPECT_EQ(-EINVAL, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
175 EXPECT_EQ(-EINVAL, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
176 EXPECT_EQ(0, tcQdiscAddDevClsact(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
177 EXPECT_EQ(-errNOENT, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
178 EXPECT_EQ(-errNOENT, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
[all …]
DXfrmController.cpp101 constexpr int LOOPBACK_IFINDEX = 1; variable
1541 .xfrmLink = static_cast<uint32_t>(LOOPBACK_IFINDEX), in ipSecAddXfrmInterface()