Lines Matching refs:LOOPBACK_IFINDEX
247 #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()
295 EXPECT_EQ(0, tcFilterAddDevIngressClatIpv6(LOOPBACK_IFINDEX, clatBpfFd, ethernet)); in checkAttachDetachBpfFilterClsactLo()
297 EXPECT_EQ(0, tcFilterAddDevIngressTether(LOOPBACK_IFINDEX, tetherBpfFd, ethernet)); in checkAttachDetachBpfFilterClsactLo()
298 EXPECT_EQ(0, tcFilterDelDevIngressTether(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
300 EXPECT_EQ(0, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
302 EXPECT_EQ(0, tcFilterAddDevEgressClatIpv4(LOOPBACK_IFINDEX, clatBpfFd, ethernet)); in checkAttachDetachBpfFilterClsactLo()
303 EXPECT_EQ(0, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
305 EXPECT_EQ(-errNOENT, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
306 EXPECT_EQ(-errNOENT, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
307 EXPECT_EQ(0, tcQdiscDelDevClsact(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
308 EXPECT_EQ(-EINVAL, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
309 EXPECT_EQ(-EINVAL, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()