Searched refs:PunchTcpHole (Results 1 – 3 of 3) sorted by relevance
/system/firewalld/ |
D | iptables_unittest.cc | 72 EXPECT_FALSE(mock_iptables.PunchTcpHole(0, "iface")); in TEST_F() 81 EXPECT_TRUE(mock_iptables.PunchTcpHole(80, "shortname")); in TEST_F() 83 EXPECT_TRUE(mock_iptables.PunchTcpHole(80, "middle-dash")); in TEST_F() 85 EXPECT_TRUE(mock_iptables.PunchTcpHole(80, "middle.dot")); in TEST_F() 95 EXPECT_FALSE(mock_iptables.PunchTcpHole(80, "reallylonginterfacename")); in TEST_F() 96 EXPECT_FALSE(mock_iptables.PunchTcpHole(80, "with spaces")); in TEST_F() 97 EXPECT_FALSE(mock_iptables.PunchTcpHole(80, "with$ymbols")); in TEST_F() 98 EXPECT_FALSE(mock_iptables.PunchTcpHole(80, "-startdash")); in TEST_F() 99 EXPECT_FALSE(mock_iptables.PunchTcpHole(80, "enddash-")); in TEST_F() 100 EXPECT_FALSE(mock_iptables.PunchTcpHole(80, ".startdot")); in TEST_F() [all …]
|
D | iptables.h | 42 bool PunchTcpHole(uint16_t in_port, const std::string& in_interface) override;
|
D | iptables.cc | 112 bool IpTables::PunchTcpHole(uint16_t in_port, const std::string& in_interface) { in PunchTcpHole() function in firewalld::IpTables
|