1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: ipc.proto */
3
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
7 #endif
8
9 #include "ipc.pb-c.h"
auth_cookie_request_msg__init(AuthCookieRequestMsg * message)10 void auth_cookie_request_msg__init
11 (AuthCookieRequestMsg *message)
12 {
13 static const AuthCookieRequestMsg init_value = AUTH_COOKIE_REQUEST_MSG__INIT;
14 *message = init_value;
15 }
auth_cookie_request_msg__get_packed_size(const AuthCookieRequestMsg * message)16 size_t auth_cookie_request_msg__get_packed_size
17 (const AuthCookieRequestMsg *message)
18 {
19 assert(message->base.descriptor == &auth_cookie_request_msg__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
auth_cookie_request_msg__pack(const AuthCookieRequestMsg * message,uint8_t * out)22 size_t auth_cookie_request_msg__pack
23 (const AuthCookieRequestMsg *message,
24 uint8_t *out)
25 {
26 assert(message->base.descriptor == &auth_cookie_request_msg__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
auth_cookie_request_msg__pack_to_buffer(const AuthCookieRequestMsg * message,ProtobufCBuffer * buffer)29 size_t auth_cookie_request_msg__pack_to_buffer
30 (const AuthCookieRequestMsg *message,
31 ProtobufCBuffer *buffer)
32 {
33 assert(message->base.descriptor == &auth_cookie_request_msg__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 AuthCookieRequestMsg *
auth_cookie_request_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)37 auth_cookie_request_msg__unpack
38 (ProtobufCAllocator *allocator,
39 size_t len,
40 const uint8_t *data)
41 {
42 return (AuthCookieRequestMsg *)
43 protobuf_c_message_unpack (&auth_cookie_request_msg__descriptor,
44 allocator, len, data);
45 }
auth_cookie_request_msg__free_unpacked(AuthCookieRequestMsg * message,ProtobufCAllocator * allocator)46 void auth_cookie_request_msg__free_unpacked
47 (AuthCookieRequestMsg *message,
48 ProtobufCAllocator *allocator)
49 {
50 if(!message)
51 return;
52 assert(message->base.descriptor == &auth_cookie_request_msg__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
fw_port_st__init(FwPortSt * message)55 void fw_port_st__init
56 (FwPortSt *message)
57 {
58 static const FwPortSt init_value = FW_PORT_ST__INIT;
59 *message = init_value;
60 }
fw_port_st__get_packed_size(const FwPortSt * message)61 size_t fw_port_st__get_packed_size
62 (const FwPortSt *message)
63 {
64 assert(message->base.descriptor == &fw_port_st__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
fw_port_st__pack(const FwPortSt * message,uint8_t * out)67 size_t fw_port_st__pack
68 (const FwPortSt *message,
69 uint8_t *out)
70 {
71 assert(message->base.descriptor == &fw_port_st__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
fw_port_st__pack_to_buffer(const FwPortSt * message,ProtobufCBuffer * buffer)74 size_t fw_port_st__pack_to_buffer
75 (const FwPortSt *message,
76 ProtobufCBuffer *buffer)
77 {
78 assert(message->base.descriptor == &fw_port_st__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 FwPortSt *
fw_port_st__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)82 fw_port_st__unpack
83 (ProtobufCAllocator *allocator,
84 size_t len,
85 const uint8_t *data)
86 {
87 return (FwPortSt *)
88 protobuf_c_message_unpack (&fw_port_st__descriptor,
89 allocator, len, data);
90 }
fw_port_st__free_unpacked(FwPortSt * message,ProtobufCAllocator * allocator)91 void fw_port_st__free_unpacked
92 (FwPortSt *message,
93 ProtobufCAllocator *allocator)
94 {
95 if(!message)
96 return;
97 assert(message->base.descriptor == &fw_port_st__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
group_cfg_st__init(GroupCfgSt * message)100 void group_cfg_st__init
101 (GroupCfgSt *message)
102 {
103 static const GroupCfgSt init_value = GROUP_CFG_ST__INIT;
104 *message = init_value;
105 }
group_cfg_st__get_packed_size(const GroupCfgSt * message)106 size_t group_cfg_st__get_packed_size
107 (const GroupCfgSt *message)
108 {
109 assert(message->base.descriptor == &group_cfg_st__descriptor);
110 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
111 }
group_cfg_st__pack(const GroupCfgSt * message,uint8_t * out)112 size_t group_cfg_st__pack
113 (const GroupCfgSt *message,
114 uint8_t *out)
115 {
116 assert(message->base.descriptor == &group_cfg_st__descriptor);
117 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
118 }
group_cfg_st__pack_to_buffer(const GroupCfgSt * message,ProtobufCBuffer * buffer)119 size_t group_cfg_st__pack_to_buffer
120 (const GroupCfgSt *message,
121 ProtobufCBuffer *buffer)
122 {
123 assert(message->base.descriptor == &group_cfg_st__descriptor);
124 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
125 }
126 GroupCfgSt *
group_cfg_st__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)127 group_cfg_st__unpack
128 (ProtobufCAllocator *allocator,
129 size_t len,
130 const uint8_t *data)
131 {
132 return (GroupCfgSt *)
133 protobuf_c_message_unpack (&group_cfg_st__descriptor,
134 allocator, len, data);
135 }
group_cfg_st__free_unpacked(GroupCfgSt * message,ProtobufCAllocator * allocator)136 void group_cfg_st__free_unpacked
137 (GroupCfgSt *message,
138 ProtobufCAllocator *allocator)
139 {
140 if(!message)
141 return;
142 assert(message->base.descriptor == &group_cfg_st__descriptor);
143 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
144 }
auth_cookie_reply_msg__init(AuthCookieReplyMsg * message)145 void auth_cookie_reply_msg__init
146 (AuthCookieReplyMsg *message)
147 {
148 static const AuthCookieReplyMsg init_value = AUTH_COOKIE_REPLY_MSG__INIT;
149 *message = init_value;
150 }
auth_cookie_reply_msg__get_packed_size(const AuthCookieReplyMsg * message)151 size_t auth_cookie_reply_msg__get_packed_size
152 (const AuthCookieReplyMsg *message)
153 {
154 assert(message->base.descriptor == &auth_cookie_reply_msg__descriptor);
155 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
156 }
auth_cookie_reply_msg__pack(const AuthCookieReplyMsg * message,uint8_t * out)157 size_t auth_cookie_reply_msg__pack
158 (const AuthCookieReplyMsg *message,
159 uint8_t *out)
160 {
161 assert(message->base.descriptor == &auth_cookie_reply_msg__descriptor);
162 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
163 }
auth_cookie_reply_msg__pack_to_buffer(const AuthCookieReplyMsg * message,ProtobufCBuffer * buffer)164 size_t auth_cookie_reply_msg__pack_to_buffer
165 (const AuthCookieReplyMsg *message,
166 ProtobufCBuffer *buffer)
167 {
168 assert(message->base.descriptor == &auth_cookie_reply_msg__descriptor);
169 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
170 }
171 AuthCookieReplyMsg *
auth_cookie_reply_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)172 auth_cookie_reply_msg__unpack
173 (ProtobufCAllocator *allocator,
174 size_t len,
175 const uint8_t *data)
176 {
177 return (AuthCookieReplyMsg *)
178 protobuf_c_message_unpack (&auth_cookie_reply_msg__descriptor,
179 allocator, len, data);
180 }
auth_cookie_reply_msg__free_unpacked(AuthCookieReplyMsg * message,ProtobufCAllocator * allocator)181 void auth_cookie_reply_msg__free_unpacked
182 (AuthCookieReplyMsg *message,
183 ProtobufCAllocator *allocator)
184 {
185 if(!message)
186 return;
187 assert(message->base.descriptor == &auth_cookie_reply_msg__descriptor);
188 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
189 }
session_resume_fetch_msg__init(SessionResumeFetchMsg * message)190 void session_resume_fetch_msg__init
191 (SessionResumeFetchMsg *message)
192 {
193 static const SessionResumeFetchMsg init_value = SESSION_RESUME_FETCH_MSG__INIT;
194 *message = init_value;
195 }
session_resume_fetch_msg__get_packed_size(const SessionResumeFetchMsg * message)196 size_t session_resume_fetch_msg__get_packed_size
197 (const SessionResumeFetchMsg *message)
198 {
199 assert(message->base.descriptor == &session_resume_fetch_msg__descriptor);
200 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
201 }
session_resume_fetch_msg__pack(const SessionResumeFetchMsg * message,uint8_t * out)202 size_t session_resume_fetch_msg__pack
203 (const SessionResumeFetchMsg *message,
204 uint8_t *out)
205 {
206 assert(message->base.descriptor == &session_resume_fetch_msg__descriptor);
207 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
208 }
session_resume_fetch_msg__pack_to_buffer(const SessionResumeFetchMsg * message,ProtobufCBuffer * buffer)209 size_t session_resume_fetch_msg__pack_to_buffer
210 (const SessionResumeFetchMsg *message,
211 ProtobufCBuffer *buffer)
212 {
213 assert(message->base.descriptor == &session_resume_fetch_msg__descriptor);
214 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
215 }
216 SessionResumeFetchMsg *
session_resume_fetch_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)217 session_resume_fetch_msg__unpack
218 (ProtobufCAllocator *allocator,
219 size_t len,
220 const uint8_t *data)
221 {
222 return (SessionResumeFetchMsg *)
223 protobuf_c_message_unpack (&session_resume_fetch_msg__descriptor,
224 allocator, len, data);
225 }
session_resume_fetch_msg__free_unpacked(SessionResumeFetchMsg * message,ProtobufCAllocator * allocator)226 void session_resume_fetch_msg__free_unpacked
227 (SessionResumeFetchMsg *message,
228 ProtobufCAllocator *allocator)
229 {
230 if(!message)
231 return;
232 assert(message->base.descriptor == &session_resume_fetch_msg__descriptor);
233 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
234 }
session_resume_store_req_msg__init(SessionResumeStoreReqMsg * message)235 void session_resume_store_req_msg__init
236 (SessionResumeStoreReqMsg *message)
237 {
238 static const SessionResumeStoreReqMsg init_value = SESSION_RESUME_STORE_REQ_MSG__INIT;
239 *message = init_value;
240 }
session_resume_store_req_msg__get_packed_size(const SessionResumeStoreReqMsg * message)241 size_t session_resume_store_req_msg__get_packed_size
242 (const SessionResumeStoreReqMsg *message)
243 {
244 assert(message->base.descriptor == &session_resume_store_req_msg__descriptor);
245 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
246 }
session_resume_store_req_msg__pack(const SessionResumeStoreReqMsg * message,uint8_t * out)247 size_t session_resume_store_req_msg__pack
248 (const SessionResumeStoreReqMsg *message,
249 uint8_t *out)
250 {
251 assert(message->base.descriptor == &session_resume_store_req_msg__descriptor);
252 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
253 }
session_resume_store_req_msg__pack_to_buffer(const SessionResumeStoreReqMsg * message,ProtobufCBuffer * buffer)254 size_t session_resume_store_req_msg__pack_to_buffer
255 (const SessionResumeStoreReqMsg *message,
256 ProtobufCBuffer *buffer)
257 {
258 assert(message->base.descriptor == &session_resume_store_req_msg__descriptor);
259 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
260 }
261 SessionResumeStoreReqMsg *
session_resume_store_req_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)262 session_resume_store_req_msg__unpack
263 (ProtobufCAllocator *allocator,
264 size_t len,
265 const uint8_t *data)
266 {
267 return (SessionResumeStoreReqMsg *)
268 protobuf_c_message_unpack (&session_resume_store_req_msg__descriptor,
269 allocator, len, data);
270 }
session_resume_store_req_msg__free_unpacked(SessionResumeStoreReqMsg * message,ProtobufCAllocator * allocator)271 void session_resume_store_req_msg__free_unpacked
272 (SessionResumeStoreReqMsg *message,
273 ProtobufCAllocator *allocator)
274 {
275 if(!message)
276 return;
277 assert(message->base.descriptor == &session_resume_store_req_msg__descriptor);
278 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
279 }
session_resume_reply_msg__init(SessionResumeReplyMsg * message)280 void session_resume_reply_msg__init
281 (SessionResumeReplyMsg *message)
282 {
283 static const SessionResumeReplyMsg init_value = SESSION_RESUME_REPLY_MSG__INIT;
284 *message = init_value;
285 }
session_resume_reply_msg__get_packed_size(const SessionResumeReplyMsg * message)286 size_t session_resume_reply_msg__get_packed_size
287 (const SessionResumeReplyMsg *message)
288 {
289 assert(message->base.descriptor == &session_resume_reply_msg__descriptor);
290 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
291 }
session_resume_reply_msg__pack(const SessionResumeReplyMsg * message,uint8_t * out)292 size_t session_resume_reply_msg__pack
293 (const SessionResumeReplyMsg *message,
294 uint8_t *out)
295 {
296 assert(message->base.descriptor == &session_resume_reply_msg__descriptor);
297 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
298 }
session_resume_reply_msg__pack_to_buffer(const SessionResumeReplyMsg * message,ProtobufCBuffer * buffer)299 size_t session_resume_reply_msg__pack_to_buffer
300 (const SessionResumeReplyMsg *message,
301 ProtobufCBuffer *buffer)
302 {
303 assert(message->base.descriptor == &session_resume_reply_msg__descriptor);
304 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
305 }
306 SessionResumeReplyMsg *
session_resume_reply_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)307 session_resume_reply_msg__unpack
308 (ProtobufCAllocator *allocator,
309 size_t len,
310 const uint8_t *data)
311 {
312 return (SessionResumeReplyMsg *)
313 protobuf_c_message_unpack (&session_resume_reply_msg__descriptor,
314 allocator, len, data);
315 }
session_resume_reply_msg__free_unpacked(SessionResumeReplyMsg * message,ProtobufCAllocator * allocator)316 void session_resume_reply_msg__free_unpacked
317 (SessionResumeReplyMsg *message,
318 ProtobufCAllocator *allocator)
319 {
320 if(!message)
321 return;
322 assert(message->base.descriptor == &session_resume_reply_msg__descriptor);
323 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
324 }
tun_mtu_msg__init(TunMtuMsg * message)325 void tun_mtu_msg__init
326 (TunMtuMsg *message)
327 {
328 static const TunMtuMsg init_value = TUN_MTU_MSG__INIT;
329 *message = init_value;
330 }
tun_mtu_msg__get_packed_size(const TunMtuMsg * message)331 size_t tun_mtu_msg__get_packed_size
332 (const TunMtuMsg *message)
333 {
334 assert(message->base.descriptor == &tun_mtu_msg__descriptor);
335 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
336 }
tun_mtu_msg__pack(const TunMtuMsg * message,uint8_t * out)337 size_t tun_mtu_msg__pack
338 (const TunMtuMsg *message,
339 uint8_t *out)
340 {
341 assert(message->base.descriptor == &tun_mtu_msg__descriptor);
342 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
343 }
tun_mtu_msg__pack_to_buffer(const TunMtuMsg * message,ProtobufCBuffer * buffer)344 size_t tun_mtu_msg__pack_to_buffer
345 (const TunMtuMsg *message,
346 ProtobufCBuffer *buffer)
347 {
348 assert(message->base.descriptor == &tun_mtu_msg__descriptor);
349 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
350 }
351 TunMtuMsg *
tun_mtu_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)352 tun_mtu_msg__unpack
353 (ProtobufCAllocator *allocator,
354 size_t len,
355 const uint8_t *data)
356 {
357 return (TunMtuMsg *)
358 protobuf_c_message_unpack (&tun_mtu_msg__descriptor,
359 allocator, len, data);
360 }
tun_mtu_msg__free_unpacked(TunMtuMsg * message,ProtobufCAllocator * allocator)361 void tun_mtu_msg__free_unpacked
362 (TunMtuMsg *message,
363 ProtobufCAllocator *allocator)
364 {
365 if(!message)
366 return;
367 assert(message->base.descriptor == &tun_mtu_msg__descriptor);
368 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
369 }
cli_stats_msg__init(CliStatsMsg * message)370 void cli_stats_msg__init
371 (CliStatsMsg *message)
372 {
373 static const CliStatsMsg init_value = CLI_STATS_MSG__INIT;
374 *message = init_value;
375 }
cli_stats_msg__get_packed_size(const CliStatsMsg * message)376 size_t cli_stats_msg__get_packed_size
377 (const CliStatsMsg *message)
378 {
379 assert(message->base.descriptor == &cli_stats_msg__descriptor);
380 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
381 }
cli_stats_msg__pack(const CliStatsMsg * message,uint8_t * out)382 size_t cli_stats_msg__pack
383 (const CliStatsMsg *message,
384 uint8_t *out)
385 {
386 assert(message->base.descriptor == &cli_stats_msg__descriptor);
387 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
388 }
cli_stats_msg__pack_to_buffer(const CliStatsMsg * message,ProtobufCBuffer * buffer)389 size_t cli_stats_msg__pack_to_buffer
390 (const CliStatsMsg *message,
391 ProtobufCBuffer *buffer)
392 {
393 assert(message->base.descriptor == &cli_stats_msg__descriptor);
394 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
395 }
396 CliStatsMsg *
cli_stats_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)397 cli_stats_msg__unpack
398 (ProtobufCAllocator *allocator,
399 size_t len,
400 const uint8_t *data)
401 {
402 return (CliStatsMsg *)
403 protobuf_c_message_unpack (&cli_stats_msg__descriptor,
404 allocator, len, data);
405 }
cli_stats_msg__free_unpacked(CliStatsMsg * message,ProtobufCAllocator * allocator)406 void cli_stats_msg__free_unpacked
407 (CliStatsMsg *message,
408 ProtobufCAllocator *allocator)
409 {
410 if(!message)
411 return;
412 assert(message->base.descriptor == &cli_stats_msg__descriptor);
413 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
414 }
udp_fd_msg__init(UdpFdMsg * message)415 void udp_fd_msg__init
416 (UdpFdMsg *message)
417 {
418 static const UdpFdMsg init_value = UDP_FD_MSG__INIT;
419 *message = init_value;
420 }
udp_fd_msg__get_packed_size(const UdpFdMsg * message)421 size_t udp_fd_msg__get_packed_size
422 (const UdpFdMsg *message)
423 {
424 assert(message->base.descriptor == &udp_fd_msg__descriptor);
425 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
426 }
udp_fd_msg__pack(const UdpFdMsg * message,uint8_t * out)427 size_t udp_fd_msg__pack
428 (const UdpFdMsg *message,
429 uint8_t *out)
430 {
431 assert(message->base.descriptor == &udp_fd_msg__descriptor);
432 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
433 }
udp_fd_msg__pack_to_buffer(const UdpFdMsg * message,ProtobufCBuffer * buffer)434 size_t udp_fd_msg__pack_to_buffer
435 (const UdpFdMsg *message,
436 ProtobufCBuffer *buffer)
437 {
438 assert(message->base.descriptor == &udp_fd_msg__descriptor);
439 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
440 }
441 UdpFdMsg *
udp_fd_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)442 udp_fd_msg__unpack
443 (ProtobufCAllocator *allocator,
444 size_t len,
445 const uint8_t *data)
446 {
447 return (UdpFdMsg *)
448 protobuf_c_message_unpack (&udp_fd_msg__descriptor,
449 allocator, len, data);
450 }
udp_fd_msg__free_unpacked(UdpFdMsg * message,ProtobufCAllocator * allocator)451 void udp_fd_msg__free_unpacked
452 (UdpFdMsg *message,
453 ProtobufCAllocator *allocator)
454 {
455 if(!message)
456 return;
457 assert(message->base.descriptor == &udp_fd_msg__descriptor);
458 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
459 }
snapshot_entry_msg__init(SnapshotEntryMsg * message)460 void snapshot_entry_msg__init
461 (SnapshotEntryMsg *message)
462 {
463 static const SnapshotEntryMsg init_value = SNAPSHOT_ENTRY_MSG__INIT;
464 *message = init_value;
465 }
snapshot_entry_msg__get_packed_size(const SnapshotEntryMsg * message)466 size_t snapshot_entry_msg__get_packed_size
467 (const SnapshotEntryMsg *message)
468 {
469 assert(message->base.descriptor == &snapshot_entry_msg__descriptor);
470 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
471 }
snapshot_entry_msg__pack(const SnapshotEntryMsg * message,uint8_t * out)472 size_t snapshot_entry_msg__pack
473 (const SnapshotEntryMsg *message,
474 uint8_t *out)
475 {
476 assert(message->base.descriptor == &snapshot_entry_msg__descriptor);
477 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
478 }
snapshot_entry_msg__pack_to_buffer(const SnapshotEntryMsg * message,ProtobufCBuffer * buffer)479 size_t snapshot_entry_msg__pack_to_buffer
480 (const SnapshotEntryMsg *message,
481 ProtobufCBuffer *buffer)
482 {
483 assert(message->base.descriptor == &snapshot_entry_msg__descriptor);
484 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
485 }
486 SnapshotEntryMsg *
snapshot_entry_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)487 snapshot_entry_msg__unpack
488 (ProtobufCAllocator *allocator,
489 size_t len,
490 const uint8_t *data)
491 {
492 return (SnapshotEntryMsg *)
493 protobuf_c_message_unpack (&snapshot_entry_msg__descriptor,
494 allocator, len, data);
495 }
snapshot_entry_msg__free_unpacked(SnapshotEntryMsg * message,ProtobufCAllocator * allocator)496 void snapshot_entry_msg__free_unpacked
497 (SnapshotEntryMsg *message,
498 ProtobufCAllocator *allocator)
499 {
500 if(!message)
501 return;
502 assert(message->base.descriptor == &snapshot_entry_msg__descriptor);
503 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
504 }
worker_startup_msg__init(WorkerStartupMsg * message)505 void worker_startup_msg__init
506 (WorkerStartupMsg *message)
507 {
508 static const WorkerStartupMsg init_value = WORKER_STARTUP_MSG__INIT;
509 *message = init_value;
510 }
worker_startup_msg__get_packed_size(const WorkerStartupMsg * message)511 size_t worker_startup_msg__get_packed_size
512 (const WorkerStartupMsg *message)
513 {
514 assert(message->base.descriptor == &worker_startup_msg__descriptor);
515 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
516 }
worker_startup_msg__pack(const WorkerStartupMsg * message,uint8_t * out)517 size_t worker_startup_msg__pack
518 (const WorkerStartupMsg *message,
519 uint8_t *out)
520 {
521 assert(message->base.descriptor == &worker_startup_msg__descriptor);
522 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
523 }
worker_startup_msg__pack_to_buffer(const WorkerStartupMsg * message,ProtobufCBuffer * buffer)524 size_t worker_startup_msg__pack_to_buffer
525 (const WorkerStartupMsg *message,
526 ProtobufCBuffer *buffer)
527 {
528 assert(message->base.descriptor == &worker_startup_msg__descriptor);
529 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
530 }
531 WorkerStartupMsg *
worker_startup_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)532 worker_startup_msg__unpack
533 (ProtobufCAllocator *allocator,
534 size_t len,
535 const uint8_t *data)
536 {
537 return (WorkerStartupMsg *)
538 protobuf_c_message_unpack (&worker_startup_msg__descriptor,
539 allocator, len, data);
540 }
worker_startup_msg__free_unpacked(WorkerStartupMsg * message,ProtobufCAllocator * allocator)541 void worker_startup_msg__free_unpacked
542 (WorkerStartupMsg *message,
543 ProtobufCAllocator *allocator)
544 {
545 if(!message)
546 return;
547 assert(message->base.descriptor == &worker_startup_msg__descriptor);
548 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
549 }
session_info_msg__init(SessionInfoMsg * message)550 void session_info_msg__init
551 (SessionInfoMsg *message)
552 {
553 static const SessionInfoMsg init_value = SESSION_INFO_MSG__INIT;
554 *message = init_value;
555 }
session_info_msg__get_packed_size(const SessionInfoMsg * message)556 size_t session_info_msg__get_packed_size
557 (const SessionInfoMsg *message)
558 {
559 assert(message->base.descriptor == &session_info_msg__descriptor);
560 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
561 }
session_info_msg__pack(const SessionInfoMsg * message,uint8_t * out)562 size_t session_info_msg__pack
563 (const SessionInfoMsg *message,
564 uint8_t *out)
565 {
566 assert(message->base.descriptor == &session_info_msg__descriptor);
567 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
568 }
session_info_msg__pack_to_buffer(const SessionInfoMsg * message,ProtobufCBuffer * buffer)569 size_t session_info_msg__pack_to_buffer
570 (const SessionInfoMsg *message,
571 ProtobufCBuffer *buffer)
572 {
573 assert(message->base.descriptor == &session_info_msg__descriptor);
574 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
575 }
576 SessionInfoMsg *
session_info_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)577 session_info_msg__unpack
578 (ProtobufCAllocator *allocator,
579 size_t len,
580 const uint8_t *data)
581 {
582 return (SessionInfoMsg *)
583 protobuf_c_message_unpack (&session_info_msg__descriptor,
584 allocator, len, data);
585 }
session_info_msg__free_unpacked(SessionInfoMsg * message,ProtobufCAllocator * allocator)586 void session_info_msg__free_unpacked
587 (SessionInfoMsg *message,
588 ProtobufCAllocator *allocator)
589 {
590 if(!message)
591 return;
592 assert(message->base.descriptor == &session_info_msg__descriptor);
593 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
594 }
ban_ip_msg__init(BanIpMsg * message)595 void ban_ip_msg__init
596 (BanIpMsg *message)
597 {
598 static const BanIpMsg init_value = BAN_IP_MSG__INIT;
599 *message = init_value;
600 }
ban_ip_msg__get_packed_size(const BanIpMsg * message)601 size_t ban_ip_msg__get_packed_size
602 (const BanIpMsg *message)
603 {
604 assert(message->base.descriptor == &ban_ip_msg__descriptor);
605 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
606 }
ban_ip_msg__pack(const BanIpMsg * message,uint8_t * out)607 size_t ban_ip_msg__pack
608 (const BanIpMsg *message,
609 uint8_t *out)
610 {
611 assert(message->base.descriptor == &ban_ip_msg__descriptor);
612 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
613 }
ban_ip_msg__pack_to_buffer(const BanIpMsg * message,ProtobufCBuffer * buffer)614 size_t ban_ip_msg__pack_to_buffer
615 (const BanIpMsg *message,
616 ProtobufCBuffer *buffer)
617 {
618 assert(message->base.descriptor == &ban_ip_msg__descriptor);
619 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
620 }
621 BanIpMsg *
ban_ip_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)622 ban_ip_msg__unpack
623 (ProtobufCAllocator *allocator,
624 size_t len,
625 const uint8_t *data)
626 {
627 return (BanIpMsg *)
628 protobuf_c_message_unpack (&ban_ip_msg__descriptor,
629 allocator, len, data);
630 }
ban_ip_msg__free_unpacked(BanIpMsg * message,ProtobufCAllocator * allocator)631 void ban_ip_msg__free_unpacked
632 (BanIpMsg *message,
633 ProtobufCAllocator *allocator)
634 {
635 if(!message)
636 return;
637 assert(message->base.descriptor == &ban_ip_msg__descriptor);
638 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
639 }
ban_ip_reply_msg__init(BanIpReplyMsg * message)640 void ban_ip_reply_msg__init
641 (BanIpReplyMsg *message)
642 {
643 static const BanIpReplyMsg init_value = BAN_IP_REPLY_MSG__INIT;
644 *message = init_value;
645 }
ban_ip_reply_msg__get_packed_size(const BanIpReplyMsg * message)646 size_t ban_ip_reply_msg__get_packed_size
647 (const BanIpReplyMsg *message)
648 {
649 assert(message->base.descriptor == &ban_ip_reply_msg__descriptor);
650 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
651 }
ban_ip_reply_msg__pack(const BanIpReplyMsg * message,uint8_t * out)652 size_t ban_ip_reply_msg__pack
653 (const BanIpReplyMsg *message,
654 uint8_t *out)
655 {
656 assert(message->base.descriptor == &ban_ip_reply_msg__descriptor);
657 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
658 }
ban_ip_reply_msg__pack_to_buffer(const BanIpReplyMsg * message,ProtobufCBuffer * buffer)659 size_t ban_ip_reply_msg__pack_to_buffer
660 (const BanIpReplyMsg *message,
661 ProtobufCBuffer *buffer)
662 {
663 assert(message->base.descriptor == &ban_ip_reply_msg__descriptor);
664 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
665 }
666 BanIpReplyMsg *
ban_ip_reply_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)667 ban_ip_reply_msg__unpack
668 (ProtobufCAllocator *allocator,
669 size_t len,
670 const uint8_t *data)
671 {
672 return (BanIpReplyMsg *)
673 protobuf_c_message_unpack (&ban_ip_reply_msg__descriptor,
674 allocator, len, data);
675 }
ban_ip_reply_msg__free_unpacked(BanIpReplyMsg * message,ProtobufCAllocator * allocator)676 void ban_ip_reply_msg__free_unpacked
677 (BanIpReplyMsg *message,
678 ProtobufCAllocator *allocator)
679 {
680 if(!message)
681 return;
682 assert(message->base.descriptor == &ban_ip_reply_msg__descriptor);
683 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
684 }
latency_stats_delta__init(LatencyStatsDelta * message)685 void latency_stats_delta__init
686 (LatencyStatsDelta *message)
687 {
688 static const LatencyStatsDelta init_value = LATENCY_STATS_DELTA__INIT;
689 *message = init_value;
690 }
latency_stats_delta__get_packed_size(const LatencyStatsDelta * message)691 size_t latency_stats_delta__get_packed_size
692 (const LatencyStatsDelta *message)
693 {
694 assert(message->base.descriptor == &latency_stats_delta__descriptor);
695 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
696 }
latency_stats_delta__pack(const LatencyStatsDelta * message,uint8_t * out)697 size_t latency_stats_delta__pack
698 (const LatencyStatsDelta *message,
699 uint8_t *out)
700 {
701 assert(message->base.descriptor == &latency_stats_delta__descriptor);
702 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
703 }
latency_stats_delta__pack_to_buffer(const LatencyStatsDelta * message,ProtobufCBuffer * buffer)704 size_t latency_stats_delta__pack_to_buffer
705 (const LatencyStatsDelta *message,
706 ProtobufCBuffer *buffer)
707 {
708 assert(message->base.descriptor == &latency_stats_delta__descriptor);
709 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
710 }
711 LatencyStatsDelta *
latency_stats_delta__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)712 latency_stats_delta__unpack
713 (ProtobufCAllocator *allocator,
714 size_t len,
715 const uint8_t *data)
716 {
717 return (LatencyStatsDelta *)
718 protobuf_c_message_unpack (&latency_stats_delta__descriptor,
719 allocator, len, data);
720 }
latency_stats_delta__free_unpacked(LatencyStatsDelta * message,ProtobufCAllocator * allocator)721 void latency_stats_delta__free_unpacked
722 (LatencyStatsDelta *message,
723 ProtobufCAllocator *allocator)
724 {
725 if(!message)
726 return;
727 assert(message->base.descriptor == &latency_stats_delta__descriptor);
728 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
729 }
sec_auth_init_msg__init(SecAuthInitMsg * message)730 void sec_auth_init_msg__init
731 (SecAuthInitMsg *message)
732 {
733 static const SecAuthInitMsg init_value = SEC_AUTH_INIT_MSG__INIT;
734 *message = init_value;
735 }
sec_auth_init_msg__get_packed_size(const SecAuthInitMsg * message)736 size_t sec_auth_init_msg__get_packed_size
737 (const SecAuthInitMsg *message)
738 {
739 assert(message->base.descriptor == &sec_auth_init_msg__descriptor);
740 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
741 }
sec_auth_init_msg__pack(const SecAuthInitMsg * message,uint8_t * out)742 size_t sec_auth_init_msg__pack
743 (const SecAuthInitMsg *message,
744 uint8_t *out)
745 {
746 assert(message->base.descriptor == &sec_auth_init_msg__descriptor);
747 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
748 }
sec_auth_init_msg__pack_to_buffer(const SecAuthInitMsg * message,ProtobufCBuffer * buffer)749 size_t sec_auth_init_msg__pack_to_buffer
750 (const SecAuthInitMsg *message,
751 ProtobufCBuffer *buffer)
752 {
753 assert(message->base.descriptor == &sec_auth_init_msg__descriptor);
754 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
755 }
756 SecAuthInitMsg *
sec_auth_init_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)757 sec_auth_init_msg__unpack
758 (ProtobufCAllocator *allocator,
759 size_t len,
760 const uint8_t *data)
761 {
762 return (SecAuthInitMsg *)
763 protobuf_c_message_unpack (&sec_auth_init_msg__descriptor,
764 allocator, len, data);
765 }
sec_auth_init_msg__free_unpacked(SecAuthInitMsg * message,ProtobufCAllocator * allocator)766 void sec_auth_init_msg__free_unpacked
767 (SecAuthInitMsg *message,
768 ProtobufCAllocator *allocator)
769 {
770 if(!message)
771 return;
772 assert(message->base.descriptor == &sec_auth_init_msg__descriptor);
773 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
774 }
sec_auth_cont_msg__init(SecAuthContMsg * message)775 void sec_auth_cont_msg__init
776 (SecAuthContMsg *message)
777 {
778 static const SecAuthContMsg init_value = SEC_AUTH_CONT_MSG__INIT;
779 *message = init_value;
780 }
sec_auth_cont_msg__get_packed_size(const SecAuthContMsg * message)781 size_t sec_auth_cont_msg__get_packed_size
782 (const SecAuthContMsg *message)
783 {
784 assert(message->base.descriptor == &sec_auth_cont_msg__descriptor);
785 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
786 }
sec_auth_cont_msg__pack(const SecAuthContMsg * message,uint8_t * out)787 size_t sec_auth_cont_msg__pack
788 (const SecAuthContMsg *message,
789 uint8_t *out)
790 {
791 assert(message->base.descriptor == &sec_auth_cont_msg__descriptor);
792 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
793 }
sec_auth_cont_msg__pack_to_buffer(const SecAuthContMsg * message,ProtobufCBuffer * buffer)794 size_t sec_auth_cont_msg__pack_to_buffer
795 (const SecAuthContMsg *message,
796 ProtobufCBuffer *buffer)
797 {
798 assert(message->base.descriptor == &sec_auth_cont_msg__descriptor);
799 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
800 }
801 SecAuthContMsg *
sec_auth_cont_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)802 sec_auth_cont_msg__unpack
803 (ProtobufCAllocator *allocator,
804 size_t len,
805 const uint8_t *data)
806 {
807 return (SecAuthContMsg *)
808 protobuf_c_message_unpack (&sec_auth_cont_msg__descriptor,
809 allocator, len, data);
810 }
sec_auth_cont_msg__free_unpacked(SecAuthContMsg * message,ProtobufCAllocator * allocator)811 void sec_auth_cont_msg__free_unpacked
812 (SecAuthContMsg *message,
813 ProtobufCAllocator *allocator)
814 {
815 if(!message)
816 return;
817 assert(message->base.descriptor == &sec_auth_cont_msg__descriptor);
818 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
819 }
sec_auth_reply_msg__init(SecAuthReplyMsg * message)820 void sec_auth_reply_msg__init
821 (SecAuthReplyMsg *message)
822 {
823 static const SecAuthReplyMsg init_value = SEC_AUTH_REPLY_MSG__INIT;
824 *message = init_value;
825 }
sec_auth_reply_msg__get_packed_size(const SecAuthReplyMsg * message)826 size_t sec_auth_reply_msg__get_packed_size
827 (const SecAuthReplyMsg *message)
828 {
829 assert(message->base.descriptor == &sec_auth_reply_msg__descriptor);
830 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
831 }
sec_auth_reply_msg__pack(const SecAuthReplyMsg * message,uint8_t * out)832 size_t sec_auth_reply_msg__pack
833 (const SecAuthReplyMsg *message,
834 uint8_t *out)
835 {
836 assert(message->base.descriptor == &sec_auth_reply_msg__descriptor);
837 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
838 }
sec_auth_reply_msg__pack_to_buffer(const SecAuthReplyMsg * message,ProtobufCBuffer * buffer)839 size_t sec_auth_reply_msg__pack_to_buffer
840 (const SecAuthReplyMsg *message,
841 ProtobufCBuffer *buffer)
842 {
843 assert(message->base.descriptor == &sec_auth_reply_msg__descriptor);
844 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
845 }
846 SecAuthReplyMsg *
sec_auth_reply_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)847 sec_auth_reply_msg__unpack
848 (ProtobufCAllocator *allocator,
849 size_t len,
850 const uint8_t *data)
851 {
852 return (SecAuthReplyMsg *)
853 protobuf_c_message_unpack (&sec_auth_reply_msg__descriptor,
854 allocator, len, data);
855 }
sec_auth_reply_msg__free_unpacked(SecAuthReplyMsg * message,ProtobufCAllocator * allocator)856 void sec_auth_reply_msg__free_unpacked
857 (SecAuthReplyMsg *message,
858 ProtobufCAllocator *allocator)
859 {
860 if(!message)
861 return;
862 assert(message->base.descriptor == &sec_auth_reply_msg__descriptor);
863 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
864 }
sec_op_msg__init(SecOpMsg * message)865 void sec_op_msg__init
866 (SecOpMsg *message)
867 {
868 static const SecOpMsg init_value = SEC_OP_MSG__INIT;
869 *message = init_value;
870 }
sec_op_msg__get_packed_size(const SecOpMsg * message)871 size_t sec_op_msg__get_packed_size
872 (const SecOpMsg *message)
873 {
874 assert(message->base.descriptor == &sec_op_msg__descriptor);
875 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
876 }
sec_op_msg__pack(const SecOpMsg * message,uint8_t * out)877 size_t sec_op_msg__pack
878 (const SecOpMsg *message,
879 uint8_t *out)
880 {
881 assert(message->base.descriptor == &sec_op_msg__descriptor);
882 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
883 }
sec_op_msg__pack_to_buffer(const SecOpMsg * message,ProtobufCBuffer * buffer)884 size_t sec_op_msg__pack_to_buffer
885 (const SecOpMsg *message,
886 ProtobufCBuffer *buffer)
887 {
888 assert(message->base.descriptor == &sec_op_msg__descriptor);
889 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
890 }
891 SecOpMsg *
sec_op_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)892 sec_op_msg__unpack
893 (ProtobufCAllocator *allocator,
894 size_t len,
895 const uint8_t *data)
896 {
897 return (SecOpMsg *)
898 protobuf_c_message_unpack (&sec_op_msg__descriptor,
899 allocator, len, data);
900 }
sec_op_msg__free_unpacked(SecOpMsg * message,ProtobufCAllocator * allocator)901 void sec_op_msg__free_unpacked
902 (SecOpMsg *message,
903 ProtobufCAllocator *allocator)
904 {
905 if(!message)
906 return;
907 assert(message->base.descriptor == &sec_op_msg__descriptor);
908 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
909 }
sec_get_pk_msg__init(SecGetPkMsg * message)910 void sec_get_pk_msg__init
911 (SecGetPkMsg *message)
912 {
913 static const SecGetPkMsg init_value = SEC_GET_PK_MSG__INIT;
914 *message = init_value;
915 }
sec_get_pk_msg__get_packed_size(const SecGetPkMsg * message)916 size_t sec_get_pk_msg__get_packed_size
917 (const SecGetPkMsg *message)
918 {
919 assert(message->base.descriptor == &sec_get_pk_msg__descriptor);
920 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
921 }
sec_get_pk_msg__pack(const SecGetPkMsg * message,uint8_t * out)922 size_t sec_get_pk_msg__pack
923 (const SecGetPkMsg *message,
924 uint8_t *out)
925 {
926 assert(message->base.descriptor == &sec_get_pk_msg__descriptor);
927 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
928 }
sec_get_pk_msg__pack_to_buffer(const SecGetPkMsg * message,ProtobufCBuffer * buffer)929 size_t sec_get_pk_msg__pack_to_buffer
930 (const SecGetPkMsg *message,
931 ProtobufCBuffer *buffer)
932 {
933 assert(message->base.descriptor == &sec_get_pk_msg__descriptor);
934 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
935 }
936 SecGetPkMsg *
sec_get_pk_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)937 sec_get_pk_msg__unpack
938 (ProtobufCAllocator *allocator,
939 size_t len,
940 const uint8_t *data)
941 {
942 return (SecGetPkMsg *)
943 protobuf_c_message_unpack (&sec_get_pk_msg__descriptor,
944 allocator, len, data);
945 }
sec_get_pk_msg__free_unpacked(SecGetPkMsg * message,ProtobufCAllocator * allocator)946 void sec_get_pk_msg__free_unpacked
947 (SecGetPkMsg *message,
948 ProtobufCAllocator *allocator)
949 {
950 if(!message)
951 return;
952 assert(message->base.descriptor == &sec_get_pk_msg__descriptor);
953 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
954 }
secm_session_open_msg__init(SecmSessionOpenMsg * message)955 void secm_session_open_msg__init
956 (SecmSessionOpenMsg *message)
957 {
958 static const SecmSessionOpenMsg init_value = SECM_SESSION_OPEN_MSG__INIT;
959 *message = init_value;
960 }
secm_session_open_msg__get_packed_size(const SecmSessionOpenMsg * message)961 size_t secm_session_open_msg__get_packed_size
962 (const SecmSessionOpenMsg *message)
963 {
964 assert(message->base.descriptor == &secm_session_open_msg__descriptor);
965 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
966 }
secm_session_open_msg__pack(const SecmSessionOpenMsg * message,uint8_t * out)967 size_t secm_session_open_msg__pack
968 (const SecmSessionOpenMsg *message,
969 uint8_t *out)
970 {
971 assert(message->base.descriptor == &secm_session_open_msg__descriptor);
972 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
973 }
secm_session_open_msg__pack_to_buffer(const SecmSessionOpenMsg * message,ProtobufCBuffer * buffer)974 size_t secm_session_open_msg__pack_to_buffer
975 (const SecmSessionOpenMsg *message,
976 ProtobufCBuffer *buffer)
977 {
978 assert(message->base.descriptor == &secm_session_open_msg__descriptor);
979 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
980 }
981 SecmSessionOpenMsg *
secm_session_open_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)982 secm_session_open_msg__unpack
983 (ProtobufCAllocator *allocator,
984 size_t len,
985 const uint8_t *data)
986 {
987 return (SecmSessionOpenMsg *)
988 protobuf_c_message_unpack (&secm_session_open_msg__descriptor,
989 allocator, len, data);
990 }
secm_session_open_msg__free_unpacked(SecmSessionOpenMsg * message,ProtobufCAllocator * allocator)991 void secm_session_open_msg__free_unpacked
992 (SecmSessionOpenMsg *message,
993 ProtobufCAllocator *allocator)
994 {
995 if(!message)
996 return;
997 assert(message->base.descriptor == &secm_session_open_msg__descriptor);
998 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
999 }
secm_session_close_msg__init(SecmSessionCloseMsg * message)1000 void secm_session_close_msg__init
1001 (SecmSessionCloseMsg *message)
1002 {
1003 static const SecmSessionCloseMsg init_value = SECM_SESSION_CLOSE_MSG__INIT;
1004 *message = init_value;
1005 }
secm_session_close_msg__get_packed_size(const SecmSessionCloseMsg * message)1006 size_t secm_session_close_msg__get_packed_size
1007 (const SecmSessionCloseMsg *message)
1008 {
1009 assert(message->base.descriptor == &secm_session_close_msg__descriptor);
1010 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1011 }
secm_session_close_msg__pack(const SecmSessionCloseMsg * message,uint8_t * out)1012 size_t secm_session_close_msg__pack
1013 (const SecmSessionCloseMsg *message,
1014 uint8_t *out)
1015 {
1016 assert(message->base.descriptor == &secm_session_close_msg__descriptor);
1017 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1018 }
secm_session_close_msg__pack_to_buffer(const SecmSessionCloseMsg * message,ProtobufCBuffer * buffer)1019 size_t secm_session_close_msg__pack_to_buffer
1020 (const SecmSessionCloseMsg *message,
1021 ProtobufCBuffer *buffer)
1022 {
1023 assert(message->base.descriptor == &secm_session_close_msg__descriptor);
1024 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1025 }
1026 SecmSessionCloseMsg *
secm_session_close_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1027 secm_session_close_msg__unpack
1028 (ProtobufCAllocator *allocator,
1029 size_t len,
1030 const uint8_t *data)
1031 {
1032 return (SecmSessionCloseMsg *)
1033 protobuf_c_message_unpack (&secm_session_close_msg__descriptor,
1034 allocator, len, data);
1035 }
secm_session_close_msg__free_unpacked(SecmSessionCloseMsg * message,ProtobufCAllocator * allocator)1036 void secm_session_close_msg__free_unpacked
1037 (SecmSessionCloseMsg *message,
1038 ProtobufCAllocator *allocator)
1039 {
1040 if(!message)
1041 return;
1042 assert(message->base.descriptor == &secm_session_close_msg__descriptor);
1043 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1044 }
secm_stats_msg__init(SecmStatsMsg * message)1045 void secm_stats_msg__init
1046 (SecmStatsMsg *message)
1047 {
1048 static const SecmStatsMsg init_value = SECM_STATS_MSG__INIT;
1049 *message = init_value;
1050 }
secm_stats_msg__get_packed_size(const SecmStatsMsg * message)1051 size_t secm_stats_msg__get_packed_size
1052 (const SecmStatsMsg *message)
1053 {
1054 assert(message->base.descriptor == &secm_stats_msg__descriptor);
1055 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1056 }
secm_stats_msg__pack(const SecmStatsMsg * message,uint8_t * out)1057 size_t secm_stats_msg__pack
1058 (const SecmStatsMsg *message,
1059 uint8_t *out)
1060 {
1061 assert(message->base.descriptor == &secm_stats_msg__descriptor);
1062 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1063 }
secm_stats_msg__pack_to_buffer(const SecmStatsMsg * message,ProtobufCBuffer * buffer)1064 size_t secm_stats_msg__pack_to_buffer
1065 (const SecmStatsMsg *message,
1066 ProtobufCBuffer *buffer)
1067 {
1068 assert(message->base.descriptor == &secm_stats_msg__descriptor);
1069 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1070 }
1071 SecmStatsMsg *
secm_stats_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1072 secm_stats_msg__unpack
1073 (ProtobufCAllocator *allocator,
1074 size_t len,
1075 const uint8_t *data)
1076 {
1077 return (SecmStatsMsg *)
1078 protobuf_c_message_unpack (&secm_stats_msg__descriptor,
1079 allocator, len, data);
1080 }
secm_stats_msg__free_unpacked(SecmStatsMsg * message,ProtobufCAllocator * allocator)1081 void secm_stats_msg__free_unpacked
1082 (SecmStatsMsg *message,
1083 ProtobufCAllocator *allocator)
1084 {
1085 if(!message)
1086 return;
1087 assert(message->base.descriptor == &secm_stats_msg__descriptor);
1088 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1089 }
secm_session_reply_msg__init(SecmSessionReplyMsg * message)1090 void secm_session_reply_msg__init
1091 (SecmSessionReplyMsg *message)
1092 {
1093 static const SecmSessionReplyMsg init_value = SECM_SESSION_REPLY_MSG__INIT;
1094 *message = init_value;
1095 }
secm_session_reply_msg__get_packed_size(const SecmSessionReplyMsg * message)1096 size_t secm_session_reply_msg__get_packed_size
1097 (const SecmSessionReplyMsg *message)
1098 {
1099 assert(message->base.descriptor == &secm_session_reply_msg__descriptor);
1100 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1101 }
secm_session_reply_msg__pack(const SecmSessionReplyMsg * message,uint8_t * out)1102 size_t secm_session_reply_msg__pack
1103 (const SecmSessionReplyMsg *message,
1104 uint8_t *out)
1105 {
1106 assert(message->base.descriptor == &secm_session_reply_msg__descriptor);
1107 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1108 }
secm_session_reply_msg__pack_to_buffer(const SecmSessionReplyMsg * message,ProtobufCBuffer * buffer)1109 size_t secm_session_reply_msg__pack_to_buffer
1110 (const SecmSessionReplyMsg *message,
1111 ProtobufCBuffer *buffer)
1112 {
1113 assert(message->base.descriptor == &secm_session_reply_msg__descriptor);
1114 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1115 }
1116 SecmSessionReplyMsg *
secm_session_reply_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1117 secm_session_reply_msg__unpack
1118 (ProtobufCAllocator *allocator,
1119 size_t len,
1120 const uint8_t *data)
1121 {
1122 return (SecmSessionReplyMsg *)
1123 protobuf_c_message_unpack (&secm_session_reply_msg__descriptor,
1124 allocator, len, data);
1125 }
secm_session_reply_msg__free_unpacked(SecmSessionReplyMsg * message,ProtobufCAllocator * allocator)1126 void secm_session_reply_msg__free_unpacked
1127 (SecmSessionReplyMsg *message,
1128 ProtobufCAllocator *allocator)
1129 {
1130 if(!message)
1131 return;
1132 assert(message->base.descriptor == &secm_session_reply_msg__descriptor);
1133 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1134 }
cookie_int_msg__init(CookieIntMsg * message)1135 void cookie_int_msg__init
1136 (CookieIntMsg *message)
1137 {
1138 static const CookieIntMsg init_value = COOKIE_INT_MSG__INIT;
1139 *message = init_value;
1140 }
cookie_int_msg__get_packed_size(const CookieIntMsg * message)1141 size_t cookie_int_msg__get_packed_size
1142 (const CookieIntMsg *message)
1143 {
1144 assert(message->base.descriptor == &cookie_int_msg__descriptor);
1145 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1146 }
cookie_int_msg__pack(const CookieIntMsg * message,uint8_t * out)1147 size_t cookie_int_msg__pack
1148 (const CookieIntMsg *message,
1149 uint8_t *out)
1150 {
1151 assert(message->base.descriptor == &cookie_int_msg__descriptor);
1152 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1153 }
cookie_int_msg__pack_to_buffer(const CookieIntMsg * message,ProtobufCBuffer * buffer)1154 size_t cookie_int_msg__pack_to_buffer
1155 (const CookieIntMsg *message,
1156 ProtobufCBuffer *buffer)
1157 {
1158 assert(message->base.descriptor == &cookie_int_msg__descriptor);
1159 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1160 }
1161 CookieIntMsg *
cookie_int_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1162 cookie_int_msg__unpack
1163 (ProtobufCAllocator *allocator,
1164 size_t len,
1165 const uint8_t *data)
1166 {
1167 return (CookieIntMsg *)
1168 protobuf_c_message_unpack (&cookie_int_msg__descriptor,
1169 allocator, len, data);
1170 }
cookie_int_msg__free_unpacked(CookieIntMsg * message,ProtobufCAllocator * allocator)1171 void cookie_int_msg__free_unpacked
1172 (CookieIntMsg *message,
1173 ProtobufCAllocator *allocator)
1174 {
1175 if(!message)
1176 return;
1177 assert(message->base.descriptor == &cookie_int_msg__descriptor);
1178 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1179 }
secm_list_cookies_reply_msg__init(SecmListCookiesReplyMsg * message)1180 void secm_list_cookies_reply_msg__init
1181 (SecmListCookiesReplyMsg *message)
1182 {
1183 static const SecmListCookiesReplyMsg init_value = SECM_LIST_COOKIES_REPLY_MSG__INIT;
1184 *message = init_value;
1185 }
secm_list_cookies_reply_msg__get_packed_size(const SecmListCookiesReplyMsg * message)1186 size_t secm_list_cookies_reply_msg__get_packed_size
1187 (const SecmListCookiesReplyMsg *message)
1188 {
1189 assert(message->base.descriptor == &secm_list_cookies_reply_msg__descriptor);
1190 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1191 }
secm_list_cookies_reply_msg__pack(const SecmListCookiesReplyMsg * message,uint8_t * out)1192 size_t secm_list_cookies_reply_msg__pack
1193 (const SecmListCookiesReplyMsg *message,
1194 uint8_t *out)
1195 {
1196 assert(message->base.descriptor == &secm_list_cookies_reply_msg__descriptor);
1197 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1198 }
secm_list_cookies_reply_msg__pack_to_buffer(const SecmListCookiesReplyMsg * message,ProtobufCBuffer * buffer)1199 size_t secm_list_cookies_reply_msg__pack_to_buffer
1200 (const SecmListCookiesReplyMsg *message,
1201 ProtobufCBuffer *buffer)
1202 {
1203 assert(message->base.descriptor == &secm_list_cookies_reply_msg__descriptor);
1204 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1205 }
1206 SecmListCookiesReplyMsg *
secm_list_cookies_reply_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1207 secm_list_cookies_reply_msg__unpack
1208 (ProtobufCAllocator *allocator,
1209 size_t len,
1210 const uint8_t *data)
1211 {
1212 return (SecmListCookiesReplyMsg *)
1213 protobuf_c_message_unpack (&secm_list_cookies_reply_msg__descriptor,
1214 allocator, len, data);
1215 }
secm_list_cookies_reply_msg__free_unpacked(SecmListCookiesReplyMsg * message,ProtobufCAllocator * allocator)1216 void secm_list_cookies_reply_msg__free_unpacked
1217 (SecmListCookiesReplyMsg *message,
1218 ProtobufCAllocator *allocator)
1219 {
1220 if(!message)
1221 return;
1222 assert(message->base.descriptor == &secm_list_cookies_reply_msg__descriptor);
1223 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1224 }
snapshot_state_msg__init(SnapshotStateMsg * message)1225 void snapshot_state_msg__init
1226 (SnapshotStateMsg *message)
1227 {
1228 static const SnapshotStateMsg init_value = SNAPSHOT_STATE_MSG__INIT;
1229 *message = init_value;
1230 }
snapshot_state_msg__get_packed_size(const SnapshotStateMsg * message)1231 size_t snapshot_state_msg__get_packed_size
1232 (const SnapshotStateMsg *message)
1233 {
1234 assert(message->base.descriptor == &snapshot_state_msg__descriptor);
1235 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1236 }
snapshot_state_msg__pack(const SnapshotStateMsg * message,uint8_t * out)1237 size_t snapshot_state_msg__pack
1238 (const SnapshotStateMsg *message,
1239 uint8_t *out)
1240 {
1241 assert(message->base.descriptor == &snapshot_state_msg__descriptor);
1242 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1243 }
snapshot_state_msg__pack_to_buffer(const SnapshotStateMsg * message,ProtobufCBuffer * buffer)1244 size_t snapshot_state_msg__pack_to_buffer
1245 (const SnapshotStateMsg *message,
1246 ProtobufCBuffer *buffer)
1247 {
1248 assert(message->base.descriptor == &snapshot_state_msg__descriptor);
1249 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1250 }
1251 SnapshotStateMsg *
snapshot_state_msg__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)1252 snapshot_state_msg__unpack
1253 (ProtobufCAllocator *allocator,
1254 size_t len,
1255 const uint8_t *data)
1256 {
1257 return (SnapshotStateMsg *)
1258 protobuf_c_message_unpack (&snapshot_state_msg__descriptor,
1259 allocator, len, data);
1260 }
snapshot_state_msg__free_unpacked(SnapshotStateMsg * message,ProtobufCAllocator * allocator)1261 void snapshot_state_msg__free_unpacked
1262 (SnapshotStateMsg *message,
1263 ProtobufCAllocator *allocator)
1264 {
1265 if(!message)
1266 return;
1267 assert(message->base.descriptor == &snapshot_state_msg__descriptor);
1268 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1269 }
1270 static const ProtobufCFieldDescriptor auth_cookie_request_msg__field_descriptors[2] =
1271 {
1272 {
1273 "cookie",
1274 1,
1275 PROTOBUF_C_LABEL_REQUIRED,
1276 PROTOBUF_C_TYPE_BYTES,
1277 0, /* quantifier_offset */
1278 offsetof(AuthCookieRequestMsg, cookie),
1279 NULL,
1280 NULL,
1281 0, /* flags */
1282 0,NULL,NULL /* reserved1,reserved2, etc */
1283 },
1284 {
1285 "hostname",
1286 2,
1287 PROTOBUF_C_LABEL_OPTIONAL,
1288 PROTOBUF_C_TYPE_STRING,
1289 0, /* quantifier_offset */
1290 offsetof(AuthCookieRequestMsg, hostname),
1291 NULL,
1292 NULL,
1293 0, /* flags */
1294 0,NULL,NULL /* reserved1,reserved2, etc */
1295 },
1296 };
1297 static const unsigned auth_cookie_request_msg__field_indices_by_name[] = {
1298 0, /* field[0] = cookie */
1299 1, /* field[1] = hostname */
1300 };
1301 static const ProtobufCIntRange auth_cookie_request_msg__number_ranges[1 + 1] =
1302 {
1303 { 1, 0 },
1304 { 0, 2 }
1305 };
1306 const ProtobufCMessageDescriptor auth_cookie_request_msg__descriptor =
1307 {
1308 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
1309 "auth_cookie_request_msg",
1310 "AuthCookieRequestMsg",
1311 "AuthCookieRequestMsg",
1312 "",
1313 sizeof(AuthCookieRequestMsg),
1314 2,
1315 auth_cookie_request_msg__field_descriptors,
1316 auth_cookie_request_msg__field_indices_by_name,
1317 1, auth_cookie_request_msg__number_ranges,
1318 (ProtobufCMessageInit) auth_cookie_request_msg__init,
1319 NULL,NULL,NULL /* reserved[123] */
1320 };
1321 static const ProtobufCFieldDescriptor fw_port_st__field_descriptors[3] =
1322 {
1323 {
1324 "port",
1325 1,
1326 PROTOBUF_C_LABEL_REQUIRED,
1327 PROTOBUF_C_TYPE_UINT32,
1328 0, /* quantifier_offset */
1329 offsetof(FwPortSt, port),
1330 NULL,
1331 NULL,
1332 0, /* flags */
1333 0,NULL,NULL /* reserved1,reserved2, etc */
1334 },
1335 {
1336 "proto",
1337 2,
1338 PROTOBUF_C_LABEL_REQUIRED,
1339 PROTOBUF_C_TYPE_UINT32,
1340 0, /* quantifier_offset */
1341 offsetof(FwPortSt, proto),
1342 NULL,
1343 NULL,
1344 0, /* flags */
1345 0,NULL,NULL /* reserved1,reserved2, etc */
1346 },
1347 {
1348 "negate",
1349 3,
1350 PROTOBUF_C_LABEL_REQUIRED,
1351 PROTOBUF_C_TYPE_UINT32,
1352 0, /* quantifier_offset */
1353 offsetof(FwPortSt, negate),
1354 NULL,
1355 NULL,
1356 0, /* flags */
1357 0,NULL,NULL /* reserved1,reserved2, etc */
1358 },
1359 };
1360 static const unsigned fw_port_st__field_indices_by_name[] = {
1361 2, /* field[2] = negate */
1362 0, /* field[0] = port */
1363 1, /* field[1] = proto */
1364 };
1365 static const ProtobufCIntRange fw_port_st__number_ranges[1 + 1] =
1366 {
1367 { 1, 0 },
1368 { 0, 3 }
1369 };
1370 const ProtobufCMessageDescriptor fw_port_st__descriptor =
1371 {
1372 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
1373 "fw_port_st",
1374 "FwPortSt",
1375 "FwPortSt",
1376 "",
1377 sizeof(FwPortSt),
1378 3,
1379 fw_port_st__field_descriptors,
1380 fw_port_st__field_indices_by_name,
1381 1, fw_port_st__number_ranges,
1382 (ProtobufCMessageInit) fw_port_st__init,
1383 NULL,NULL,NULL /* reserved[123] */
1384 };
1385 static const ProtobufCFieldDescriptor group_cfg_st__field_descriptors[34] =
1386 {
1387 {
1388 "interim_update_secs",
1389 2,
1390 PROTOBUF_C_LABEL_OPTIONAL,
1391 PROTOBUF_C_TYPE_UINT32,
1392 offsetof(GroupCfgSt, has_interim_update_secs),
1393 offsetof(GroupCfgSt, interim_update_secs),
1394 NULL,
1395 NULL,
1396 0, /* flags */
1397 0,NULL,NULL /* reserved1,reserved2, etc */
1398 },
1399 {
1400 "session_timeout_secs",
1401 3,
1402 PROTOBUF_C_LABEL_OPTIONAL,
1403 PROTOBUF_C_TYPE_UINT32,
1404 offsetof(GroupCfgSt, has_session_timeout_secs),
1405 offsetof(GroupCfgSt, session_timeout_secs),
1406 NULL,
1407 NULL,
1408 0, /* flags */
1409 0,NULL,NULL /* reserved1,reserved2, etc */
1410 },
1411 {
1412 "no_udp",
1413 10,
1414 PROTOBUF_C_LABEL_OPTIONAL,
1415 PROTOBUF_C_TYPE_BOOL,
1416 offsetof(GroupCfgSt, has_no_udp),
1417 offsetof(GroupCfgSt, no_udp),
1418 NULL,
1419 NULL,
1420 0, /* flags */
1421 0,NULL,NULL /* reserved1,reserved2, etc */
1422 },
1423 {
1424 "deny_roaming",
1425 11,
1426 PROTOBUF_C_LABEL_OPTIONAL,
1427 PROTOBUF_C_TYPE_BOOL,
1428 offsetof(GroupCfgSt, has_deny_roaming),
1429 offsetof(GroupCfgSt, deny_roaming),
1430 NULL,
1431 NULL,
1432 0, /* flags */
1433 0,NULL,NULL /* reserved1,reserved2, etc */
1434 },
1435 {
1436 "routes",
1437 13,
1438 PROTOBUF_C_LABEL_REPEATED,
1439 PROTOBUF_C_TYPE_STRING,
1440 offsetof(GroupCfgSt, n_routes),
1441 offsetof(GroupCfgSt, routes),
1442 NULL,
1443 NULL,
1444 0, /* flags */
1445 0,NULL,NULL /* reserved1,reserved2, etc */
1446 },
1447 {
1448 "iroutes",
1449 14,
1450 PROTOBUF_C_LABEL_REPEATED,
1451 PROTOBUF_C_TYPE_STRING,
1452 offsetof(GroupCfgSt, n_iroutes),
1453 offsetof(GroupCfgSt, iroutes),
1454 NULL,
1455 NULL,
1456 0, /* flags */
1457 0,NULL,NULL /* reserved1,reserved2, etc */
1458 },
1459 {
1460 "dns",
1461 15,
1462 PROTOBUF_C_LABEL_REPEATED,
1463 PROTOBUF_C_TYPE_STRING,
1464 offsetof(GroupCfgSt, n_dns),
1465 offsetof(GroupCfgSt, dns),
1466 NULL,
1467 NULL,
1468 0, /* flags */
1469 0,NULL,NULL /* reserved1,reserved2, etc */
1470 },
1471 {
1472 "nbns",
1473 16,
1474 PROTOBUF_C_LABEL_REPEATED,
1475 PROTOBUF_C_TYPE_STRING,
1476 offsetof(GroupCfgSt, n_nbns),
1477 offsetof(GroupCfgSt, nbns),
1478 NULL,
1479 NULL,
1480 0, /* flags */
1481 0,NULL,NULL /* reserved1,reserved2, etc */
1482 },
1483 {
1484 "ipv4_net",
1485 17,
1486 PROTOBUF_C_LABEL_OPTIONAL,
1487 PROTOBUF_C_TYPE_STRING,
1488 0, /* quantifier_offset */
1489 offsetof(GroupCfgSt, ipv4_net),
1490 NULL,
1491 NULL,
1492 0, /* flags */
1493 0,NULL,NULL /* reserved1,reserved2, etc */
1494 },
1495 {
1496 "ipv4_netmask",
1497 18,
1498 PROTOBUF_C_LABEL_OPTIONAL,
1499 PROTOBUF_C_TYPE_STRING,
1500 0, /* quantifier_offset */
1501 offsetof(GroupCfgSt, ipv4_netmask),
1502 NULL,
1503 NULL,
1504 0, /* flags */
1505 0,NULL,NULL /* reserved1,reserved2, etc */
1506 },
1507 {
1508 "ipv6_net",
1509 19,
1510 PROTOBUF_C_LABEL_OPTIONAL,
1511 PROTOBUF_C_TYPE_STRING,
1512 0, /* quantifier_offset */
1513 offsetof(GroupCfgSt, ipv6_net),
1514 NULL,
1515 NULL,
1516 0, /* flags */
1517 0,NULL,NULL /* reserved1,reserved2, etc */
1518 },
1519 {
1520 "ipv6_prefix",
1521 20,
1522 PROTOBUF_C_LABEL_OPTIONAL,
1523 PROTOBUF_C_TYPE_UINT32,
1524 offsetof(GroupCfgSt, has_ipv6_prefix),
1525 offsetof(GroupCfgSt, ipv6_prefix),
1526 NULL,
1527 NULL,
1528 0, /* flags */
1529 0,NULL,NULL /* reserved1,reserved2, etc */
1530 },
1531 {
1532 "cgroup",
1533 21,
1534 PROTOBUF_C_LABEL_OPTIONAL,
1535 PROTOBUF_C_TYPE_STRING,
1536 0, /* quantifier_offset */
1537 offsetof(GroupCfgSt, cgroup),
1538 NULL,
1539 NULL,
1540 0, /* flags */
1541 0,NULL,NULL /* reserved1,reserved2, etc */
1542 },
1543 {
1544 "xml_config_file",
1545 22,
1546 PROTOBUF_C_LABEL_OPTIONAL,
1547 PROTOBUF_C_TYPE_STRING,
1548 0, /* quantifier_offset */
1549 offsetof(GroupCfgSt, xml_config_file),
1550 NULL,
1551 NULL,
1552 0, /* flags */
1553 0,NULL,NULL /* reserved1,reserved2, etc */
1554 },
1555 {
1556 "rx_per_sec",
1557 23,
1558 PROTOBUF_C_LABEL_OPTIONAL,
1559 PROTOBUF_C_TYPE_UINT32,
1560 offsetof(GroupCfgSt, has_rx_per_sec),
1561 offsetof(GroupCfgSt, rx_per_sec),
1562 NULL,
1563 NULL,
1564 0, /* flags */
1565 0,NULL,NULL /* reserved1,reserved2, etc */
1566 },
1567 {
1568 "tx_per_sec",
1569 24,
1570 PROTOBUF_C_LABEL_OPTIONAL,
1571 PROTOBUF_C_TYPE_UINT32,
1572 offsetof(GroupCfgSt, has_tx_per_sec),
1573 offsetof(GroupCfgSt, tx_per_sec),
1574 NULL,
1575 NULL,
1576 0, /* flags */
1577 0,NULL,NULL /* reserved1,reserved2, etc */
1578 },
1579 {
1580 "net_priority",
1581 25,
1582 PROTOBUF_C_LABEL_OPTIONAL,
1583 PROTOBUF_C_TYPE_UINT32,
1584 offsetof(GroupCfgSt, has_net_priority),
1585 offsetof(GroupCfgSt, net_priority),
1586 NULL,
1587 NULL,
1588 0, /* flags */
1589 0,NULL,NULL /* reserved1,reserved2, etc */
1590 },
1591 {
1592 "explicit_ipv4",
1593 26,
1594 PROTOBUF_C_LABEL_OPTIONAL,
1595 PROTOBUF_C_TYPE_STRING,
1596 0, /* quantifier_offset */
1597 offsetof(GroupCfgSt, explicit_ipv4),
1598 NULL,
1599 NULL,
1600 0, /* flags */
1601 0,NULL,NULL /* reserved1,reserved2, etc */
1602 },
1603 {
1604 "explicit_ipv6",
1605 27,
1606 PROTOBUF_C_LABEL_OPTIONAL,
1607 PROTOBUF_C_TYPE_STRING,
1608 0, /* quantifier_offset */
1609 offsetof(GroupCfgSt, explicit_ipv6),
1610 NULL,
1611 NULL,
1612 0, /* flags */
1613 0,NULL,NULL /* reserved1,reserved2, etc */
1614 },
1615 {
1616 "no_routes",
1617 28,
1618 PROTOBUF_C_LABEL_REPEATED,
1619 PROTOBUF_C_TYPE_STRING,
1620 offsetof(GroupCfgSt, n_no_routes),
1621 offsetof(GroupCfgSt, no_routes),
1622 NULL,
1623 NULL,
1624 0, /* flags */
1625 0,NULL,NULL /* reserved1,reserved2, etc */
1626 },
1627 {
1628 "ipv6_subnet_prefix",
1629 29,
1630 PROTOBUF_C_LABEL_OPTIONAL,
1631 PROTOBUF_C_TYPE_UINT32,
1632 offsetof(GroupCfgSt, has_ipv6_subnet_prefix),
1633 offsetof(GroupCfgSt, ipv6_subnet_prefix),
1634 NULL,
1635 NULL,
1636 0, /* flags */
1637 0,NULL,NULL /* reserved1,reserved2, etc */
1638 },
1639 {
1640 "dpd",
1641 30,
1642 PROTOBUF_C_LABEL_OPTIONAL,
1643 PROTOBUF_C_TYPE_UINT32,
1644 offsetof(GroupCfgSt, has_dpd),
1645 offsetof(GroupCfgSt, dpd),
1646 NULL,
1647 NULL,
1648 0, /* flags */
1649 0,NULL,NULL /* reserved1,reserved2, etc */
1650 },
1651 {
1652 "mobile_dpd",
1653 31,
1654 PROTOBUF_C_LABEL_OPTIONAL,
1655 PROTOBUF_C_TYPE_UINT32,
1656 offsetof(GroupCfgSt, has_mobile_dpd),
1657 offsetof(GroupCfgSt, mobile_dpd),
1658 NULL,
1659 NULL,
1660 0, /* flags */
1661 0,NULL,NULL /* reserved1,reserved2, etc */
1662 },
1663 {
1664 "keepalive",
1665 32,
1666 PROTOBUF_C_LABEL_OPTIONAL,
1667 PROTOBUF_C_TYPE_UINT32,
1668 offsetof(GroupCfgSt, has_keepalive),
1669 offsetof(GroupCfgSt, keepalive),
1670 NULL,
1671 NULL,
1672 0, /* flags */
1673 0,NULL,NULL /* reserved1,reserved2, etc */
1674 },
1675 {
1676 "max_same_clients",
1677 33,
1678 PROTOBUF_C_LABEL_OPTIONAL,
1679 PROTOBUF_C_TYPE_UINT32,
1680 offsetof(GroupCfgSt, has_max_same_clients),
1681 offsetof(GroupCfgSt, max_same_clients),
1682 NULL,
1683 NULL,
1684 0, /* flags */
1685 0,NULL,NULL /* reserved1,reserved2, etc */
1686 },
1687 {
1688 "tunnel_all_dns",
1689 34,
1690 PROTOBUF_C_LABEL_OPTIONAL,
1691 PROTOBUF_C_TYPE_UINT32,
1692 offsetof(GroupCfgSt, has_tunnel_all_dns),
1693 offsetof(GroupCfgSt, tunnel_all_dns),
1694 NULL,
1695 NULL,
1696 0, /* flags */
1697 0,NULL,NULL /* reserved1,reserved2, etc */
1698 },
1699 {
1700 "restrict_user_to_routes",
1701 35,
1702 PROTOBUF_C_LABEL_OPTIONAL,
1703 PROTOBUF_C_TYPE_BOOL,
1704 offsetof(GroupCfgSt, has_restrict_user_to_routes),
1705 offsetof(GroupCfgSt, restrict_user_to_routes),
1706 NULL,
1707 NULL,
1708 0, /* flags */
1709 0,NULL,NULL /* reserved1,reserved2, etc */
1710 },
1711 {
1712 "mtu",
1713 36,
1714 PROTOBUF_C_LABEL_OPTIONAL,
1715 PROTOBUF_C_TYPE_UINT32,
1716 offsetof(GroupCfgSt, has_mtu),
1717 offsetof(GroupCfgSt, mtu),
1718 NULL,
1719 NULL,
1720 0, /* flags */
1721 0,NULL,NULL /* reserved1,reserved2, etc */
1722 },
1723 {
1724 "idle_timeout",
1725 37,
1726 PROTOBUF_C_LABEL_OPTIONAL,
1727 PROTOBUF_C_TYPE_UINT32,
1728 offsetof(GroupCfgSt, has_idle_timeout),
1729 offsetof(GroupCfgSt, idle_timeout),
1730 NULL,
1731 NULL,
1732 0, /* flags */
1733 0,NULL,NULL /* reserved1,reserved2, etc */
1734 },
1735 {
1736 "mobile_idle_timeout",
1737 38,
1738 PROTOBUF_C_LABEL_OPTIONAL,
1739 PROTOBUF_C_TYPE_UINT32,
1740 offsetof(GroupCfgSt, has_mobile_idle_timeout),
1741 offsetof(GroupCfgSt, mobile_idle_timeout),
1742 NULL,
1743 NULL,
1744 0, /* flags */
1745 0,NULL,NULL /* reserved1,reserved2, etc */
1746 },
1747 {
1748 "fw_ports",
1749 39,
1750 PROTOBUF_C_LABEL_REPEATED,
1751 PROTOBUF_C_TYPE_MESSAGE,
1752 offsetof(GroupCfgSt, n_fw_ports),
1753 offsetof(GroupCfgSt, fw_ports),
1754 &fw_port_st__descriptor,
1755 NULL,
1756 0, /* flags */
1757 0,NULL,NULL /* reserved1,reserved2, etc */
1758 },
1759 {
1760 "hostname",
1761 40,
1762 PROTOBUF_C_LABEL_OPTIONAL,
1763 PROTOBUF_C_TYPE_STRING,
1764 0, /* quantifier_offset */
1765 offsetof(GroupCfgSt, hostname),
1766 NULL,
1767 NULL,
1768 0, /* flags */
1769 0,NULL,NULL /* reserved1,reserved2, etc */
1770 },
1771 {
1772 "split_dns",
1773 41,
1774 PROTOBUF_C_LABEL_REPEATED,
1775 PROTOBUF_C_TYPE_STRING,
1776 offsetof(GroupCfgSt, n_split_dns),
1777 offsetof(GroupCfgSt, split_dns),
1778 NULL,
1779 NULL,
1780 0, /* flags */
1781 0,NULL,NULL /* reserved1,reserved2, etc */
1782 },
1783 {
1784 "client_bypass_protocol",
1785 42,
1786 PROTOBUF_C_LABEL_OPTIONAL,
1787 PROTOBUF_C_TYPE_UINT32,
1788 offsetof(GroupCfgSt, has_client_bypass_protocol),
1789 offsetof(GroupCfgSt, client_bypass_protocol),
1790 NULL,
1791 NULL,
1792 0, /* flags */
1793 0,NULL,NULL /* reserved1,reserved2, etc */
1794 },
1795 };
1796 static const unsigned group_cfg_st__field_indices_by_name[] = {
1797 12, /* field[12] = cgroup */
1798 33, /* field[33] = client_bypass_protocol */
1799 3, /* field[3] = deny_roaming */
1800 6, /* field[6] = dns */
1801 21, /* field[21] = dpd */
1802 17, /* field[17] = explicit_ipv4 */
1803 18, /* field[18] = explicit_ipv6 */
1804 30, /* field[30] = fw_ports */
1805 31, /* field[31] = hostname */
1806 28, /* field[28] = idle_timeout */
1807 0, /* field[0] = interim_update_secs */
1808 8, /* field[8] = ipv4_net */
1809 9, /* field[9] = ipv4_netmask */
1810 10, /* field[10] = ipv6_net */
1811 11, /* field[11] = ipv6_prefix */
1812 20, /* field[20] = ipv6_subnet_prefix */
1813 5, /* field[5] = iroutes */
1814 23, /* field[23] = keepalive */
1815 24, /* field[24] = max_same_clients */
1816 22, /* field[22] = mobile_dpd */
1817 29, /* field[29] = mobile_idle_timeout */
1818 27, /* field[27] = mtu */
1819 7, /* field[7] = nbns */
1820 16, /* field[16] = net_priority */
1821 19, /* field[19] = no_routes */
1822 2, /* field[2] = no_udp */
1823 26, /* field[26] = restrict_user_to_routes */
1824 4, /* field[4] = routes */
1825 14, /* field[14] = rx_per_sec */
1826 1, /* field[1] = session_timeout_secs */
1827 32, /* field[32] = split_dns */
1828 25, /* field[25] = tunnel_all_dns */
1829 15, /* field[15] = tx_per_sec */
1830 13, /* field[13] = xml_config_file */
1831 };
1832 static const ProtobufCIntRange group_cfg_st__number_ranges[3 + 1] =
1833 {
1834 { 2, 0 },
1835 { 10, 2 },
1836 { 13, 4 },
1837 { 0, 34 }
1838 };
1839 const ProtobufCMessageDescriptor group_cfg_st__descriptor =
1840 {
1841 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
1842 "group_cfg_st",
1843 "GroupCfgSt",
1844 "GroupCfgSt",
1845 "",
1846 sizeof(GroupCfgSt),
1847 34,
1848 group_cfg_st__field_descriptors,
1849 group_cfg_st__field_indices_by_name,
1850 3, group_cfg_st__number_ranges,
1851 (ProtobufCMessageInit) group_cfg_st__init,
1852 NULL,NULL,NULL /* reserved[123] */
1853 };
1854 static const ProtobufCFieldDescriptor auth_cookie_reply_msg__field_descriptors[11] =
1855 {
1856 {
1857 "reply",
1858 1,
1859 PROTOBUF_C_LABEL_REQUIRED,
1860 PROTOBUF_C_TYPE_ENUM,
1861 0, /* quantifier_offset */
1862 offsetof(AuthCookieReplyMsg, reply),
1863 &auth__rep__descriptor,
1864 NULL,
1865 0, /* flags */
1866 0,NULL,NULL /* reserved1,reserved2, etc */
1867 },
1868 {
1869 "session_id",
1870 3,
1871 PROTOBUF_C_LABEL_OPTIONAL,
1872 PROTOBUF_C_TYPE_BYTES,
1873 offsetof(AuthCookieReplyMsg, has_session_id),
1874 offsetof(AuthCookieReplyMsg, session_id),
1875 NULL,
1876 NULL,
1877 0, /* flags */
1878 0,NULL,NULL /* reserved1,reserved2, etc */
1879 },
1880 {
1881 "vname",
1882 4,
1883 PROTOBUF_C_LABEL_OPTIONAL,
1884 PROTOBUF_C_TYPE_STRING,
1885 0, /* quantifier_offset */
1886 offsetof(AuthCookieReplyMsg, vname),
1887 NULL,
1888 NULL,
1889 0, /* flags */
1890 0,NULL,NULL /* reserved1,reserved2, etc */
1891 },
1892 {
1893 "user_name",
1894 5,
1895 PROTOBUF_C_LABEL_OPTIONAL,
1896 PROTOBUF_C_TYPE_STRING,
1897 0, /* quantifier_offset */
1898 offsetof(AuthCookieReplyMsg, user_name),
1899 NULL,
1900 NULL,
1901 0, /* flags */
1902 0,NULL,NULL /* reserved1,reserved2, etc */
1903 },
1904 {
1905 "group_name",
1906 6,
1907 PROTOBUF_C_LABEL_OPTIONAL,
1908 PROTOBUF_C_TYPE_STRING,
1909 0, /* quantifier_offset */
1910 offsetof(AuthCookieReplyMsg, group_name),
1911 NULL,
1912 NULL,
1913 0, /* flags */
1914 0,NULL,NULL /* reserved1,reserved2, etc */
1915 },
1916 {
1917 "ipv4",
1918 7,
1919 PROTOBUF_C_LABEL_OPTIONAL,
1920 PROTOBUF_C_TYPE_STRING,
1921 0, /* quantifier_offset */
1922 offsetof(AuthCookieReplyMsg, ipv4),
1923 NULL,
1924 NULL,
1925 0, /* flags */
1926 0,NULL,NULL /* reserved1,reserved2, etc */
1927 },
1928 {
1929 "ipv6",
1930 8,
1931 PROTOBUF_C_LABEL_OPTIONAL,
1932 PROTOBUF_C_TYPE_STRING,
1933 0, /* quantifier_offset */
1934 offsetof(AuthCookieReplyMsg, ipv6),
1935 NULL,
1936 NULL,
1937 0, /* flags */
1938 0,NULL,NULL /* reserved1,reserved2, etc */
1939 },
1940 {
1941 "ipv4_local",
1942 9,
1943 PROTOBUF_C_LABEL_OPTIONAL,
1944 PROTOBUF_C_TYPE_STRING,
1945 0, /* quantifier_offset */
1946 offsetof(AuthCookieReplyMsg, ipv4_local),
1947 NULL,
1948 NULL,
1949 0, /* flags */
1950 0,NULL,NULL /* reserved1,reserved2, etc */
1951 },
1952 {
1953 "ipv6_local",
1954 10,
1955 PROTOBUF_C_LABEL_OPTIONAL,
1956 PROTOBUF_C_TYPE_STRING,
1957 0, /* quantifier_offset */
1958 offsetof(AuthCookieReplyMsg, ipv6_local),
1959 NULL,
1960 NULL,
1961 0, /* flags */
1962 0,NULL,NULL /* reserved1,reserved2, etc */
1963 },
1964 {
1965 "sid",
1966 11,
1967 PROTOBUF_C_LABEL_REQUIRED,
1968 PROTOBUF_C_TYPE_BYTES,
1969 0, /* quantifier_offset */
1970 offsetof(AuthCookieReplyMsg, sid),
1971 NULL,
1972 NULL,
1973 0, /* flags */
1974 0,NULL,NULL /* reserved1,reserved2, etc */
1975 },
1976 {
1977 "config",
1978 20,
1979 PROTOBUF_C_LABEL_OPTIONAL,
1980 PROTOBUF_C_TYPE_MESSAGE,
1981 0, /* quantifier_offset */
1982 offsetof(AuthCookieReplyMsg, config),
1983 &group_cfg_st__descriptor,
1984 NULL,
1985 0, /* flags */
1986 0,NULL,NULL /* reserved1,reserved2, etc */
1987 },
1988 };
1989 static const unsigned auth_cookie_reply_msg__field_indices_by_name[] = {
1990 10, /* field[10] = config */
1991 4, /* field[4] = group_name */
1992 5, /* field[5] = ipv4 */
1993 7, /* field[7] = ipv4_local */
1994 6, /* field[6] = ipv6 */
1995 8, /* field[8] = ipv6_local */
1996 0, /* field[0] = reply */
1997 1, /* field[1] = session_id */
1998 9, /* field[9] = sid */
1999 3, /* field[3] = user_name */
2000 2, /* field[2] = vname */
2001 };
2002 static const ProtobufCIntRange auth_cookie_reply_msg__number_ranges[3 + 1] =
2003 {
2004 { 1, 0 },
2005 { 3, 1 },
2006 { 20, 10 },
2007 { 0, 11 }
2008 };
2009 const ProtobufCMessageDescriptor auth_cookie_reply_msg__descriptor =
2010 {
2011 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2012 "auth_cookie_reply_msg",
2013 "AuthCookieReplyMsg",
2014 "AuthCookieReplyMsg",
2015 "",
2016 sizeof(AuthCookieReplyMsg),
2017 11,
2018 auth_cookie_reply_msg__field_descriptors,
2019 auth_cookie_reply_msg__field_indices_by_name,
2020 3, auth_cookie_reply_msg__number_ranges,
2021 (ProtobufCMessageInit) auth_cookie_reply_msg__init,
2022 NULL,NULL,NULL /* reserved[123] */
2023 };
2024 static const ProtobufCFieldDescriptor session_resume_fetch_msg__field_descriptors[3] =
2025 {
2026 {
2027 "session_id",
2028 1,
2029 PROTOBUF_C_LABEL_REQUIRED,
2030 PROTOBUF_C_TYPE_BYTES,
2031 0, /* quantifier_offset */
2032 offsetof(SessionResumeFetchMsg, session_id),
2033 NULL,
2034 NULL,
2035 0, /* flags */
2036 0,NULL,NULL /* reserved1,reserved2, etc */
2037 },
2038 {
2039 "cli_addr",
2040 2,
2041 PROTOBUF_C_LABEL_REQUIRED,
2042 PROTOBUF_C_TYPE_BYTES,
2043 0, /* quantifier_offset */
2044 offsetof(SessionResumeFetchMsg, cli_addr),
2045 NULL,
2046 NULL,
2047 0, /* flags */
2048 0,NULL,NULL /* reserved1,reserved2, etc */
2049 },
2050 {
2051 "vhost",
2052 3,
2053 PROTOBUF_C_LABEL_OPTIONAL,
2054 PROTOBUF_C_TYPE_STRING,
2055 0, /* quantifier_offset */
2056 offsetof(SessionResumeFetchMsg, vhost),
2057 NULL,
2058 NULL,
2059 0, /* flags */
2060 0,NULL,NULL /* reserved1,reserved2, etc */
2061 },
2062 };
2063 static const unsigned session_resume_fetch_msg__field_indices_by_name[] = {
2064 1, /* field[1] = cli_addr */
2065 0, /* field[0] = session_id */
2066 2, /* field[2] = vhost */
2067 };
2068 static const ProtobufCIntRange session_resume_fetch_msg__number_ranges[1 + 1] =
2069 {
2070 { 1, 0 },
2071 { 0, 3 }
2072 };
2073 const ProtobufCMessageDescriptor session_resume_fetch_msg__descriptor =
2074 {
2075 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2076 "session_resume_fetch_msg",
2077 "SessionResumeFetchMsg",
2078 "SessionResumeFetchMsg",
2079 "",
2080 sizeof(SessionResumeFetchMsg),
2081 3,
2082 session_resume_fetch_msg__field_descriptors,
2083 session_resume_fetch_msg__field_indices_by_name,
2084 1, session_resume_fetch_msg__number_ranges,
2085 (ProtobufCMessageInit) session_resume_fetch_msg__init,
2086 NULL,NULL,NULL /* reserved[123] */
2087 };
2088 static const ProtobufCFieldDescriptor session_resume_store_req_msg__field_descriptors[4] =
2089 {
2090 {
2091 "session_id",
2092 1,
2093 PROTOBUF_C_LABEL_REQUIRED,
2094 PROTOBUF_C_TYPE_BYTES,
2095 0, /* quantifier_offset */
2096 offsetof(SessionResumeStoreReqMsg, session_id),
2097 NULL,
2098 NULL,
2099 0, /* flags */
2100 0,NULL,NULL /* reserved1,reserved2, etc */
2101 },
2102 {
2103 "session_data",
2104 2,
2105 PROTOBUF_C_LABEL_REQUIRED,
2106 PROTOBUF_C_TYPE_BYTES,
2107 0, /* quantifier_offset */
2108 offsetof(SessionResumeStoreReqMsg, session_data),
2109 NULL,
2110 NULL,
2111 0, /* flags */
2112 0,NULL,NULL /* reserved1,reserved2, etc */
2113 },
2114 {
2115 "cli_addr",
2116 3,
2117 PROTOBUF_C_LABEL_REQUIRED,
2118 PROTOBUF_C_TYPE_BYTES,
2119 0, /* quantifier_offset */
2120 offsetof(SessionResumeStoreReqMsg, cli_addr),
2121 NULL,
2122 NULL,
2123 0, /* flags */
2124 0,NULL,NULL /* reserved1,reserved2, etc */
2125 },
2126 {
2127 "vhost",
2128 4,
2129 PROTOBUF_C_LABEL_OPTIONAL,
2130 PROTOBUF_C_TYPE_STRING,
2131 0, /* quantifier_offset */
2132 offsetof(SessionResumeStoreReqMsg, vhost),
2133 NULL,
2134 NULL,
2135 0, /* flags */
2136 0,NULL,NULL /* reserved1,reserved2, etc */
2137 },
2138 };
2139 static const unsigned session_resume_store_req_msg__field_indices_by_name[] = {
2140 2, /* field[2] = cli_addr */
2141 1, /* field[1] = session_data */
2142 0, /* field[0] = session_id */
2143 3, /* field[3] = vhost */
2144 };
2145 static const ProtobufCIntRange session_resume_store_req_msg__number_ranges[1 + 1] =
2146 {
2147 { 1, 0 },
2148 { 0, 4 }
2149 };
2150 const ProtobufCMessageDescriptor session_resume_store_req_msg__descriptor =
2151 {
2152 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2153 "session_resume_store_req_msg",
2154 "SessionResumeStoreReqMsg",
2155 "SessionResumeStoreReqMsg",
2156 "",
2157 sizeof(SessionResumeStoreReqMsg),
2158 4,
2159 session_resume_store_req_msg__field_descriptors,
2160 session_resume_store_req_msg__field_indices_by_name,
2161 1, session_resume_store_req_msg__number_ranges,
2162 (ProtobufCMessageInit) session_resume_store_req_msg__init,
2163 NULL,NULL,NULL /* reserved[123] */
2164 };
2165 static const ProtobufCEnumValue session_resume_reply_msg__resume__rep__enum_values_by_number[2] =
2166 {
2167 { "OK", "SESSION_RESUME_REPLY_MSG__RESUME__REP__OK", 1 },
2168 { "FAILED", "SESSION_RESUME_REPLY_MSG__RESUME__REP__FAILED", 2 },
2169 };
2170 static const ProtobufCIntRange session_resume_reply_msg__resume__rep__value_ranges[] = {
2171 {1, 0},{0, 2}
2172 };
2173 static const ProtobufCEnumValueIndex session_resume_reply_msg__resume__rep__enum_values_by_name[2] =
2174 {
2175 { "FAILED", 1 },
2176 { "OK", 0 },
2177 };
2178 const ProtobufCEnumDescriptor session_resume_reply_msg__resume__rep__descriptor =
2179 {
2180 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
2181 "session_resume_reply_msg.RESUME_REP",
2182 "RESUME_REP",
2183 "SessionResumeReplyMsg__RESUMEREP",
2184 "",
2185 2,
2186 session_resume_reply_msg__resume__rep__enum_values_by_number,
2187 2,
2188 session_resume_reply_msg__resume__rep__enum_values_by_name,
2189 1,
2190 session_resume_reply_msg__resume__rep__value_ranges,
2191 NULL,NULL,NULL,NULL /* reserved[1234] */
2192 };
2193 static const ProtobufCFieldDescriptor session_resume_reply_msg__field_descriptors[2] =
2194 {
2195 {
2196 "reply",
2197 1,
2198 PROTOBUF_C_LABEL_REQUIRED,
2199 PROTOBUF_C_TYPE_ENUM,
2200 0, /* quantifier_offset */
2201 offsetof(SessionResumeReplyMsg, reply),
2202 &session_resume_reply_msg__resume__rep__descriptor,
2203 NULL,
2204 0, /* flags */
2205 0,NULL,NULL /* reserved1,reserved2, etc */
2206 },
2207 {
2208 "session_data",
2209 2,
2210 PROTOBUF_C_LABEL_OPTIONAL,
2211 PROTOBUF_C_TYPE_BYTES,
2212 offsetof(SessionResumeReplyMsg, has_session_data),
2213 offsetof(SessionResumeReplyMsg, session_data),
2214 NULL,
2215 NULL,
2216 0, /* flags */
2217 0,NULL,NULL /* reserved1,reserved2, etc */
2218 },
2219 };
2220 static const unsigned session_resume_reply_msg__field_indices_by_name[] = {
2221 0, /* field[0] = reply */
2222 1, /* field[1] = session_data */
2223 };
2224 static const ProtobufCIntRange session_resume_reply_msg__number_ranges[1 + 1] =
2225 {
2226 { 1, 0 },
2227 { 0, 2 }
2228 };
2229 const ProtobufCMessageDescriptor session_resume_reply_msg__descriptor =
2230 {
2231 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2232 "session_resume_reply_msg",
2233 "SessionResumeReplyMsg",
2234 "SessionResumeReplyMsg",
2235 "",
2236 sizeof(SessionResumeReplyMsg),
2237 2,
2238 session_resume_reply_msg__field_descriptors,
2239 session_resume_reply_msg__field_indices_by_name,
2240 1, session_resume_reply_msg__number_ranges,
2241 (ProtobufCMessageInit) session_resume_reply_msg__init,
2242 NULL,NULL,NULL /* reserved[123] */
2243 };
2244 static const ProtobufCFieldDescriptor tun_mtu_msg__field_descriptors[1] =
2245 {
2246 {
2247 "mtu",
2248 1,
2249 PROTOBUF_C_LABEL_REQUIRED,
2250 PROTOBUF_C_TYPE_UINT32,
2251 0, /* quantifier_offset */
2252 offsetof(TunMtuMsg, mtu),
2253 NULL,
2254 NULL,
2255 0, /* flags */
2256 0,NULL,NULL /* reserved1,reserved2, etc */
2257 },
2258 };
2259 static const unsigned tun_mtu_msg__field_indices_by_name[] = {
2260 0, /* field[0] = mtu */
2261 };
2262 static const ProtobufCIntRange tun_mtu_msg__number_ranges[1 + 1] =
2263 {
2264 { 1, 0 },
2265 { 0, 1 }
2266 };
2267 const ProtobufCMessageDescriptor tun_mtu_msg__descriptor =
2268 {
2269 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2270 "tun_mtu_msg",
2271 "TunMtuMsg",
2272 "TunMtuMsg",
2273 "",
2274 sizeof(TunMtuMsg),
2275 1,
2276 tun_mtu_msg__field_descriptors,
2277 tun_mtu_msg__field_indices_by_name,
2278 1, tun_mtu_msg__number_ranges,
2279 (ProtobufCMessageInit) tun_mtu_msg__init,
2280 NULL,NULL,NULL /* reserved[123] */
2281 };
2282 static const ProtobufCFieldDescriptor cli_stats_msg__field_descriptors[8] =
2283 {
2284 {
2285 "bytes_in",
2286 1,
2287 PROTOBUF_C_LABEL_REQUIRED,
2288 PROTOBUF_C_TYPE_UINT64,
2289 0, /* quantifier_offset */
2290 offsetof(CliStatsMsg, bytes_in),
2291 NULL,
2292 NULL,
2293 0, /* flags */
2294 0,NULL,NULL /* reserved1,reserved2, etc */
2295 },
2296 {
2297 "bytes_out",
2298 2,
2299 PROTOBUF_C_LABEL_REQUIRED,
2300 PROTOBUF_C_TYPE_UINT64,
2301 0, /* quantifier_offset */
2302 offsetof(CliStatsMsg, bytes_out),
2303 NULL,
2304 NULL,
2305 0, /* flags */
2306 0,NULL,NULL /* reserved1,reserved2, etc */
2307 },
2308 {
2309 "sid",
2310 3,
2311 PROTOBUF_C_LABEL_OPTIONAL,
2312 PROTOBUF_C_TYPE_BYTES,
2313 offsetof(CliStatsMsg, has_sid),
2314 offsetof(CliStatsMsg, sid),
2315 NULL,
2316 NULL,
2317 0, /* flags */
2318 0,NULL,NULL /* reserved1,reserved2, etc */
2319 },
2320 {
2321 "uptime",
2322 4,
2323 PROTOBUF_C_LABEL_REQUIRED,
2324 PROTOBUF_C_TYPE_UINT32,
2325 0, /* quantifier_offset */
2326 offsetof(CliStatsMsg, uptime),
2327 NULL,
2328 NULL,
2329 0, /* flags */
2330 0,NULL,NULL /* reserved1,reserved2, etc */
2331 },
2332 {
2333 "remote_ip",
2334 5,
2335 PROTOBUF_C_LABEL_OPTIONAL,
2336 PROTOBUF_C_TYPE_STRING,
2337 0, /* quantifier_offset */
2338 offsetof(CliStatsMsg, remote_ip),
2339 NULL,
2340 NULL,
2341 0, /* flags */
2342 0,NULL,NULL /* reserved1,reserved2, etc */
2343 },
2344 {
2345 "ipv4",
2346 6,
2347 PROTOBUF_C_LABEL_OPTIONAL,
2348 PROTOBUF_C_TYPE_STRING,
2349 0, /* quantifier_offset */
2350 offsetof(CliStatsMsg, ipv4),
2351 NULL,
2352 NULL,
2353 0, /* flags */
2354 0,NULL,NULL /* reserved1,reserved2, etc */
2355 },
2356 {
2357 "ipv6",
2358 7,
2359 PROTOBUF_C_LABEL_OPTIONAL,
2360 PROTOBUF_C_TYPE_STRING,
2361 0, /* quantifier_offset */
2362 offsetof(CliStatsMsg, ipv6),
2363 NULL,
2364 NULL,
2365 0, /* flags */
2366 0,NULL,NULL /* reserved1,reserved2, etc */
2367 },
2368 {
2369 "discon_reason",
2370 8,
2371 PROTOBUF_C_LABEL_OPTIONAL,
2372 PROTOBUF_C_TYPE_UINT32,
2373 offsetof(CliStatsMsg, has_discon_reason),
2374 offsetof(CliStatsMsg, discon_reason),
2375 NULL,
2376 NULL,
2377 0, /* flags */
2378 0,NULL,NULL /* reserved1,reserved2, etc */
2379 },
2380 };
2381 static const unsigned cli_stats_msg__field_indices_by_name[] = {
2382 0, /* field[0] = bytes_in */
2383 1, /* field[1] = bytes_out */
2384 7, /* field[7] = discon_reason */
2385 5, /* field[5] = ipv4 */
2386 6, /* field[6] = ipv6 */
2387 4, /* field[4] = remote_ip */
2388 2, /* field[2] = sid */
2389 3, /* field[3] = uptime */
2390 };
2391 static const ProtobufCIntRange cli_stats_msg__number_ranges[1 + 1] =
2392 {
2393 { 1, 0 },
2394 { 0, 8 }
2395 };
2396 const ProtobufCMessageDescriptor cli_stats_msg__descriptor =
2397 {
2398 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2399 "cli_stats_msg",
2400 "CliStatsMsg",
2401 "CliStatsMsg",
2402 "",
2403 sizeof(CliStatsMsg),
2404 8,
2405 cli_stats_msg__field_descriptors,
2406 cli_stats_msg__field_indices_by_name,
2407 1, cli_stats_msg__number_ranges,
2408 (ProtobufCMessageInit) cli_stats_msg__init,
2409 NULL,NULL,NULL /* reserved[123] */
2410 };
2411 static const protobuf_c_boolean udp_fd_msg__hello__default_value = 1;
2412 static const ProtobufCFieldDescriptor udp_fd_msg__field_descriptors[2] =
2413 {
2414 {
2415 "hello",
2416 1,
2417 PROTOBUF_C_LABEL_REQUIRED,
2418 PROTOBUF_C_TYPE_BOOL,
2419 0, /* quantifier_offset */
2420 offsetof(UdpFdMsg, hello),
2421 NULL,
2422 &udp_fd_msg__hello__default_value,
2423 0, /* flags */
2424 0,NULL,NULL /* reserved1,reserved2, etc */
2425 },
2426 {
2427 "data",
2428 2,
2429 PROTOBUF_C_LABEL_REQUIRED,
2430 PROTOBUF_C_TYPE_BYTES,
2431 0, /* quantifier_offset */
2432 offsetof(UdpFdMsg, data),
2433 NULL,
2434 NULL,
2435 0, /* flags */
2436 0,NULL,NULL /* reserved1,reserved2, etc */
2437 },
2438 };
2439 static const unsigned udp_fd_msg__field_indices_by_name[] = {
2440 1, /* field[1] = data */
2441 0, /* field[0] = hello */
2442 };
2443 static const ProtobufCIntRange udp_fd_msg__number_ranges[1 + 1] =
2444 {
2445 { 1, 0 },
2446 { 0, 2 }
2447 };
2448 const ProtobufCMessageDescriptor udp_fd_msg__descriptor =
2449 {
2450 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2451 "udp_fd_msg",
2452 "UdpFdMsg",
2453 "UdpFdMsg",
2454 "",
2455 sizeof(UdpFdMsg),
2456 2,
2457 udp_fd_msg__field_descriptors,
2458 udp_fd_msg__field_indices_by_name,
2459 1, udp_fd_msg__number_ranges,
2460 (ProtobufCMessageInit) udp_fd_msg__init,
2461 NULL,NULL,NULL /* reserved[123] */
2462 };
2463 static const ProtobufCFieldDescriptor snapshot_entry_msg__field_descriptors[2] =
2464 {
2465 {
2466 "file_descriptor",
2467 1,
2468 PROTOBUF_C_LABEL_REQUIRED,
2469 PROTOBUF_C_TYPE_UINT32,
2470 0, /* quantifier_offset */
2471 offsetof(SnapshotEntryMsg, file_descriptor),
2472 NULL,
2473 NULL,
2474 0, /* flags */
2475 0,NULL,NULL /* reserved1,reserved2, etc */
2476 },
2477 {
2478 "file_name",
2479 2,
2480 PROTOBUF_C_LABEL_REQUIRED,
2481 PROTOBUF_C_TYPE_STRING,
2482 0, /* quantifier_offset */
2483 offsetof(SnapshotEntryMsg, file_name),
2484 NULL,
2485 NULL,
2486 0, /* flags */
2487 0,NULL,NULL /* reserved1,reserved2, etc */
2488 },
2489 };
2490 static const unsigned snapshot_entry_msg__field_indices_by_name[] = {
2491 0, /* field[0] = file_descriptor */
2492 1, /* field[1] = file_name */
2493 };
2494 static const ProtobufCIntRange snapshot_entry_msg__number_ranges[1 + 1] =
2495 {
2496 { 1, 0 },
2497 { 0, 2 }
2498 };
2499 const ProtobufCMessageDescriptor snapshot_entry_msg__descriptor =
2500 {
2501 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2502 "snapshot_entry_msg",
2503 "SnapshotEntryMsg",
2504 "SnapshotEntryMsg",
2505 "",
2506 sizeof(SnapshotEntryMsg),
2507 2,
2508 snapshot_entry_msg__field_descriptors,
2509 snapshot_entry_msg__field_indices_by_name,
2510 1, snapshot_entry_msg__number_ranges,
2511 (ProtobufCMessageInit) snapshot_entry_msg__init,
2512 NULL,NULL,NULL /* reserved[123] */
2513 };
2514 static const ProtobufCEnumValue worker_startup_msg__conn__type__enum_values_by_number[3] =
2515 {
2516 { "TCP", "WORKER_STARTUP_MSG__CONN__TYPE__TCP", 0 },
2517 { "UDP", "WORKER_STARTUP_MSG__CONN__TYPE__UDP", 1 },
2518 { "UNIX", "WORKER_STARTUP_MSG__CONN__TYPE__UNIX", 2 },
2519 };
2520 static const ProtobufCIntRange worker_startup_msg__conn__type__value_ranges[] = {
2521 {0, 0},{0, 3}
2522 };
2523 static const ProtobufCEnumValueIndex worker_startup_msg__conn__type__enum_values_by_name[3] =
2524 {
2525 { "TCP", 0 },
2526 { "UDP", 1 },
2527 { "UNIX", 2 },
2528 };
2529 const ProtobufCEnumDescriptor worker_startup_msg__conn__type__descriptor =
2530 {
2531 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
2532 "worker_startup_msg.CONN_TYPE",
2533 "CONN_TYPE",
2534 "WorkerStartupMsg__CONNTYPE",
2535 "",
2536 3,
2537 worker_startup_msg__conn__type__enum_values_by_number,
2538 3,
2539 worker_startup_msg__conn__type__enum_values_by_name,
2540 1,
2541 worker_startup_msg__conn__type__value_ranges,
2542 NULL,NULL,NULL,NULL /* reserved[1234] */
2543 };
2544 static const ProtobufCFieldDescriptor worker_startup_msg__field_descriptors[14] =
2545 {
2546 {
2547 "secmod_addr",
2548 1,
2549 PROTOBUF_C_LABEL_REQUIRED,
2550 PROTOBUF_C_TYPE_BYTES,
2551 0, /* quantifier_offset */
2552 offsetof(WorkerStartupMsg, secmod_addr),
2553 NULL,
2554 NULL,
2555 0, /* flags */
2556 0,NULL,NULL /* reserved1,reserved2, etc */
2557 },
2558 {
2559 "cmd_fd",
2560 2,
2561 PROTOBUF_C_LABEL_REQUIRED,
2562 PROTOBUF_C_TYPE_UINT32,
2563 0, /* quantifier_offset */
2564 offsetof(WorkerStartupMsg, cmd_fd),
2565 NULL,
2566 NULL,
2567 0, /* flags */
2568 0,NULL,NULL /* reserved1,reserved2, etc */
2569 },
2570 {
2571 "conn_fd",
2572 3,
2573 PROTOBUF_C_LABEL_REQUIRED,
2574 PROTOBUF_C_TYPE_UINT32,
2575 0, /* quantifier_offset */
2576 offsetof(WorkerStartupMsg, conn_fd),
2577 NULL,
2578 NULL,
2579 0, /* flags */
2580 0,NULL,NULL /* reserved1,reserved2, etc */
2581 },
2582 {
2583 "conn_type",
2584 4,
2585 PROTOBUF_C_LABEL_REQUIRED,
2586 PROTOBUF_C_TYPE_ENUM,
2587 0, /* quantifier_offset */
2588 offsetof(WorkerStartupMsg, conn_type),
2589 &worker_startup_msg__conn__type__descriptor,
2590 NULL,
2591 0, /* flags */
2592 0,NULL,NULL /* reserved1,reserved2, etc */
2593 },
2594 {
2595 "remote_ip_str",
2596 5,
2597 PROTOBUF_C_LABEL_REQUIRED,
2598 PROTOBUF_C_TYPE_STRING,
2599 0, /* quantifier_offset */
2600 offsetof(WorkerStartupMsg, remote_ip_str),
2601 NULL,
2602 NULL,
2603 0, /* flags */
2604 0,NULL,NULL /* reserved1,reserved2, etc */
2605 },
2606 {
2607 "our_ip_str",
2608 6,
2609 PROTOBUF_C_LABEL_REQUIRED,
2610 PROTOBUF_C_TYPE_STRING,
2611 0, /* quantifier_offset */
2612 offsetof(WorkerStartupMsg, our_ip_str),
2613 NULL,
2614 NULL,
2615 0, /* flags */
2616 0,NULL,NULL /* reserved1,reserved2, etc */
2617 },
2618 {
2619 "session_start_time",
2620 7,
2621 PROTOBUF_C_LABEL_REQUIRED,
2622 PROTOBUF_C_TYPE_UINT64,
2623 0, /* quantifier_offset */
2624 offsetof(WorkerStartupMsg, session_start_time),
2625 NULL,
2626 NULL,
2627 0, /* flags */
2628 0,NULL,NULL /* reserved1,reserved2, etc */
2629 },
2630 {
2631 "remote_addr",
2632 8,
2633 PROTOBUF_C_LABEL_REQUIRED,
2634 PROTOBUF_C_TYPE_BYTES,
2635 0, /* quantifier_offset */
2636 offsetof(WorkerStartupMsg, remote_addr),
2637 NULL,
2638 NULL,
2639 0, /* flags */
2640 0,NULL,NULL /* reserved1,reserved2, etc */
2641 },
2642 {
2643 "our_addr",
2644 9,
2645 PROTOBUF_C_LABEL_REQUIRED,
2646 PROTOBUF_C_TYPE_BYTES,
2647 0, /* quantifier_offset */
2648 offsetof(WorkerStartupMsg, our_addr),
2649 NULL,
2650 NULL,
2651 0, /* flags */
2652 0,NULL,NULL /* reserved1,reserved2, etc */
2653 },
2654 {
2655 "sec_auth_init_hmac",
2656 10,
2657 PROTOBUF_C_LABEL_REQUIRED,
2658 PROTOBUF_C_TYPE_BYTES,
2659 0, /* quantifier_offset */
2660 offsetof(WorkerStartupMsg, sec_auth_init_hmac),
2661 NULL,
2662 NULL,
2663 0, /* flags */
2664 0,NULL,NULL /* reserved1,reserved2, etc */
2665 },
2666 {
2667 "snapshot_entries",
2668 11,
2669 PROTOBUF_C_LABEL_REPEATED,
2670 PROTOBUF_C_TYPE_MESSAGE,
2671 offsetof(WorkerStartupMsg, n_snapshot_entries),
2672 offsetof(WorkerStartupMsg, snapshot_entries),
2673 &snapshot_entry_msg__descriptor,
2674 NULL,
2675 0, /* flags */
2676 0,NULL,NULL /* reserved1,reserved2, etc */
2677 },
2678 {
2679 "pam_auth_group_list",
2680 12,
2681 PROTOBUF_C_LABEL_REPEATED,
2682 PROTOBUF_C_TYPE_STRING,
2683 offsetof(WorkerStartupMsg, n_pam_auth_group_list),
2684 offsetof(WorkerStartupMsg, pam_auth_group_list),
2685 NULL,
2686 NULL,
2687 0, /* flags */
2688 0,NULL,NULL /* reserved1,reserved2, etc */
2689 },
2690 {
2691 "gssapi_auth_group_list",
2692 13,
2693 PROTOBUF_C_LABEL_REPEATED,
2694 PROTOBUF_C_TYPE_STRING,
2695 offsetof(WorkerStartupMsg, n_gssapi_auth_group_list),
2696 offsetof(WorkerStartupMsg, gssapi_auth_group_list),
2697 NULL,
2698 NULL,
2699 0, /* flags */
2700 0,NULL,NULL /* reserved1,reserved2, etc */
2701 },
2702 {
2703 "plain_auth_group_list",
2704 14,
2705 PROTOBUF_C_LABEL_REPEATED,
2706 PROTOBUF_C_TYPE_STRING,
2707 offsetof(WorkerStartupMsg, n_plain_auth_group_list),
2708 offsetof(WorkerStartupMsg, plain_auth_group_list),
2709 NULL,
2710 NULL,
2711 0, /* flags */
2712 0,NULL,NULL /* reserved1,reserved2, etc */
2713 },
2714 };
2715 static const unsigned worker_startup_msg__field_indices_by_name[] = {
2716 1, /* field[1] = cmd_fd */
2717 2, /* field[2] = conn_fd */
2718 3, /* field[3] = conn_type */
2719 12, /* field[12] = gssapi_auth_group_list */
2720 8, /* field[8] = our_addr */
2721 5, /* field[5] = our_ip_str */
2722 11, /* field[11] = pam_auth_group_list */
2723 13, /* field[13] = plain_auth_group_list */
2724 7, /* field[7] = remote_addr */
2725 4, /* field[4] = remote_ip_str */
2726 9, /* field[9] = sec_auth_init_hmac */
2727 0, /* field[0] = secmod_addr */
2728 6, /* field[6] = session_start_time */
2729 10, /* field[10] = snapshot_entries */
2730 };
2731 static const ProtobufCIntRange worker_startup_msg__number_ranges[1 + 1] =
2732 {
2733 { 1, 0 },
2734 { 0, 14 }
2735 };
2736 const ProtobufCMessageDescriptor worker_startup_msg__descriptor =
2737 {
2738 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2739 "worker_startup_msg",
2740 "WorkerStartupMsg",
2741 "WorkerStartupMsg",
2742 "",
2743 sizeof(WorkerStartupMsg),
2744 14,
2745 worker_startup_msg__field_descriptors,
2746 worker_startup_msg__field_indices_by_name,
2747 1, worker_startup_msg__number_ranges,
2748 (ProtobufCMessageInit) worker_startup_msg__init,
2749 NULL,NULL,NULL /* reserved[123] */
2750 };
2751 static const ProtobufCFieldDescriptor session_info_msg__field_descriptors[6] =
2752 {
2753 {
2754 "tls_ciphersuite",
2755 1,
2756 PROTOBUF_C_LABEL_REQUIRED,
2757 PROTOBUF_C_TYPE_STRING,
2758 0, /* quantifier_offset */
2759 offsetof(SessionInfoMsg, tls_ciphersuite),
2760 NULL,
2761 NULL,
2762 0, /* flags */
2763 0,NULL,NULL /* reserved1,reserved2, etc */
2764 },
2765 {
2766 "dtls_ciphersuite",
2767 2,
2768 PROTOBUF_C_LABEL_REQUIRED,
2769 PROTOBUF_C_TYPE_STRING,
2770 0, /* quantifier_offset */
2771 offsetof(SessionInfoMsg, dtls_ciphersuite),
2772 NULL,
2773 NULL,
2774 0, /* flags */
2775 0,NULL,NULL /* reserved1,reserved2, etc */
2776 },
2777 {
2778 "cstp_compr",
2779 3,
2780 PROTOBUF_C_LABEL_OPTIONAL,
2781 PROTOBUF_C_TYPE_STRING,
2782 0, /* quantifier_offset */
2783 offsetof(SessionInfoMsg, cstp_compr),
2784 NULL,
2785 NULL,
2786 0, /* flags */
2787 0,NULL,NULL /* reserved1,reserved2, etc */
2788 },
2789 {
2790 "dtls_compr",
2791 4,
2792 PROTOBUF_C_LABEL_OPTIONAL,
2793 PROTOBUF_C_TYPE_STRING,
2794 0, /* quantifier_offset */
2795 offsetof(SessionInfoMsg, dtls_compr),
2796 NULL,
2797 NULL,
2798 0, /* flags */
2799 0,NULL,NULL /* reserved1,reserved2, etc */
2800 },
2801 {
2802 "our_addr",
2803 5,
2804 PROTOBUF_C_LABEL_OPTIONAL,
2805 PROTOBUF_C_TYPE_BYTES,
2806 offsetof(SessionInfoMsg, has_our_addr),
2807 offsetof(SessionInfoMsg, our_addr),
2808 NULL,
2809 NULL,
2810 0, /* flags */
2811 0,NULL,NULL /* reserved1,reserved2, etc */
2812 },
2813 {
2814 "remote_addr",
2815 6,
2816 PROTOBUF_C_LABEL_OPTIONAL,
2817 PROTOBUF_C_TYPE_BYTES,
2818 offsetof(SessionInfoMsg, has_remote_addr),
2819 offsetof(SessionInfoMsg, remote_addr),
2820 NULL,
2821 NULL,
2822 0, /* flags */
2823 0,NULL,NULL /* reserved1,reserved2, etc */
2824 },
2825 };
2826 static const unsigned session_info_msg__field_indices_by_name[] = {
2827 2, /* field[2] = cstp_compr */
2828 1, /* field[1] = dtls_ciphersuite */
2829 3, /* field[3] = dtls_compr */
2830 4, /* field[4] = our_addr */
2831 5, /* field[5] = remote_addr */
2832 0, /* field[0] = tls_ciphersuite */
2833 };
2834 static const ProtobufCIntRange session_info_msg__number_ranges[1 + 1] =
2835 {
2836 { 1, 0 },
2837 { 0, 6 }
2838 };
2839 const ProtobufCMessageDescriptor session_info_msg__descriptor =
2840 {
2841 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2842 "session_info_msg",
2843 "SessionInfoMsg",
2844 "SessionInfoMsg",
2845 "",
2846 sizeof(SessionInfoMsg),
2847 6,
2848 session_info_msg__field_descriptors,
2849 session_info_msg__field_indices_by_name,
2850 1, session_info_msg__number_ranges,
2851 (ProtobufCMessageInit) session_info_msg__init,
2852 NULL,NULL,NULL /* reserved[123] */
2853 };
2854 static const ProtobufCFieldDescriptor ban_ip_msg__field_descriptors[4] =
2855 {
2856 {
2857 "ip",
2858 1,
2859 PROTOBUF_C_LABEL_REQUIRED,
2860 PROTOBUF_C_TYPE_STRING,
2861 0, /* quantifier_offset */
2862 offsetof(BanIpMsg, ip),
2863 NULL,
2864 NULL,
2865 0, /* flags */
2866 0,NULL,NULL /* reserved1,reserved2, etc */
2867 },
2868 {
2869 "score",
2870 2,
2871 PROTOBUF_C_LABEL_REQUIRED,
2872 PROTOBUF_C_TYPE_UINT32,
2873 0, /* quantifier_offset */
2874 offsetof(BanIpMsg, score),
2875 NULL,
2876 NULL,
2877 0, /* flags */
2878 0,NULL,NULL /* reserved1,reserved2, etc */
2879 },
2880 {
2881 "sid",
2882 3,
2883 PROTOBUF_C_LABEL_OPTIONAL,
2884 PROTOBUF_C_TYPE_BYTES,
2885 offsetof(BanIpMsg, has_sid),
2886 offsetof(BanIpMsg, sid),
2887 NULL,
2888 NULL,
2889 0, /* flags */
2890 0,NULL,NULL /* reserved1,reserved2, etc */
2891 },
2892 {
2893 "discon_reason",
2894 4,
2895 PROTOBUF_C_LABEL_OPTIONAL,
2896 PROTOBUF_C_TYPE_UINT32,
2897 offsetof(BanIpMsg, has_discon_reason),
2898 offsetof(BanIpMsg, discon_reason),
2899 NULL,
2900 NULL,
2901 0, /* flags */
2902 0,NULL,NULL /* reserved1,reserved2, etc */
2903 },
2904 };
2905 static const unsigned ban_ip_msg__field_indices_by_name[] = {
2906 3, /* field[3] = discon_reason */
2907 0, /* field[0] = ip */
2908 1, /* field[1] = score */
2909 2, /* field[2] = sid */
2910 };
2911 static const ProtobufCIntRange ban_ip_msg__number_ranges[1 + 1] =
2912 {
2913 { 1, 0 },
2914 { 0, 4 }
2915 };
2916 const ProtobufCMessageDescriptor ban_ip_msg__descriptor =
2917 {
2918 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2919 "ban_ip_msg",
2920 "BanIpMsg",
2921 "BanIpMsg",
2922 "",
2923 sizeof(BanIpMsg),
2924 4,
2925 ban_ip_msg__field_descriptors,
2926 ban_ip_msg__field_indices_by_name,
2927 1, ban_ip_msg__number_ranges,
2928 (ProtobufCMessageInit) ban_ip_msg__init,
2929 NULL,NULL,NULL /* reserved[123] */
2930 };
2931 static const ProtobufCFieldDescriptor ban_ip_reply_msg__field_descriptors[2] =
2932 {
2933 {
2934 "reply",
2935 1,
2936 PROTOBUF_C_LABEL_REQUIRED,
2937 PROTOBUF_C_TYPE_ENUM,
2938 0, /* quantifier_offset */
2939 offsetof(BanIpReplyMsg, reply),
2940 &auth__rep__descriptor,
2941 NULL,
2942 0, /* flags */
2943 0,NULL,NULL /* reserved1,reserved2, etc */
2944 },
2945 {
2946 "sid",
2947 2,
2948 PROTOBUF_C_LABEL_OPTIONAL,
2949 PROTOBUF_C_TYPE_BYTES,
2950 offsetof(BanIpReplyMsg, has_sid),
2951 offsetof(BanIpReplyMsg, sid),
2952 NULL,
2953 NULL,
2954 0, /* flags */
2955 0,NULL,NULL /* reserved1,reserved2, etc */
2956 },
2957 };
2958 static const unsigned ban_ip_reply_msg__field_indices_by_name[] = {
2959 0, /* field[0] = reply */
2960 1, /* field[1] = sid */
2961 };
2962 static const ProtobufCIntRange ban_ip_reply_msg__number_ranges[1 + 1] =
2963 {
2964 { 1, 0 },
2965 { 0, 2 }
2966 };
2967 const ProtobufCMessageDescriptor ban_ip_reply_msg__descriptor =
2968 {
2969 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2970 "ban_ip_reply_msg",
2971 "BanIpReplyMsg",
2972 "BanIpReplyMsg",
2973 "",
2974 sizeof(BanIpReplyMsg),
2975 2,
2976 ban_ip_reply_msg__field_descriptors,
2977 ban_ip_reply_msg__field_indices_by_name,
2978 1, ban_ip_reply_msg__number_ranges,
2979 (ProtobufCMessageInit) ban_ip_reply_msg__init,
2980 NULL,NULL,NULL /* reserved[123] */
2981 };
2982 static const ProtobufCFieldDescriptor latency_stats_delta__field_descriptors[3] =
2983 {
2984 {
2985 "median_delta",
2986 1,
2987 PROTOBUF_C_LABEL_REQUIRED,
2988 PROTOBUF_C_TYPE_UINT64,
2989 0, /* quantifier_offset */
2990 offsetof(LatencyStatsDelta, median_delta),
2991 NULL,
2992 NULL,
2993 0, /* flags */
2994 0,NULL,NULL /* reserved1,reserved2, etc */
2995 },
2996 {
2997 "rms_delta",
2998 2,
2999 PROTOBUF_C_LABEL_REQUIRED,
3000 PROTOBUF_C_TYPE_UINT64,
3001 0, /* quantifier_offset */
3002 offsetof(LatencyStatsDelta, rms_delta),
3003 NULL,
3004 NULL,
3005 0, /* flags */
3006 0,NULL,NULL /* reserved1,reserved2, etc */
3007 },
3008 {
3009 "sample_count_delta",
3010 3,
3011 PROTOBUF_C_LABEL_REQUIRED,
3012 PROTOBUF_C_TYPE_UINT64,
3013 0, /* quantifier_offset */
3014 offsetof(LatencyStatsDelta, sample_count_delta),
3015 NULL,
3016 NULL,
3017 0, /* flags */
3018 0,NULL,NULL /* reserved1,reserved2, etc */
3019 },
3020 };
3021 static const unsigned latency_stats_delta__field_indices_by_name[] = {
3022 0, /* field[0] = median_delta */
3023 1, /* field[1] = rms_delta */
3024 2, /* field[2] = sample_count_delta */
3025 };
3026 static const ProtobufCIntRange latency_stats_delta__number_ranges[1 + 1] =
3027 {
3028 { 1, 0 },
3029 { 0, 3 }
3030 };
3031 const ProtobufCMessageDescriptor latency_stats_delta__descriptor =
3032 {
3033 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3034 "latency_stats_delta",
3035 "LatencyStatsDelta",
3036 "LatencyStatsDelta",
3037 "",
3038 sizeof(LatencyStatsDelta),
3039 3,
3040 latency_stats_delta__field_descriptors,
3041 latency_stats_delta__field_indices_by_name,
3042 1, latency_stats_delta__number_ranges,
3043 (ProtobufCMessageInit) latency_stats_delta__init,
3044 NULL,NULL,NULL /* reserved[123] */
3045 };
3046 static const protobuf_c_boolean sec_auth_init_msg__tls_auth_ok__default_value = 0;
3047 static const uint32_t sec_auth_init_msg__auth_type__default_value = 0u;
3048 static const ProtobufCFieldDescriptor sec_auth_init_msg__field_descriptors[14] =
3049 {
3050 {
3051 "tls_auth_ok",
3052 2,
3053 PROTOBUF_C_LABEL_REQUIRED,
3054 PROTOBUF_C_TYPE_BOOL,
3055 0, /* quantifier_offset */
3056 offsetof(SecAuthInitMsg, tls_auth_ok),
3057 NULL,
3058 &sec_auth_init_msg__tls_auth_ok__default_value,
3059 0, /* flags */
3060 0,NULL,NULL /* reserved1,reserved2, etc */
3061 },
3062 {
3063 "user_name",
3064 3,
3065 PROTOBUF_C_LABEL_REQUIRED,
3066 PROTOBUF_C_TYPE_STRING,
3067 0, /* quantifier_offset */
3068 offsetof(SecAuthInitMsg, user_name),
3069 NULL,
3070 NULL,
3071 0, /* flags */
3072 0,NULL,NULL /* reserved1,reserved2, etc */
3073 },
3074 {
3075 "group_name",
3076 4,
3077 PROTOBUF_C_LABEL_OPTIONAL,
3078 PROTOBUF_C_TYPE_STRING,
3079 0, /* quantifier_offset */
3080 offsetof(SecAuthInitMsg, group_name),
3081 NULL,
3082 NULL,
3083 0, /* flags */
3084 0,NULL,NULL /* reserved1,reserved2, etc */
3085 },
3086 {
3087 "cert_user_name",
3088 5,
3089 PROTOBUF_C_LABEL_OPTIONAL,
3090 PROTOBUF_C_TYPE_STRING,
3091 0, /* quantifier_offset */
3092 offsetof(SecAuthInitMsg, cert_user_name),
3093 NULL,
3094 NULL,
3095 0, /* flags */
3096 0,NULL,NULL /* reserved1,reserved2, etc */
3097 },
3098 {
3099 "cert_group_names",
3100 6,
3101 PROTOBUF_C_LABEL_REPEATED,
3102 PROTOBUF_C_TYPE_STRING,
3103 offsetof(SecAuthInitMsg, n_cert_group_names),
3104 offsetof(SecAuthInitMsg, cert_group_names),
3105 NULL,
3106 NULL,
3107 0, /* flags */
3108 0,NULL,NULL /* reserved1,reserved2, etc */
3109 },
3110 {
3111 "ip",
3112 8,
3113 PROTOBUF_C_LABEL_REQUIRED,
3114 PROTOBUF_C_TYPE_STRING,
3115 0, /* quantifier_offset */
3116 offsetof(SecAuthInitMsg, ip),
3117 NULL,
3118 NULL,
3119 0, /* flags */
3120 0,NULL,NULL /* reserved1,reserved2, etc */
3121 },
3122 {
3123 "auth_type",
3124 9,
3125 PROTOBUF_C_LABEL_REQUIRED,
3126 PROTOBUF_C_TYPE_UINT32,
3127 0, /* quantifier_offset */
3128 offsetof(SecAuthInitMsg, auth_type),
3129 NULL,
3130 &sec_auth_init_msg__auth_type__default_value,
3131 0, /* flags */
3132 0,NULL,NULL /* reserved1,reserved2, etc */
3133 },
3134 {
3135 "our_ip",
3136 10,
3137 PROTOBUF_C_LABEL_OPTIONAL,
3138 PROTOBUF_C_TYPE_STRING,
3139 0, /* quantifier_offset */
3140 offsetof(SecAuthInitMsg, our_ip),
3141 NULL,
3142 NULL,
3143 0, /* flags */
3144 0,NULL,NULL /* reserved1,reserved2, etc */
3145 },
3146 {
3147 "user_agent",
3148 11,
3149 PROTOBUF_C_LABEL_OPTIONAL,
3150 PROTOBUF_C_TYPE_STRING,
3151 0, /* quantifier_offset */
3152 offsetof(SecAuthInitMsg, user_agent),
3153 NULL,
3154 NULL,
3155 0, /* flags */
3156 0,NULL,NULL /* reserved1,reserved2, etc */
3157 },
3158 {
3159 "device_platform",
3160 12,
3161 PROTOBUF_C_LABEL_OPTIONAL,
3162 PROTOBUF_C_TYPE_STRING,
3163 0, /* quantifier_offset */
3164 offsetof(SecAuthInitMsg, device_platform),
3165 NULL,
3166 NULL,
3167 0, /* flags */
3168 0,NULL,NULL /* reserved1,reserved2, etc */
3169 },
3170 {
3171 "device_type",
3172 13,
3173 PROTOBUF_C_LABEL_OPTIONAL,
3174 PROTOBUF_C_TYPE_STRING,
3175 0, /* quantifier_offset */
3176 offsetof(SecAuthInitMsg, device_type),
3177 NULL,
3178 NULL,
3179 0, /* flags */
3180 0,NULL,NULL /* reserved1,reserved2, etc */
3181 },
3182 {
3183 "vhost",
3184 14,
3185 PROTOBUF_C_LABEL_OPTIONAL,
3186 PROTOBUF_C_TYPE_STRING,
3187 0, /* quantifier_offset */
3188 offsetof(SecAuthInitMsg, vhost),
3189 NULL,
3190 NULL,
3191 0, /* flags */
3192 0,NULL,NULL /* reserved1,reserved2, etc */
3193 },
3194 {
3195 "session_start_time",
3196 15,
3197 PROTOBUF_C_LABEL_REQUIRED,
3198 PROTOBUF_C_TYPE_UINT64,
3199 0, /* quantifier_offset */
3200 offsetof(SecAuthInitMsg, session_start_time),
3201 NULL,
3202 NULL,
3203 0, /* flags */
3204 0,NULL,NULL /* reserved1,reserved2, etc */
3205 },
3206 {
3207 "hmac",
3208 16,
3209 PROTOBUF_C_LABEL_REQUIRED,
3210 PROTOBUF_C_TYPE_BYTES,
3211 0, /* quantifier_offset */
3212 offsetof(SecAuthInitMsg, hmac),
3213 NULL,
3214 NULL,
3215 0, /* flags */
3216 0,NULL,NULL /* reserved1,reserved2, etc */
3217 },
3218 };
3219 static const unsigned sec_auth_init_msg__field_indices_by_name[] = {
3220 6, /* field[6] = auth_type */
3221 4, /* field[4] = cert_group_names */
3222 3, /* field[3] = cert_user_name */
3223 9, /* field[9] = device_platform */
3224 10, /* field[10] = device_type */
3225 2, /* field[2] = group_name */
3226 13, /* field[13] = hmac */
3227 5, /* field[5] = ip */
3228 7, /* field[7] = our_ip */
3229 12, /* field[12] = session_start_time */
3230 0, /* field[0] = tls_auth_ok */
3231 8, /* field[8] = user_agent */
3232 1, /* field[1] = user_name */
3233 11, /* field[11] = vhost */
3234 };
3235 static const ProtobufCIntRange sec_auth_init_msg__number_ranges[2 + 1] =
3236 {
3237 { 2, 0 },
3238 { 8, 5 },
3239 { 0, 14 }
3240 };
3241 const ProtobufCMessageDescriptor sec_auth_init_msg__descriptor =
3242 {
3243 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3244 "sec_auth_init_msg",
3245 "SecAuthInitMsg",
3246 "SecAuthInitMsg",
3247 "",
3248 sizeof(SecAuthInitMsg),
3249 14,
3250 sec_auth_init_msg__field_descriptors,
3251 sec_auth_init_msg__field_indices_by_name,
3252 2, sec_auth_init_msg__number_ranges,
3253 (ProtobufCMessageInit) sec_auth_init_msg__init,
3254 NULL,NULL,NULL /* reserved[123] */
3255 };
3256 static const ProtobufCFieldDescriptor sec_auth_cont_msg__field_descriptors[3] =
3257 {
3258 {
3259 "password",
3260 2,
3261 PROTOBUF_C_LABEL_REQUIRED,
3262 PROTOBUF_C_TYPE_STRING,
3263 0, /* quantifier_offset */
3264 offsetof(SecAuthContMsg, password),
3265 NULL,
3266 NULL,
3267 0, /* flags */
3268 0,NULL,NULL /* reserved1,reserved2, etc */
3269 },
3270 {
3271 "sid",
3272 3,
3273 PROTOBUF_C_LABEL_REQUIRED,
3274 PROTOBUF_C_TYPE_BYTES,
3275 0, /* quantifier_offset */
3276 offsetof(SecAuthContMsg, sid),
3277 NULL,
3278 NULL,
3279 0, /* flags */
3280 0,NULL,NULL /* reserved1,reserved2, etc */
3281 },
3282 {
3283 "ip",
3284 4,
3285 PROTOBUF_C_LABEL_REQUIRED,
3286 PROTOBUF_C_TYPE_STRING,
3287 0, /* quantifier_offset */
3288 offsetof(SecAuthContMsg, ip),
3289 NULL,
3290 NULL,
3291 0, /* flags */
3292 0,NULL,NULL /* reserved1,reserved2, etc */
3293 },
3294 };
3295 static const unsigned sec_auth_cont_msg__field_indices_by_name[] = {
3296 2, /* field[2] = ip */
3297 0, /* field[0] = password */
3298 1, /* field[1] = sid */
3299 };
3300 static const ProtobufCIntRange sec_auth_cont_msg__number_ranges[1 + 1] =
3301 {
3302 { 2, 0 },
3303 { 0, 3 }
3304 };
3305 const ProtobufCMessageDescriptor sec_auth_cont_msg__descriptor =
3306 {
3307 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3308 "sec_auth_cont_msg",
3309 "SecAuthContMsg",
3310 "SecAuthContMsg",
3311 "",
3312 sizeof(SecAuthContMsg),
3313 3,
3314 sec_auth_cont_msg__field_descriptors,
3315 sec_auth_cont_msg__field_indices_by_name,
3316 1, sec_auth_cont_msg__number_ranges,
3317 (ProtobufCMessageInit) sec_auth_cont_msg__init,
3318 NULL,NULL,NULL /* reserved[123] */
3319 };
3320 static const ProtobufCFieldDescriptor sec_auth_reply_msg__field_descriptors[6] =
3321 {
3322 {
3323 "reply",
3324 1,
3325 PROTOBUF_C_LABEL_REQUIRED,
3326 PROTOBUF_C_TYPE_ENUM,
3327 0, /* quantifier_offset */
3328 offsetof(SecAuthReplyMsg, reply),
3329 &auth__rep__descriptor,
3330 NULL,
3331 0, /* flags */
3332 0,NULL,NULL /* reserved1,reserved2, etc */
3333 },
3334 {
3335 "user_name",
3336 3,
3337 PROTOBUF_C_LABEL_OPTIONAL,
3338 PROTOBUF_C_TYPE_STRING,
3339 0, /* quantifier_offset */
3340 offsetof(SecAuthReplyMsg, user_name),
3341 NULL,
3342 NULL,
3343 0, /* flags */
3344 0,NULL,NULL /* reserved1,reserved2, etc */
3345 },
3346 {
3347 "msg",
3348 4,
3349 PROTOBUF_C_LABEL_OPTIONAL,
3350 PROTOBUF_C_TYPE_STRING,
3351 0, /* quantifier_offset */
3352 offsetof(SecAuthReplyMsg, msg),
3353 NULL,
3354 NULL,
3355 0, /* flags */
3356 0,NULL,NULL /* reserved1,reserved2, etc */
3357 },
3358 {
3359 "dtls_session_id",
3360 5,
3361 PROTOBUF_C_LABEL_OPTIONAL,
3362 PROTOBUF_C_TYPE_BYTES,
3363 offsetof(SecAuthReplyMsg, has_dtls_session_id),
3364 offsetof(SecAuthReplyMsg, dtls_session_id),
3365 NULL,
3366 NULL,
3367 0, /* flags */
3368 0,NULL,NULL /* reserved1,reserved2, etc */
3369 },
3370 {
3371 "sid",
3372 6,
3373 PROTOBUF_C_LABEL_OPTIONAL,
3374 PROTOBUF_C_TYPE_BYTES,
3375 offsetof(SecAuthReplyMsg, has_sid),
3376 offsetof(SecAuthReplyMsg, sid),
3377 NULL,
3378 NULL,
3379 0, /* flags */
3380 0,NULL,NULL /* reserved1,reserved2, etc */
3381 },
3382 {
3383 "passwd_counter",
3384 8,
3385 PROTOBUF_C_LABEL_OPTIONAL,
3386 PROTOBUF_C_TYPE_UINT32,
3387 offsetof(SecAuthReplyMsg, has_passwd_counter),
3388 offsetof(SecAuthReplyMsg, passwd_counter),
3389 NULL,
3390 NULL,
3391 0, /* flags */
3392 0,NULL,NULL /* reserved1,reserved2, etc */
3393 },
3394 };
3395 static const unsigned sec_auth_reply_msg__field_indices_by_name[] = {
3396 3, /* field[3] = dtls_session_id */
3397 2, /* field[2] = msg */
3398 5, /* field[5] = passwd_counter */
3399 0, /* field[0] = reply */
3400 4, /* field[4] = sid */
3401 1, /* field[1] = user_name */
3402 };
3403 static const ProtobufCIntRange sec_auth_reply_msg__number_ranges[3 + 1] =
3404 {
3405 { 1, 0 },
3406 { 3, 1 },
3407 { 8, 5 },
3408 { 0, 6 }
3409 };
3410 const ProtobufCMessageDescriptor sec_auth_reply_msg__descriptor =
3411 {
3412 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3413 "sec_auth_reply_msg",
3414 "SecAuthReplyMsg",
3415 "SecAuthReplyMsg",
3416 "",
3417 sizeof(SecAuthReplyMsg),
3418 6,
3419 sec_auth_reply_msg__field_descriptors,
3420 sec_auth_reply_msg__field_indices_by_name,
3421 3, sec_auth_reply_msg__number_ranges,
3422 (ProtobufCMessageInit) sec_auth_reply_msg__init,
3423 NULL,NULL,NULL /* reserved[123] */
3424 };
3425 static const ProtobufCFieldDescriptor sec_op_msg__field_descriptors[4] =
3426 {
3427 {
3428 "key_idx",
3429 1,
3430 PROTOBUF_C_LABEL_OPTIONAL,
3431 PROTOBUF_C_TYPE_UINT32,
3432 offsetof(SecOpMsg, has_key_idx),
3433 offsetof(SecOpMsg, key_idx),
3434 NULL,
3435 NULL,
3436 0, /* flags */
3437 0,NULL,NULL /* reserved1,reserved2, etc */
3438 },
3439 {
3440 "data",
3441 2,
3442 PROTOBUF_C_LABEL_REQUIRED,
3443 PROTOBUF_C_TYPE_BYTES,
3444 0, /* quantifier_offset */
3445 offsetof(SecOpMsg, data),
3446 NULL,
3447 NULL,
3448 0, /* flags */
3449 0,NULL,NULL /* reserved1,reserved2, etc */
3450 },
3451 {
3452 "sig",
3453 3,
3454 PROTOBUF_C_LABEL_REQUIRED,
3455 PROTOBUF_C_TYPE_UINT32,
3456 0, /* quantifier_offset */
3457 offsetof(SecOpMsg, sig),
3458 NULL,
3459 NULL,
3460 0, /* flags */
3461 0,NULL,NULL /* reserved1,reserved2, etc */
3462 },
3463 {
3464 "vhost",
3465 4,
3466 PROTOBUF_C_LABEL_OPTIONAL,
3467 PROTOBUF_C_TYPE_STRING,
3468 0, /* quantifier_offset */
3469 offsetof(SecOpMsg, vhost),
3470 NULL,
3471 NULL,
3472 0, /* flags */
3473 0,NULL,NULL /* reserved1,reserved2, etc */
3474 },
3475 };
3476 static const unsigned sec_op_msg__field_indices_by_name[] = {
3477 1, /* field[1] = data */
3478 0, /* field[0] = key_idx */
3479 2, /* field[2] = sig */
3480 3, /* field[3] = vhost */
3481 };
3482 static const ProtobufCIntRange sec_op_msg__number_ranges[1 + 1] =
3483 {
3484 { 1, 0 },
3485 { 0, 4 }
3486 };
3487 const ProtobufCMessageDescriptor sec_op_msg__descriptor =
3488 {
3489 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3490 "sec_op_msg",
3491 "SecOpMsg",
3492 "SecOpMsg",
3493 "",
3494 sizeof(SecOpMsg),
3495 4,
3496 sec_op_msg__field_descriptors,
3497 sec_op_msg__field_indices_by_name,
3498 1, sec_op_msg__number_ranges,
3499 (ProtobufCMessageInit) sec_op_msg__init,
3500 NULL,NULL,NULL /* reserved[123] */
3501 };
3502 static const ProtobufCFieldDescriptor sec_get_pk_msg__field_descriptors[4] =
3503 {
3504 {
3505 "key_idx",
3506 1,
3507 PROTOBUF_C_LABEL_REQUIRED,
3508 PROTOBUF_C_TYPE_UINT32,
3509 0, /* quantifier_offset */
3510 offsetof(SecGetPkMsg, key_idx),
3511 NULL,
3512 NULL,
3513 0, /* flags */
3514 0,NULL,NULL /* reserved1,reserved2, etc */
3515 },
3516 {
3517 "pk",
3518 2,
3519 PROTOBUF_C_LABEL_REQUIRED,
3520 PROTOBUF_C_TYPE_UINT32,
3521 0, /* quantifier_offset */
3522 offsetof(SecGetPkMsg, pk),
3523 NULL,
3524 NULL,
3525 0, /* flags */
3526 0,NULL,NULL /* reserved1,reserved2, etc */
3527 },
3528 {
3529 "vhost",
3530 3,
3531 PROTOBUF_C_LABEL_OPTIONAL,
3532 PROTOBUF_C_TYPE_STRING,
3533 0, /* quantifier_offset */
3534 offsetof(SecGetPkMsg, vhost),
3535 NULL,
3536 NULL,
3537 0, /* flags */
3538 0,NULL,NULL /* reserved1,reserved2, etc */
3539 },
3540 {
3541 "bits",
3542 4,
3543 PROTOBUF_C_LABEL_OPTIONAL,
3544 PROTOBUF_C_TYPE_UINT32,
3545 offsetof(SecGetPkMsg, has_bits),
3546 offsetof(SecGetPkMsg, bits),
3547 NULL,
3548 NULL,
3549 0, /* flags */
3550 0,NULL,NULL /* reserved1,reserved2, etc */
3551 },
3552 };
3553 static const unsigned sec_get_pk_msg__field_indices_by_name[] = {
3554 3, /* field[3] = bits */
3555 0, /* field[0] = key_idx */
3556 1, /* field[1] = pk */
3557 2, /* field[2] = vhost */
3558 };
3559 static const ProtobufCIntRange sec_get_pk_msg__number_ranges[1 + 1] =
3560 {
3561 { 1, 0 },
3562 { 0, 4 }
3563 };
3564 const ProtobufCMessageDescriptor sec_get_pk_msg__descriptor =
3565 {
3566 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3567 "sec_get_pk_msg",
3568 "SecGetPkMsg",
3569 "SecGetPkMsg",
3570 "",
3571 sizeof(SecGetPkMsg),
3572 4,
3573 sec_get_pk_msg__field_descriptors,
3574 sec_get_pk_msg__field_indices_by_name,
3575 1, sec_get_pk_msg__number_ranges,
3576 (ProtobufCMessageInit) sec_get_pk_msg__init,
3577 NULL,NULL,NULL /* reserved[123] */
3578 };
3579 static const ProtobufCFieldDescriptor secm_session_open_msg__field_descriptors[3] =
3580 {
3581 {
3582 "sid",
3583 1,
3584 PROTOBUF_C_LABEL_REQUIRED,
3585 PROTOBUF_C_TYPE_BYTES,
3586 0, /* quantifier_offset */
3587 offsetof(SecmSessionOpenMsg, sid),
3588 NULL,
3589 NULL,
3590 0, /* flags */
3591 0,NULL,NULL /* reserved1,reserved2, etc */
3592 },
3593 {
3594 "ipv4",
3595 6,
3596 PROTOBUF_C_LABEL_OPTIONAL,
3597 PROTOBUF_C_TYPE_STRING,
3598 0, /* quantifier_offset */
3599 offsetof(SecmSessionOpenMsg, ipv4),
3600 NULL,
3601 NULL,
3602 0, /* flags */
3603 0,NULL,NULL /* reserved1,reserved2, etc */
3604 },
3605 {
3606 "ipv6",
3607 7,
3608 PROTOBUF_C_LABEL_OPTIONAL,
3609 PROTOBUF_C_TYPE_STRING,
3610 0, /* quantifier_offset */
3611 offsetof(SecmSessionOpenMsg, ipv6),
3612 NULL,
3613 NULL,
3614 0, /* flags */
3615 0,NULL,NULL /* reserved1,reserved2, etc */
3616 },
3617 };
3618 static const unsigned secm_session_open_msg__field_indices_by_name[] = {
3619 1, /* field[1] = ipv4 */
3620 2, /* field[2] = ipv6 */
3621 0, /* field[0] = sid */
3622 };
3623 static const ProtobufCIntRange secm_session_open_msg__number_ranges[2 + 1] =
3624 {
3625 { 1, 0 },
3626 { 6, 1 },
3627 { 0, 3 }
3628 };
3629 const ProtobufCMessageDescriptor secm_session_open_msg__descriptor =
3630 {
3631 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3632 "secm_session_open_msg",
3633 "SecmSessionOpenMsg",
3634 "SecmSessionOpenMsg",
3635 "",
3636 sizeof(SecmSessionOpenMsg),
3637 3,
3638 secm_session_open_msg__field_descriptors,
3639 secm_session_open_msg__field_indices_by_name,
3640 2, secm_session_open_msg__number_ranges,
3641 (ProtobufCMessageInit) secm_session_open_msg__init,
3642 NULL,NULL,NULL /* reserved[123] */
3643 };
3644 static const protobuf_c_boolean secm_session_close_msg__server_disconnected__default_value = 0;
3645 static const ProtobufCFieldDescriptor secm_session_close_msg__field_descriptors[7] =
3646 {
3647 {
3648 "sid",
3649 1,
3650 PROTOBUF_C_LABEL_REQUIRED,
3651 PROTOBUF_C_TYPE_BYTES,
3652 0, /* quantifier_offset */
3653 offsetof(SecmSessionCloseMsg, sid),
3654 NULL,
3655 NULL,
3656 0, /* flags */
3657 0,NULL,NULL /* reserved1,reserved2, etc */
3658 },
3659 {
3660 "uptime",
3661 3,
3662 PROTOBUF_C_LABEL_OPTIONAL,
3663 PROTOBUF_C_TYPE_UINT32,
3664 offsetof(SecmSessionCloseMsg, has_uptime),
3665 offsetof(SecmSessionCloseMsg, uptime),
3666 NULL,
3667 NULL,
3668 0, /* flags */
3669 0,NULL,NULL /* reserved1,reserved2, etc */
3670 },
3671 {
3672 "bytes_in",
3673 4,
3674 PROTOBUF_C_LABEL_OPTIONAL,
3675 PROTOBUF_C_TYPE_UINT64,
3676 offsetof(SecmSessionCloseMsg, has_bytes_in),
3677 offsetof(SecmSessionCloseMsg, bytes_in),
3678 NULL,
3679 NULL,
3680 0, /* flags */
3681 0,NULL,NULL /* reserved1,reserved2, etc */
3682 },
3683 {
3684 "bytes_out",
3685 5,
3686 PROTOBUF_C_LABEL_OPTIONAL,
3687 PROTOBUF_C_TYPE_UINT64,
3688 offsetof(SecmSessionCloseMsg, has_bytes_out),
3689 offsetof(SecmSessionCloseMsg, bytes_out),
3690 NULL,
3691 NULL,
3692 0, /* flags */
3693 0,NULL,NULL /* reserved1,reserved2, etc */
3694 },
3695 {
3696 "ipv4",
3697 6,
3698 PROTOBUF_C_LABEL_OPTIONAL,
3699 PROTOBUF_C_TYPE_STRING,
3700 0, /* quantifier_offset */
3701 offsetof(SecmSessionCloseMsg, ipv4),
3702 NULL,
3703 NULL,
3704 0, /* flags */
3705 0,NULL,NULL /* reserved1,reserved2, etc */
3706 },
3707 {
3708 "ipv6",
3709 7,
3710 PROTOBUF_C_LABEL_OPTIONAL,
3711 PROTOBUF_C_TYPE_STRING,
3712 0, /* quantifier_offset */
3713 offsetof(SecmSessionCloseMsg, ipv6),
3714 NULL,
3715 NULL,
3716 0, /* flags */
3717 0,NULL,NULL /* reserved1,reserved2, etc */
3718 },
3719 {
3720 "server_disconnected",
3721 8,
3722 PROTOBUF_C_LABEL_REQUIRED,
3723 PROTOBUF_C_TYPE_BOOL,
3724 0, /* quantifier_offset */
3725 offsetof(SecmSessionCloseMsg, server_disconnected),
3726 NULL,
3727 &secm_session_close_msg__server_disconnected__default_value,
3728 0, /* flags */
3729 0,NULL,NULL /* reserved1,reserved2, etc */
3730 },
3731 };
3732 static const unsigned secm_session_close_msg__field_indices_by_name[] = {
3733 2, /* field[2] = bytes_in */
3734 3, /* field[3] = bytes_out */
3735 4, /* field[4] = ipv4 */
3736 5, /* field[5] = ipv6 */
3737 6, /* field[6] = server_disconnected */
3738 0, /* field[0] = sid */
3739 1, /* field[1] = uptime */
3740 };
3741 static const ProtobufCIntRange secm_session_close_msg__number_ranges[2 + 1] =
3742 {
3743 { 1, 0 },
3744 { 3, 1 },
3745 { 0, 7 }
3746 };
3747 const ProtobufCMessageDescriptor secm_session_close_msg__descriptor =
3748 {
3749 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3750 "secm_session_close_msg",
3751 "SecmSessionCloseMsg",
3752 "SecmSessionCloseMsg",
3753 "",
3754 sizeof(SecmSessionCloseMsg),
3755 7,
3756 secm_session_close_msg__field_descriptors,
3757 secm_session_close_msg__field_indices_by_name,
3758 2, secm_session_close_msg__number_ranges,
3759 (ProtobufCMessageInit) secm_session_close_msg__init,
3760 NULL,NULL,NULL /* reserved[123] */
3761 };
3762 static const ProtobufCFieldDescriptor secm_stats_msg__field_descriptors[5] =
3763 {
3764 {
3765 "secmod_client_entries",
3766 1,
3767 PROTOBUF_C_LABEL_REQUIRED,
3768 PROTOBUF_C_TYPE_UINT32,
3769 0, /* quantifier_offset */
3770 offsetof(SecmStatsMsg, secmod_client_entries),
3771 NULL,
3772 NULL,
3773 0, /* flags */
3774 0,NULL,NULL /* reserved1,reserved2, etc */
3775 },
3776 {
3777 "secmod_tlsdb_entries",
3778 2,
3779 PROTOBUF_C_LABEL_REQUIRED,
3780 PROTOBUF_C_TYPE_UINT32,
3781 0, /* quantifier_offset */
3782 offsetof(SecmStatsMsg, secmod_tlsdb_entries),
3783 NULL,
3784 NULL,
3785 0, /* flags */
3786 0,NULL,NULL /* reserved1,reserved2, etc */
3787 },
3788 {
3789 "secmod_auth_failures",
3790 3,
3791 PROTOBUF_C_LABEL_REQUIRED,
3792 PROTOBUF_C_TYPE_UINT64,
3793 0, /* quantifier_offset */
3794 offsetof(SecmStatsMsg, secmod_auth_failures),
3795 NULL,
3796 NULL,
3797 0, /* flags */
3798 0,NULL,NULL /* reserved1,reserved2, etc */
3799 },
3800 {
3801 "secmod_avg_auth_time",
3802 4,
3803 PROTOBUF_C_LABEL_REQUIRED,
3804 PROTOBUF_C_TYPE_UINT32,
3805 0, /* quantifier_offset */
3806 offsetof(SecmStatsMsg, secmod_avg_auth_time),
3807 NULL,
3808 NULL,
3809 0, /* flags */
3810 0,NULL,NULL /* reserved1,reserved2, etc */
3811 },
3812 {
3813 "secmod_max_auth_time",
3814 5,
3815 PROTOBUF_C_LABEL_REQUIRED,
3816 PROTOBUF_C_TYPE_UINT32,
3817 0, /* quantifier_offset */
3818 offsetof(SecmStatsMsg, secmod_max_auth_time),
3819 NULL,
3820 NULL,
3821 0, /* flags */
3822 0,NULL,NULL /* reserved1,reserved2, etc */
3823 },
3824 };
3825 static const unsigned secm_stats_msg__field_indices_by_name[] = {
3826 2, /* field[2] = secmod_auth_failures */
3827 3, /* field[3] = secmod_avg_auth_time */
3828 0, /* field[0] = secmod_client_entries */
3829 4, /* field[4] = secmod_max_auth_time */
3830 1, /* field[1] = secmod_tlsdb_entries */
3831 };
3832 static const ProtobufCIntRange secm_stats_msg__number_ranges[1 + 1] =
3833 {
3834 { 1, 0 },
3835 { 0, 5 }
3836 };
3837 const ProtobufCMessageDescriptor secm_stats_msg__descriptor =
3838 {
3839 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3840 "secm_stats_msg",
3841 "SecmStatsMsg",
3842 "SecmStatsMsg",
3843 "",
3844 sizeof(SecmStatsMsg),
3845 5,
3846 secm_stats_msg__field_descriptors,
3847 secm_stats_msg__field_indices_by_name,
3848 1, secm_stats_msg__number_ranges,
3849 (ProtobufCMessageInit) secm_stats_msg__init,
3850 NULL,NULL,NULL /* reserved[123] */
3851 };
3852 static const ProtobufCFieldDescriptor secm_session_reply_msg__field_descriptors[12] =
3853 {
3854 {
3855 "reply",
3856 1,
3857 PROTOBUF_C_LABEL_REQUIRED,
3858 PROTOBUF_C_TYPE_ENUM,
3859 0, /* quantifier_offset */
3860 offsetof(SecmSessionReplyMsg, reply),
3861 &auth__rep__descriptor,
3862 NULL,
3863 0, /* flags */
3864 0,NULL,NULL /* reserved1,reserved2, etc */
3865 },
3866 {
3867 "config",
3868 2,
3869 PROTOBUF_C_LABEL_REQUIRED,
3870 PROTOBUF_C_TYPE_MESSAGE,
3871 0, /* quantifier_offset */
3872 offsetof(SecmSessionReplyMsg, config),
3873 &group_cfg_st__descriptor,
3874 NULL,
3875 0, /* flags */
3876 0,NULL,NULL /* reserved1,reserved2, etc */
3877 },
3878 {
3879 "username",
3880 3,
3881 PROTOBUF_C_LABEL_REQUIRED,
3882 PROTOBUF_C_TYPE_STRING,
3883 0, /* quantifier_offset */
3884 offsetof(SecmSessionReplyMsg, username),
3885 NULL,
3886 NULL,
3887 0, /* flags */
3888 0,NULL,NULL /* reserved1,reserved2, etc */
3889 },
3890 {
3891 "groupname",
3892 4,
3893 PROTOBUF_C_LABEL_REQUIRED,
3894 PROTOBUF_C_TYPE_STRING,
3895 0, /* quantifier_offset */
3896 offsetof(SecmSessionReplyMsg, groupname),
3897 NULL,
3898 NULL,
3899 0, /* flags */
3900 0,NULL,NULL /* reserved1,reserved2, etc */
3901 },
3902 {
3903 "ip",
3904 6,
3905 PROTOBUF_C_LABEL_REQUIRED,
3906 PROTOBUF_C_TYPE_STRING,
3907 0, /* quantifier_offset */
3908 offsetof(SecmSessionReplyMsg, ip),
3909 NULL,
3910 NULL,
3911 0, /* flags */
3912 0,NULL,NULL /* reserved1,reserved2, etc */
3913 },
3914 {
3915 "ipv4_seed",
3916 8,
3917 PROTOBUF_C_LABEL_REQUIRED,
3918 PROTOBUF_C_TYPE_UINT32,
3919 0, /* quantifier_offset */
3920 offsetof(SecmSessionReplyMsg, ipv4_seed),
3921 NULL,
3922 NULL,
3923 0, /* flags */
3924 0,NULL,NULL /* reserved1,reserved2, etc */
3925 },
3926 {
3927 "sid",
3928 9,
3929 PROTOBUF_C_LABEL_REQUIRED,
3930 PROTOBUF_C_TYPE_BYTES,
3931 0, /* quantifier_offset */
3932 offsetof(SecmSessionReplyMsg, sid),
3933 NULL,
3934 NULL,
3935 0, /* flags */
3936 0,NULL,NULL /* reserved1,reserved2, etc */
3937 },
3938 {
3939 "tls_auth_ok",
3940 10,
3941 PROTOBUF_C_LABEL_REQUIRED,
3942 PROTOBUF_C_TYPE_BOOL,
3943 0, /* quantifier_offset */
3944 offsetof(SecmSessionReplyMsg, tls_auth_ok),
3945 NULL,
3946 NULL,
3947 0, /* flags */
3948 0,NULL,NULL /* reserved1,reserved2, etc */
3949 },
3950 {
3951 "vhost",
3952 11,
3953 PROTOBUF_C_LABEL_OPTIONAL,
3954 PROTOBUF_C_TYPE_STRING,
3955 0, /* quantifier_offset */
3956 offsetof(SecmSessionReplyMsg, vhost),
3957 NULL,
3958 NULL,
3959 0, /* flags */
3960 0,NULL,NULL /* reserved1,reserved2, etc */
3961 },
3962 {
3963 "user_agent",
3964 12,
3965 PROTOBUF_C_LABEL_OPTIONAL,
3966 PROTOBUF_C_TYPE_STRING,
3967 0, /* quantifier_offset */
3968 offsetof(SecmSessionReplyMsg, user_agent),
3969 NULL,
3970 NULL,
3971 0, /* flags */
3972 0,NULL,NULL /* reserved1,reserved2, etc */
3973 },
3974 {
3975 "device_platform",
3976 13,
3977 PROTOBUF_C_LABEL_OPTIONAL,
3978 PROTOBUF_C_TYPE_STRING,
3979 0, /* quantifier_offset */
3980 offsetof(SecmSessionReplyMsg, device_platform),
3981 NULL,
3982 NULL,
3983 0, /* flags */
3984 0,NULL,NULL /* reserved1,reserved2, etc */
3985 },
3986 {
3987 "device_type",
3988 14,
3989 PROTOBUF_C_LABEL_OPTIONAL,
3990 PROTOBUF_C_TYPE_STRING,
3991 0, /* quantifier_offset */
3992 offsetof(SecmSessionReplyMsg, device_type),
3993 NULL,
3994 NULL,
3995 0, /* flags */
3996 0,NULL,NULL /* reserved1,reserved2, etc */
3997 },
3998 };
3999 static const unsigned secm_session_reply_msg__field_indices_by_name[] = {
4000 1, /* field[1] = config */
4001 10, /* field[10] = device_platform */
4002 11, /* field[11] = device_type */
4003 3, /* field[3] = groupname */
4004 4, /* field[4] = ip */
4005 5, /* field[5] = ipv4_seed */
4006 0, /* field[0] = reply */
4007 6, /* field[6] = sid */
4008 7, /* field[7] = tls_auth_ok */
4009 9, /* field[9] = user_agent */
4010 2, /* field[2] = username */
4011 8, /* field[8] = vhost */
4012 };
4013 static const ProtobufCIntRange secm_session_reply_msg__number_ranges[3 + 1] =
4014 {
4015 { 1, 0 },
4016 { 6, 4 },
4017 { 8, 5 },
4018 { 0, 12 }
4019 };
4020 const ProtobufCMessageDescriptor secm_session_reply_msg__descriptor =
4021 {
4022 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
4023 "secm_session_reply_msg",
4024 "SecmSessionReplyMsg",
4025 "SecmSessionReplyMsg",
4026 "",
4027 sizeof(SecmSessionReplyMsg),
4028 12,
4029 secm_session_reply_msg__field_descriptors,
4030 secm_session_reply_msg__field_indices_by_name,
4031 3, secm_session_reply_msg__number_ranges,
4032 (ProtobufCMessageInit) secm_session_reply_msg__init,
4033 NULL,NULL,NULL /* reserved[123] */
4034 };
4035 static const ProtobufCFieldDescriptor cookie_int_msg__field_descriptors[12] =
4036 {
4037 {
4038 "safe_id",
4039 1,
4040 PROTOBUF_C_LABEL_REQUIRED,
4041 PROTOBUF_C_TYPE_BYTES,
4042 0, /* quantifier_offset */
4043 offsetof(CookieIntMsg, safe_id),
4044 NULL,
4045 NULL,
4046 0, /* flags */
4047 0,NULL,NULL /* reserved1,reserved2, etc */
4048 },
4049 {
4050 "session_is_open",
4051 2,
4052 PROTOBUF_C_LABEL_REQUIRED,
4053 PROTOBUF_C_TYPE_BOOL,
4054 0, /* quantifier_offset */
4055 offsetof(CookieIntMsg, session_is_open),
4056 NULL,
4057 NULL,
4058 0, /* flags */
4059 0,NULL,NULL /* reserved1,reserved2, etc */
4060 },
4061 {
4062 "tls_auth_ok",
4063 3,
4064 PROTOBUF_C_LABEL_REQUIRED,
4065 PROTOBUF_C_TYPE_BOOL,
4066 0, /* quantifier_offset */
4067 offsetof(CookieIntMsg, tls_auth_ok),
4068 NULL,
4069 NULL,
4070 0, /* flags */
4071 0,NULL,NULL /* reserved1,reserved2, etc */
4072 },
4073 {
4074 "created",
4075 4,
4076 PROTOBUF_C_LABEL_REQUIRED,
4077 PROTOBUF_C_TYPE_UINT32,
4078 0, /* quantifier_offset */
4079 offsetof(CookieIntMsg, created),
4080 NULL,
4081 NULL,
4082 0, /* flags */
4083 0,NULL,NULL /* reserved1,reserved2, etc */
4084 },
4085 {
4086 "username",
4087 5,
4088 PROTOBUF_C_LABEL_REQUIRED,
4089 PROTOBUF_C_TYPE_STRING,
4090 0, /* quantifier_offset */
4091 offsetof(CookieIntMsg, username),
4092 NULL,
4093 NULL,
4094 0, /* flags */
4095 0,NULL,NULL /* reserved1,reserved2, etc */
4096 },
4097 {
4098 "groupname",
4099 6,
4100 PROTOBUF_C_LABEL_OPTIONAL,
4101 PROTOBUF_C_TYPE_STRING,
4102 0, /* quantifier_offset */
4103 offsetof(CookieIntMsg, groupname),
4104 NULL,
4105 NULL,
4106 0, /* flags */
4107 0,NULL,NULL /* reserved1,reserved2, etc */
4108 },
4109 {
4110 "user_agent",
4111 7,
4112 PROTOBUF_C_LABEL_REQUIRED,
4113 PROTOBUF_C_TYPE_STRING,
4114 0, /* quantifier_offset */
4115 offsetof(CookieIntMsg, user_agent),
4116 NULL,
4117 NULL,
4118 0, /* flags */
4119 0,NULL,NULL /* reserved1,reserved2, etc */
4120 },
4121 {
4122 "remote_ip",
4123 8,
4124 PROTOBUF_C_LABEL_REQUIRED,
4125 PROTOBUF_C_TYPE_STRING,
4126 0, /* quantifier_offset */
4127 offsetof(CookieIntMsg, remote_ip),
4128 NULL,
4129 NULL,
4130 0, /* flags */
4131 0,NULL,NULL /* reserved1,reserved2, etc */
4132 },
4133 {
4134 "expires",
4135 9,
4136 PROTOBUF_C_LABEL_REQUIRED,
4137 PROTOBUF_C_TYPE_UINT32,
4138 0, /* quantifier_offset */
4139 offsetof(CookieIntMsg, expires),
4140 NULL,
4141 NULL,
4142 0, /* flags */
4143 0,NULL,NULL /* reserved1,reserved2, etc */
4144 },
4145 {
4146 "status",
4147 10,
4148 PROTOBUF_C_LABEL_REQUIRED,
4149 PROTOBUF_C_TYPE_UINT32,
4150 0, /* quantifier_offset */
4151 offsetof(CookieIntMsg, status),
4152 NULL,
4153 NULL,
4154 0, /* flags */
4155 0,NULL,NULL /* reserved1,reserved2, etc */
4156 },
4157 {
4158 "in_use",
4159 11,
4160 PROTOBUF_C_LABEL_REQUIRED,
4161 PROTOBUF_C_TYPE_BOOL,
4162 0, /* quantifier_offset */
4163 offsetof(CookieIntMsg, in_use),
4164 NULL,
4165 NULL,
4166 0, /* flags */
4167 0,NULL,NULL /* reserved1,reserved2, etc */
4168 },
4169 {
4170 "vhost",
4171 12,
4172 PROTOBUF_C_LABEL_REQUIRED,
4173 PROTOBUF_C_TYPE_STRING,
4174 0, /* quantifier_offset */
4175 offsetof(CookieIntMsg, vhost),
4176 NULL,
4177 NULL,
4178 0, /* flags */
4179 0,NULL,NULL /* reserved1,reserved2, etc */
4180 },
4181 };
4182 static const unsigned cookie_int_msg__field_indices_by_name[] = {
4183 3, /* field[3] = created */
4184 8, /* field[8] = expires */
4185 5, /* field[5] = groupname */
4186 10, /* field[10] = in_use */
4187 7, /* field[7] = remote_ip */
4188 0, /* field[0] = safe_id */
4189 1, /* field[1] = session_is_open */
4190 9, /* field[9] = status */
4191 2, /* field[2] = tls_auth_ok */
4192 6, /* field[6] = user_agent */
4193 4, /* field[4] = username */
4194 11, /* field[11] = vhost */
4195 };
4196 static const ProtobufCIntRange cookie_int_msg__number_ranges[1 + 1] =
4197 {
4198 { 1, 0 },
4199 { 0, 12 }
4200 };
4201 const ProtobufCMessageDescriptor cookie_int_msg__descriptor =
4202 {
4203 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
4204 "cookie_int_msg",
4205 "CookieIntMsg",
4206 "CookieIntMsg",
4207 "",
4208 sizeof(CookieIntMsg),
4209 12,
4210 cookie_int_msg__field_descriptors,
4211 cookie_int_msg__field_indices_by_name,
4212 1, cookie_int_msg__number_ranges,
4213 (ProtobufCMessageInit) cookie_int_msg__init,
4214 NULL,NULL,NULL /* reserved[123] */
4215 };
4216 static const ProtobufCFieldDescriptor secm_list_cookies_reply_msg__field_descriptors[1] =
4217 {
4218 {
4219 "cookies",
4220 1,
4221 PROTOBUF_C_LABEL_REPEATED,
4222 PROTOBUF_C_TYPE_MESSAGE,
4223 offsetof(SecmListCookiesReplyMsg, n_cookies),
4224 offsetof(SecmListCookiesReplyMsg, cookies),
4225 &cookie_int_msg__descriptor,
4226 NULL,
4227 0, /* flags */
4228 0,NULL,NULL /* reserved1,reserved2, etc */
4229 },
4230 };
4231 static const unsigned secm_list_cookies_reply_msg__field_indices_by_name[] = {
4232 0, /* field[0] = cookies */
4233 };
4234 static const ProtobufCIntRange secm_list_cookies_reply_msg__number_ranges[1 + 1] =
4235 {
4236 { 1, 0 },
4237 { 0, 1 }
4238 };
4239 const ProtobufCMessageDescriptor secm_list_cookies_reply_msg__descriptor =
4240 {
4241 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
4242 "secm_list_cookies_reply_msg",
4243 "SecmListCookiesReplyMsg",
4244 "SecmListCookiesReplyMsg",
4245 "",
4246 sizeof(SecmListCookiesReplyMsg),
4247 1,
4248 secm_list_cookies_reply_msg__field_descriptors,
4249 secm_list_cookies_reply_msg__field_indices_by_name,
4250 1, secm_list_cookies_reply_msg__number_ranges,
4251 (ProtobufCMessageInit) secm_list_cookies_reply_msg__init,
4252 NULL,NULL,NULL /* reserved[123] */
4253 };
4254 #define snapshot_state_msg__field_descriptors NULL
4255 #define snapshot_state_msg__field_indices_by_name NULL
4256 #define snapshot_state_msg__number_ranges NULL
4257 const ProtobufCMessageDescriptor snapshot_state_msg__descriptor =
4258 {
4259 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
4260 "snapshot_state_msg",
4261 "SnapshotStateMsg",
4262 "SnapshotStateMsg",
4263 "",
4264 sizeof(SnapshotStateMsg),
4265 0,
4266 snapshot_state_msg__field_descriptors,
4267 snapshot_state_msg__field_indices_by_name,
4268 0, snapshot_state_msg__number_ranges,
4269 (ProtobufCMessageInit) snapshot_state_msg__init,
4270 NULL,NULL,NULL /* reserved[123] */
4271 };
4272 static const ProtobufCEnumValue auth__rep__enum_values_by_number[3] =
4273 {
4274 { "OK", "AUTH__REP__OK", 1 },
4275 { "MSG", "AUTH__REP__MSG", 2 },
4276 { "FAILED", "AUTH__REP__FAILED", 3 },
4277 };
4278 static const ProtobufCIntRange auth__rep__value_ranges[] = {
4279 {1, 0},{0, 3}
4280 };
4281 static const ProtobufCEnumValueIndex auth__rep__enum_values_by_name[3] =
4282 {
4283 { "FAILED", 2 },
4284 { "MSG", 1 },
4285 { "OK", 0 },
4286 };
4287 const ProtobufCEnumDescriptor auth__rep__descriptor =
4288 {
4289 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4290 "AUTH_REP",
4291 "AUTH_REP",
4292 "AUTHREP",
4293 "",
4294 3,
4295 auth__rep__enum_values_by_number,
4296 3,
4297 auth__rep__enum_values_by_name,
4298 1,
4299 auth__rep__value_ranges,
4300 NULL,NULL,NULL,NULL /* reserved[1234] */
4301 };
4302