Searched refs:PunchUdpHole (Results 1 – 4 of 4) sorted by relevance
/system/firewalld/ |
D | iptables_unittest.cc | 74 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 …]
|
D | iptables.h | 43 bool PunchUdpHole(uint16_t in_port, const std::string& in_interface) override;
|
D | iptables.cc | 116 bool IpTables::PunchUdpHole(uint16_t in_port, const std::string& in_interface) { in PunchUdpHole() function in firewalld::IpTables
|
/system/connectivity/apmanager/dbus/ |
D | firewalld_dbus_proxy.cc | 60 if (!proxy_->PunchUdpHole(port, interface, &success, &error)) { in RequestUdpPortAccess()
|