4 #ifndef PROTOBUF_C_ip4_2eproto__INCLUDED
5 #define PROTOBUF_C_ip4_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.
74 #define IP4__IP4_SCHEMA__INIT \
76 PROTOBUF_C_MESSAGE_INIT(&ip4__ip4_schema__descriptor) \
77 , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, \
78 (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, 0, 0 \
86 ProtobufCBuffer *buffer);
88 size_t len,
const uint8_t *data);
90 ProtobufCAllocator *allocator);
102 PROTOBUF_C__END_DECLS
void ip4__ip4_schema__init(Ip4__Ip4Schema *message)
Definition: ip4.pb-c.c:10
size_t ip4__ip4_schema__get_packed_size(const Ip4__Ip4Schema *message)
Definition: ip4.pb-c.c:14
size_t ip4__ip4_schema__pack_to_buffer(const Ip4__Ip4Schema *message, ProtobufCBuffer *buffer)
Definition: ip4.pb-c.c:23
void ip4__ip4_schema__free_unpacked(Ip4__Ip4Schema *message, ProtobufCAllocator *allocator)
Definition: ip4.pb-c.c:34
Ip4__Ip4Schema * ip4__ip4_schema__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: ip4.pb-c.c:29
void(* Ip4__Ip4Schema_Closure)(const Ip4__Ip4Schema *message, void *closure_data)
Definition: ip4.pb-c.h:93
const ProtobufCMessageDescriptor ip4__ip4_schema__descriptor
Definition: ip4.pb-c.c:134
size_t ip4__ip4_schema__pack(const Ip4__Ip4Schema *message, uint8_t *out)
Definition: ip4.pb-c.c:19
Definition: ip4.pb-c.h:23
uint32_t ip_v
Definition: ip4.pb-c.h:44
char * id
Definition: ip4.pb-c.h:28
char * ip_src
Definition: ip4.pb-c.h:32
uint32_t ip_ttl
Definition: ip4.pb-c.h:64
uint32_t ip_sum
Definition: ip4.pb-c.h:72
ProtobufCMessage base
Definition: ip4.pb-c.h:24
uint32_t ip_tos
Definition: ip4.pb-c.h:48
uint32_t ip_hl
Definition: ip4.pb-c.h:40
uint32_t ip_p
Definition: ip4.pb-c.h:68
uint32_t ip_len
Definition: ip4.pb-c.h:52
uint32_t ip_id
Definition: ip4.pb-c.h:56
char * ip_dst
Definition: ip4.pb-c.h:36
uint32_t ip_off
Definition: ip4.pb-c.h:60