Home
last modified time | relevance | path

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

/system/netd/server/
DOffloadUtilsTest.cpp247 #define LOOPBACK_IFINDEX 1 macro
257 EXPECT_EQ(0, tcQdiscAddDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
258 EXPECT_EQ(0, tcQdiscReplaceDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
259 EXPECT_EQ(0, tcQdiscDelDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
260 EXPECT_EQ(-EINVAL, tcQdiscDelDevClsact(LOOPBACK_IFINDEX)); in TEST_F()
289 EXPECT_EQ(-EINVAL, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
290 EXPECT_EQ(-EINVAL, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
291 EXPECT_EQ(0, tcQdiscAddDevClsact(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
292 EXPECT_EQ(-errNOENT, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
293 EXPECT_EQ(-errNOENT, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
[all …]
DXfrmController.cpp101 constexpr int LOOPBACK_IFINDEX = 1; variable
1439 .xfrmLink = static_cast<uint32_t>(LOOPBACK_IFINDEX), in ipSecAddXfrmInterface()