4 #ifndef PROTOBUF_C_eth_2eproto__INCLUDED
5 #define PROTOBUF_C_eth_2eproto__INCLUDED
7 #include <protobuf-c/protobuf-c.h>
9 PROTOBUF_C__BEGIN_DECLS
11 #if PROTOBUF_C_VERSION_NUMBER < 1003000
12 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
13 #elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION
14 # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
58 #define ETH__ETH_SCHEMA__INIT \
60 PROTOBUF_C_MESSAGE_INIT(ð__eth_schema__descriptor) \
61 , 0, (char *)protobuf_c_empty_string, 0, 0, \
62 (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, \
63 (char *)protobuf_c_empty_string, 0 \
71 ProtobufCBuffer *buffer);
73 size_t len,
const uint8_t *data);
75 ProtobufCAllocator *allocator);
const ProtobufCMessageDescriptor eth__eth_schema__descriptor
Definition: eth.pb-c.c:107
void eth__eth_schema__free_unpacked(Eth__EthSchema *message, ProtobufCAllocator *allocator)
Definition: eth.pb-c.c:34
Eth__EthSchema * eth__eth_schema__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: eth.pb-c.c:29
void eth__eth_schema__init(Eth__EthSchema *message)
Definition: eth.pb-c.c:10
void(* Eth__EthSchema_Closure)(const Eth__EthSchema *message, void *closure_data)
Definition: eth.pb-c.h:78
size_t eth__eth_schema__pack_to_buffer(const Eth__EthSchema *message, ProtobufCBuffer *buffer)
Definition: eth.pb-c.c:23
size_t eth__eth_schema__pack(const Eth__EthSchema *message, uint8_t *out)
Definition: eth.pb-c.c:19
size_t eth__eth_schema__get_packed_size(const Eth__EthSchema *message)
Definition: eth.pb-c.c:14
Definition: eth.pb-c.h:23
uint32_t caplen
Definition: eth.pb-c.h:36
ProtobufCMessage base
Definition: eth.pb-c.h:24
char * ether_dhost
Definition: eth.pb-c.h:48
uint32_t ether_type
Definition: eth.pb-c.h:56
char * ifname
Definition: eth.pb-c.h:44
char * ether_shost
Definition: eth.pb-c.h:52
uint64_t timestamp
Definition: eth.pb-c.h:28
uint32_t length
Definition: eth.pb-c.h:40
char * id
Definition: eth.pb-c.h:32