17#ifndef ALLOCD_NET_NFT_RULE_H_
18#define ALLOCD_NET_NFT_RULE_H_
32 std::string_view table, std::string_view chain,
33 std::string_view content, std::string_view tag);
44 std::string_view chain, std::string comment);
Definition: nft_rule.h:28
NftRule & operator=(const NftRule &r)=delete
~NftRule()
Definition: nft_rule.cc:61
NftRule(NftRule &&r) noexcept
Definition: nft_rule.cc:54
NftRule & operator=(NftRule &&r)=delete
std::string family_
Definition: nft_rule.h:47
std::string table_
Definition: nft_rule.h:48
std::string chain_
Definition: nft_rule.h:49
std::string comment_
Definition: nft_rule.h:50
Nftables * nft_
Definition: nft_rule.h:46
NftRule(const NftRule &r)=delete
static Result< NftRule > Create(Nftables &nft, std::string_view family, std::string_view table, std::string_view chain, std::string_view content, std::string_view tag)
Definition: nft_rule.cc:37
Definition: nftables.h:28
Definition: alloc_driver.h:20
tl::expected< T, StackTraceError > Result
Definition: result_type.h:30