|
| Result< void > | EnsureTable (std::string_view family, std::string_view table) override |
| |
| Result< void > | DeleteTable (std::string_view family, std::string_view table) override |
| |
| Result< void > | EnsureChain (std::string_view family, std::string_view table, std::string_view chain, std::string_view content) override |
| |
| Result< uint64_t > | AddRule (std::string_view family, std::string_view table, std::string_view chain, std::string_view content, std::string_view comment) override |
| |
| Result< void > | DeleteRule (std::string_view family, std::string_view table, std::string_view chain, uint64_t handle) override |
| |
| Result< void > | DeleteRulesByComment (std::string_view family, std::string_view table, std::string_view chain, std::string_view comment) override |
| |
| bool | HasTable (std::string_view family, std::string_view table) const |
| |
| bool | HasChain (std::string_view family, std::string_view table, std::string_view chain) const |
| |
| bool | HasRuleWithComment (std::string_view family, std::string_view table, std::string_view chain, std::string_view comment) const |
| |
| int | RuleCount (std::string_view family, std::string_view table, std::string_view chain) const |
| |
| virtual | ~Nftables ()=default |
| |
| virtual Result< void > | EnsureTable (std::string_view family, std::string_view table)=0 |
| |
| virtual Result< void > | DeleteTable (std::string_view family, std::string_view table)=0 |
| |
| virtual Result< void > | EnsureChain (std::string_view family, std::string_view table, std::string_view chain, std::string_view content)=0 |
| |
| virtual Result< uint64_t > | AddRule (std::string_view family, std::string_view table, std::string_view chain, std::string_view content, std::string_view comment)=0 |
| |
| virtual Result< void > | DeleteRule (std::string_view family, std::string_view table, std::string_view chain, uint64_t handle)=0 |
| |
| virtual Result< void > | DeleteRulesByComment (std::string_view family, std::string_view table, std::string_view chain, std::string_view comment)=0 |
| |