Searched refs:ApplyMasquerade (Results 1 – 4 of 4) sorted by relevance
/system/firewalld/ |
D | iptables_unittest.cc | 196 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) in TEST_F() 218 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) in TEST_F() 235 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F() 262 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) in TEST_F() 272 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F() 291 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, _)).Times(0); in TEST_F() 309 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F() 319 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)).Times(0); in TEST_F() 333 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F() 345 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)).Times(0); in TEST_F()
|
D | mock_iptables.h | 40 MOCK_METHOD2(ApplyMasquerade, bool(const std::string&, bool));
|
D | iptables.h | 93 virtual bool ApplyMasquerade(const std::string& interface, bool add);
|
D | iptables.cc | 277 if (!ApplyMasquerade(interface, add)) { in ApplyVpnSetup() 301 bool IpTables::ApplyMasquerade(const std::string& interface, bool add) { in ApplyMasquerade() function in firewalld::IpTables
|