Android-cuttlefish cvd tool
Namespaces | Functions
nft_messages.h File Reference
#include <vector>
#include "absl/strings/string_view.h"
#include "allocd/net/netlink_request.h"
#include "cuttlefish/result/result.h"
Include dependency graph for nft_messages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::nft
 

Functions

NetlinkRequest cuttlefish::nft::NewTable (absl::string_view name)
 
NetlinkRequest cuttlefish::nft::DeleteTable (absl::string_view name)
 
NetlinkRequest cuttlefish::nft::NewNatChain (absl::string_view table, absl::string_view chain)
 
Result< NetlinkRequest > cuttlefish::nft::NewMasqueradeRule (absl::string_view table, absl::string_view chain, absl::string_view source_cidr)
 
std::vector< char > cuttlefish::nft::Batch (const std::vector< NetlinkRequest > &changes)
 
Result< void > cuttlefish::nft::CheckReplies (const std::vector< char > &reply_bytes)
 
std::vector< char > cuttlefish::nft::GetTable (absl::string_view name)
 
Result< bool > cuttlefish::nft::TableExistsFromReply (const std::vector< char > &reply_bytes)