Home
last modified time | relevance | path

Searched refs:iptablesWrapperFfrtQueue_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Diptables_wrapper.cpp39 iptablesWrapperFfrtQueue_ = std::make_shared<ffrt::queue>("IptablesWrapper"); in IptablesWrapper()
45 iptablesWrapperFfrtQueue_.reset(); in ~IptablesWrapper()
65 if (!iptablesWrapperFfrtQueue_) { in RunCommand()
76 iptablesWrapperFfrtQueue_->submit(executeCommand); in RunCommand()
86 iptablesWrapperFfrtQueue_->submit(executeCommand); in RunCommand()
97 if (!iptablesWrapperFfrtQueue_) { in RunCommandForRes()
109 iptablesWrapperFfrtQueue_->wait(RunCommandForResTaskIpv4); in RunCommandForRes()
120 iptablesWrapperFfrtQueue_->wait(RunCommandForResTaskIpv6); in RunCommandForRes()
130 if (!iptablesWrapperFfrtQueue_) { in RunMutipleCommands()
139 iptablesWrapperFfrtQueue_->submit(executeCommand); in RunMutipleCommands()
[all …]
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Diptables_wrapper.h88 std::shared_ptr<ffrt::queue> iptablesWrapperFfrtQueue_ = nullptr; variable