4 #ifndef PROTOBUF_C_icmp4_2eproto__INCLUDED
5 #define PROTOBUF_C_icmp4_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.
46 #define ICMP4__ICMP4_SCHEMA__INIT \
48 PROTOBUF_C_MESSAGE_INIT(&icmp4__icmp4_schema__descriptor) \
49 , (char *)protobuf_c_empty_string, 0, 0, 0, 0 \
58 ProtobufCBuffer *buffer);
63 ProtobufCAllocator *allocator);
size_t icmp4__icmp4_schema__pack(const Icmp4__Icmp4Schema *message, uint8_t *out)
Definition: icmp4.pb-c.c:19
void icmp4__icmp4_schema__init(Icmp4__Icmp4Schema *message)
Definition: icmp4.pb-c.c:10
size_t icmp4__icmp4_schema__pack_to_buffer(const Icmp4__Icmp4Schema *message, ProtobufCBuffer *buffer)
Definition: icmp4.pb-c.c:24
size_t icmp4__icmp4_schema__get_packed_size(const Icmp4__Icmp4Schema *message)
Definition: icmp4.pb-c.c:14
void icmp4__icmp4_schema__free_unpacked(Icmp4__Icmp4Schema *message, ProtobufCAllocator *allocator)
Definition: icmp4.pb-c.c:36
const ProtobufCMessageDescriptor icmp4__icmp4_schema__descriptor
Definition: icmp4.pb-c.c:86
void(* Icmp4__Icmp4Schema_Closure)(const Icmp4__Icmp4Schema *message, void *closure_data)
Definition: icmp4.pb-c.h:66
Icmp4__Icmp4Schema * icmp4__icmp4_schema__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: icmp4.pb-c.c:30
Definition: icmp4.pb-c.h:23
uint32_t type
Definition: icmp4.pb-c.h:32
char * id
Definition: icmp4.pb-c.h:28
uint32_t checksum
Definition: icmp4.pb-c.h:40
ProtobufCMessage base
Definition: icmp4.pb-c.h:24
uint32_t code
Definition: icmp4.pb-c.h:36
uint32_t gateway
Definition: icmp4.pb-c.h:44