4#ifndef PROTOBUF_C_nmsg_2fbase_2fhttp_2eproto__INCLUDED
5#define PROTOBUF_C_nmsg_2fbase_2fhttp_2eproto__INCLUDED
7#include <protobuf-c/protobuf-c.h>
11#if PROTOBUF_C_VERSION_NUMBER < 1000000
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.
23typedef enum _Nmsg__Base__Http__HttpType {
24 NMSG__BASE__HTTP__HTTP_TYPE__unknown = 0,
25 NMSG__BASE__HTTP__HTTP_TYPE__sinkhole = 1
26 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(NMSG__BASE__HTTP__HTTP_TYPE)
27} Nmsg__Base__Http__HttpType;
33 ProtobufCMessage base;
34 Nmsg__Base__Http__HttpType type;
35 protobuf_c_boolean has_srcip;
36 ProtobufCBinaryData srcip;
37 protobuf_c_boolean has_srchost;
38 ProtobufCBinaryData srchost;
39 protobuf_c_boolean has_srcport;
41 protobuf_c_boolean has_dstip;
42 ProtobufCBinaryData dstip;
43 protobuf_c_boolean has_dstport;
45 protobuf_c_boolean has_request;
46 ProtobufCBinaryData request;
47 protobuf_c_boolean has_p0f_genre;
48 ProtobufCBinaryData p0f_genre;
49 protobuf_c_boolean has_p0f_detail;
50 ProtobufCBinaryData p0f_detail;
51 protobuf_c_boolean has_p0f_dist;
53 protobuf_c_boolean has_p0f_link;
54 ProtobufCBinaryData p0f_link;
55 protobuf_c_boolean has_p0f_tos;
56 ProtobufCBinaryData p0f_tos;
57 protobuf_c_boolean has_p0f_fw;
59 protobuf_c_boolean has_p0f_nat;
61 protobuf_c_boolean has_p0f_real;
63 protobuf_c_boolean has_p0f_score;
65 protobuf_c_boolean has_p0f_mflags;
67 protobuf_c_boolean has_p0f_uptime;
70#define NMSG__BASE__HTTP__INIT \
71 { PROTOBUF_C_MESSAGE_INIT (&nmsg__base__http__descriptor) \
72, NMSG__BASE__HTTP__HTTP_TYPE__unknown, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, {0,NULL}, 0, {0,NULL}, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
76void nmsg__base__http__init
78size_t nmsg__base__http__get_packed_size
80size_t nmsg__base__http__pack
83size_t nmsg__base__http__pack_to_buffer
85 ProtobufCBuffer *buffer);
87 nmsg__base__http__unpack
88 (ProtobufCAllocator *allocator,
91void nmsg__base__http__free_unpacked
93 ProtobufCAllocator *allocator);
96typedef void (*Nmsg__Base__Http_Closure)
105extern const ProtobufCMessageDescriptor nmsg__base__http__descriptor;
106extern const ProtobufCEnumDescriptor nmsg__base__http__http_type__descriptor;