Home | History | Annotate | Download | only in firewalld

Lines Matching refs:interface

91   // We should not be adding any rules for invalid interface names.
192 const std::string interface = "ifc0";
196 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add))
208 mock_iptables.ApplyVpnSetup(usernames, interface, add));
213 const std::string interface = "ifc0";
218 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add))
235 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove))
252 mock_iptables.ApplyVpnSetup(usernames, interface, add));
257 const std::string interface = "ifc0";
262 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add))
272 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove))
281 mock_iptables.ApplyVpnSetup(usernames, interface, add));
286 const std::string interface = "ifc0";
291 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, _)).Times(0);
299 ASSERT_FALSE(mock_iptables.ApplyVpnSetup(usernames, interface, add));
304 const std::string interface = "ifc0";
309 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove))
319 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)).Times(0);
323 ASSERT_TRUE(mock_iptables.ApplyVpnSetup(usernames, interface, remove));
328 const std::string interface = "ifc0";
333 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove))
345 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)).Times(0);
350 ASSERT_FALSE(mock_iptables.ApplyVpnSetup(usernames, interface, remove));