Lines Matching refs:LOOPBACK_IFINDEX
152 #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()
180 EXPECT_EQ(0, tcFilterAddDevIngressClatIpv6(LOOPBACK_IFINDEX, clatBpfFd, ethernet)); in checkAttachDetachBpfFilterClsactLo()
181 EXPECT_EQ(0, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
183 EXPECT_EQ(0, tcFilterAddDevEgressClatIpv4(LOOPBACK_IFINDEX, clatBpfFd, ethernet)); in checkAttachDetachBpfFilterClsactLo()
184 EXPECT_EQ(0, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
186 EXPECT_EQ(-errNOENT, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
187 EXPECT_EQ(-errNOENT, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
188 EXPECT_EQ(0, tcQdiscDelDevClsact(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
189 EXPECT_EQ(-EINVAL, tcFilterDelDevIngressClatIpv6(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()
190 EXPECT_EQ(-EINVAL, tcFilterDelDevEgressClatIpv4(LOOPBACK_IFINDEX)); in checkAttachDetachBpfFilterClsactLo()