17#ifndef ALLOCD_TEST_NFT_MESSAGES_HELPER_H_
18#define ALLOCD_TEST_NFT_MESSAGES_HELPER_H_
25#include "absl/strings/string_view.h"
68uint16_t
NftType(uint16_t message);
73std::vector<char>
Concat(std::vector<char> a,
const std::vector<char>& b);
Definition: netlink_request.h:33
#define error(format, args...)
Definition: fec_private.h:199
char data[Size]
Definition: incremental_server.cpp:1
Definition: nft_messages_helper.cc:38
std::vector< char > BuildTableReply(absl::string_view name)
Definition: nft_messages_helper.cc:192
std::string GetIpv4AddressAttr(const std::vector< Attr > &attrs, uint16_t type)
Definition: nft_messages_helper.cc:149
std::vector< Message > ParseMessages(const std::vector< char > &data)
Definition: nft_messages_helper.cc:81
uint32_t GetUint32BigEndianAttr(const std::vector< Attr > &attrs, uint16_t type)
Definition: nft_messages_helper.cc:128
std::string GetStringAttr(const std::vector< Attr > &attrs, uint16_t type)
Definition: nft_messages_helper.cc:118
std::vector< char > Concat(std::vector< char > a, const std::vector< char > &b)
Definition: nft_messages_helper.cc:203
std::vector< char > BuildErrorReply(int error)
Definition: nft_messages_helper.cc:186
uint16_t NftType(uint16_t message)
Definition: nft_messages_helper.cc:182
std::vector< Attr > GetNestedAttrs(const std::vector< Attr > &attrs, uint16_t type)
Definition: nft_messages_helper.cc:139
std::vector< Expression > GetRuleExpressions(const Message &rule)
Definition: nft_messages_helper.cc:166
uint8_t type
Definition: pairing_connection.h:0
Definition: nft_messages_helper.h:33
uint16_t type
Definition: nft_messages_helper.h:35
std::vector< char > payload
Definition: nft_messages_helper.h:36
Definition: nft_messages_helper.h:61
std::vector< Attr > attrs
Definition: nft_messages_helper.h:64
std::string name
Definition: nft_messages_helper.h:62
Definition: nft_messages_helper.h:39
uint8_t family
Definition: nft_messages_helper.h:42
uint16_t flags
Definition: nft_messages_helper.h:41
std::vector< Attr > attrs
Definition: nft_messages_helper.h:46
uint16_t type
Definition: nft_messages_helper.h:40
uint16_t res_id
Definition: nft_messages_helper.h:44