Home
last modified time | relevance | path

Searched refs:PunchUdpHole (Results 1 – 4 of 4) sorted by relevance

/system/firewalld/
Diptables_unittest.cc74 EXPECT_FALSE(mock_iptables.PunchUdpHole(0, "iface")); in TEST_F()
82 EXPECT_TRUE(mock_iptables.PunchUdpHole(53, "shortname")); in TEST_F()
84 EXPECT_TRUE(mock_iptables.PunchUdpHole(53, "middle-dash")); in TEST_F()
86 EXPECT_TRUE(mock_iptables.PunchUdpHole(53, "middle.dot")); in TEST_F()
103 EXPECT_FALSE(mock_iptables.PunchUdpHole(53, "reallylonginterfacename")); in TEST_F()
104 EXPECT_FALSE(mock_iptables.PunchUdpHole(53, "with spaces")); in TEST_F()
105 EXPECT_FALSE(mock_iptables.PunchUdpHole(53, "with$ymbols")); in TEST_F()
106 EXPECT_FALSE(mock_iptables.PunchUdpHole(53, "-startdash")); in TEST_F()
107 EXPECT_FALSE(mock_iptables.PunchUdpHole(53, "enddash-")); in TEST_F()
108 EXPECT_FALSE(mock_iptables.PunchUdpHole(53, ".startdot")); in TEST_F()
[all …]
Diptables.h43 bool PunchUdpHole(uint16_t in_port, const std::string& in_interface) override;
Diptables.cc116 bool IpTables::PunchUdpHole(uint16_t in_port, const std::string& in_interface) { in PunchUdpHole() function in firewalld::IpTables
/system/connectivity/apmanager/dbus/
Dfirewalld_dbus_proxy.cc60 if (!proxy_->PunchUdpHole(port, interface, &success, &error)) { in RequestUdpPortAccess()