Goby3  3.1.4
2024.02.22
network_header.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/network_header.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "dccl/option_extensions.pb.h"
35 #include "dccl/arithmetic/protobuf/arithmetic_extensions.pb.h"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
40 // @@protoc_insertion_point(includes)
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto
42 
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct {
46  static const ::google::protobuf::internal::ParseTableField entries[];
47  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
48  static const ::google::protobuf::internal::ParseTable schema[11];
49  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
50  static const ::google::protobuf::internal::SerializationTable serialization_table[];
52 };
53 void AddDescriptors();
54 } // namespace protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto
55 namespace goby {
56 namespace acomms {
57 namespace protobuf {
58 class ICMPHeader;
59 class ICMPHeaderDefaultTypeInternal;
60 extern ICMPHeaderDefaultTypeInternal _ICMPHeader_default_instance_;
61 class IPGatewayICMPControl;
62 class IPGatewayICMPControlDefaultTypeInternal;
63 extern IPGatewayICMPControlDefaultTypeInternal _IPGatewayICMPControl_default_instance_;
64 class IPGatewayICMPControl_QueueReport;
65 class IPGatewayICMPControl_QueueReportDefaultTypeInternal;
66 extern IPGatewayICMPControl_QueueReportDefaultTypeInternal _IPGatewayICMPControl_QueueReport_default_instance_;
67 class IPGatewayICMPControl_QueueReport_SubQueue;
68 class IPGatewayICMPControl_QueueReport_SubQueueDefaultTypeInternal;
69 extern IPGatewayICMPControl_QueueReport_SubQueueDefaultTypeInternal _IPGatewayICMPControl_QueueReport_SubQueue_default_instance_;
70 class IPv4Header;
71 class IPv4HeaderDefaultTypeInternal;
72 extern IPv4HeaderDefaultTypeInternal _IPv4Header_default_instance_;
73 class IPv4Header_FlagsFragOffset;
74 class IPv4Header_FlagsFragOffsetDefaultTypeInternal;
75 extern IPv4Header_FlagsFragOffsetDefaultTypeInternal _IPv4Header_FlagsFragOffset_default_instance_;
76 class NetworkHeader;
77 class NetworkHeaderDefaultTypeInternal;
78 extern NetworkHeaderDefaultTypeInternal _NetworkHeader_default_instance_;
79 class NetworkHeader_ICMPHeader;
80 class NetworkHeader_ICMPHeaderDefaultTypeInternal;
81 extern NetworkHeader_ICMPHeaderDefaultTypeInternal _NetworkHeader_ICMPHeader_default_instance_;
82 class NetworkHeader_SCTPHeader;
83 class NetworkHeader_SCTPHeaderDefaultTypeInternal;
84 extern NetworkHeader_SCTPHeaderDefaultTypeInternal _NetworkHeader_SCTPHeader_default_instance_;
85 class NetworkHeader_UDPHeader;
86 class NetworkHeader_UDPHeaderDefaultTypeInternal;
87 extern NetworkHeader_UDPHeaderDefaultTypeInternal _NetworkHeader_UDPHeader_default_instance_;
88 class UDPHeader;
89 class UDPHeaderDefaultTypeInternal;
90 extern UDPHeaderDefaultTypeInternal _UDPHeader_default_instance_;
91 } // namespace protobuf
92 } // namespace acomms
93 } // namespace goby
94 namespace google {
95 namespace protobuf {
96 template<> ::goby::acomms::protobuf::ICMPHeader* Arena::CreateMaybeMessage<::goby::acomms::protobuf::ICMPHeader>(Arena*);
97 template<> ::goby::acomms::protobuf::IPGatewayICMPControl* Arena::CreateMaybeMessage<::goby::acomms::protobuf::IPGatewayICMPControl>(Arena*);
98 template<> ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* Arena::CreateMaybeMessage<::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport>(Arena*);
99 template<> ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* Arena::CreateMaybeMessage<::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue>(Arena*);
100 template<> ::goby::acomms::protobuf::IPv4Header* Arena::CreateMaybeMessage<::goby::acomms::protobuf::IPv4Header>(Arena*);
101 template<> ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* Arena::CreateMaybeMessage<::goby::acomms::protobuf::IPv4Header_FlagsFragOffset>(Arena*);
102 template<> ::goby::acomms::protobuf::NetworkHeader* Arena::CreateMaybeMessage<::goby::acomms::protobuf::NetworkHeader>(Arena*);
103 template<> ::goby::acomms::protobuf::NetworkHeader_ICMPHeader* Arena::CreateMaybeMessage<::goby::acomms::protobuf::NetworkHeader_ICMPHeader>(Arena*);
104 template<> ::goby::acomms::protobuf::NetworkHeader_SCTPHeader* Arena::CreateMaybeMessage<::goby::acomms::protobuf::NetworkHeader_SCTPHeader>(Arena*);
105 template<> ::goby::acomms::protobuf::NetworkHeader_UDPHeader* Arena::CreateMaybeMessage<::goby::acomms::protobuf::NetworkHeader_UDPHeader>(Arena*);
106 template<> ::goby::acomms::protobuf::UDPHeader* Arena::CreateMaybeMessage<::goby::acomms::protobuf::UDPHeader>(Arena*);
107 } // namespace protobuf
108 } // namespace google
109 namespace goby {
110 namespace acomms {
111 namespace protobuf {
112 
117 };
118 bool NetworkHeader_Protocol_IsValid(int value);
122 
123 const ::google::protobuf::EnumDescriptor* NetworkHeader_Protocol_descriptor();
124 inline const ::std::string& NetworkHeader_Protocol_Name(NetworkHeader_Protocol value) {
125  return ::google::protobuf::internal::NameOfEnum(
127 }
129  const ::std::string& name, NetworkHeader_Protocol* value) {
130  return ::google::protobuf::internal::ParseNamedEnum<NetworkHeader_Protocol>(
131  NetworkHeader_Protocol_descriptor(), name, value);
132 }
135 };
140 
141 const ::google::protobuf::EnumDescriptor* IPGatewayICMPControl_MessageType_descriptor();
143  return ::google::protobuf::internal::NameOfEnum(
145 }
147  const ::std::string& name, IPGatewayICMPControl_MessageType* value) {
148  return ::google::protobuf::internal::ParseNamedEnum<IPGatewayICMPControl_MessageType>(
150 }
151 // ===================================================================
152 
153 class NetworkHeader_UDPHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.NetworkHeader.UDPHeader) */ {
154  public:
156  virtual ~NetworkHeader_UDPHeader();
157 
159 
161  CopyFrom(from);
162  return *this;
163  }
164  #if LANG_CXX11
167  *this = ::std::move(from);
168  }
169 
171  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
172  if (this != &from) InternalSwap(&from);
173  } else {
174  CopyFrom(from);
175  }
176  return *this;
177  }
178  #endif
179  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
180  return _internal_metadata_.unknown_fields();
181  }
182  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
183  return _internal_metadata_.mutable_unknown_fields();
184  }
185 
186  static const ::google::protobuf::Descriptor* descriptor();
188 
189  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
191  return reinterpret_cast<const NetworkHeader_UDPHeader*>(
193  }
194  static constexpr int kIndexInFileMessages =
195  0;
196 
197  void Swap(NetworkHeader_UDPHeader* other);
199  a.Swap(&b);
200  }
201 
202  // implements Message ----------------------------------------------
203 
204  inline NetworkHeader_UDPHeader* New() const final {
205  return CreateMaybeMessage<NetworkHeader_UDPHeader>(NULL);
206  }
207 
209  return CreateMaybeMessage<NetworkHeader_UDPHeader>(arena);
210  }
211  void CopyFrom(const ::google::protobuf::Message& from) final;
212  void MergeFrom(const ::google::protobuf::Message& from) final;
213  void CopyFrom(const NetworkHeader_UDPHeader& from);
214  void MergeFrom(const NetworkHeader_UDPHeader& from);
215  void Clear() final;
216  bool IsInitialized() const final;
217 
218  size_t ByteSizeLong() const final;
220  ::google::protobuf::io::CodedInputStream* input) final;
222  ::google::protobuf::io::CodedOutputStream* output) const final;
224  bool deterministic, ::google::protobuf::uint8* target) const final;
225  int GetCachedSize() const final { return _cached_size_.Get(); }
226 
227  private:
228  void SharedCtor();
229  void SharedDtor();
230  void SetCachedSize(int size) const final;
231  void InternalSwap(NetworkHeader_UDPHeader* other);
232  private:
233  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
234  return NULL;
235  }
236  inline void* MaybeArenaPtr() const {
237  return NULL;
238  }
239  public:
240 
242 
243  // nested types ----------------------------------------------------
244 
245  // accessors -------------------------------------------------------
246 
247  // repeated uint32 srcdest_port = 1 [(.dccl.field) = {
248  int srcdest_port_size() const;
249  void clear_srcdest_port();
250  static const int kSrcdestPortFieldNumber = 1;
251  ::google::protobuf::uint32 srcdest_port(int index) const;
252  void set_srcdest_port(int index, ::google::protobuf::uint32 value);
253  void add_srcdest_port(::google::protobuf::uint32 value);
254  const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
255  srcdest_port() const;
256  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
258 
259  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader.UDPHeader)
260  private:
261 
262  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
263  ::google::protobuf::internal::HasBits<1> _has_bits_;
264  mutable ::google::protobuf::internal::CachedSize _cached_size_;
265  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > srcdest_port_;
267 };
268 // -------------------------------------------------------------------
269 
270 class NetworkHeader_ICMPHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.NetworkHeader.ICMPHeader) */ {
271  public:
273  virtual ~NetworkHeader_ICMPHeader();
274 
276 
278  CopyFrom(from);
279  return *this;
280  }
281  #if LANG_CXX11
284  *this = ::std::move(from);
285  }
286 
287  inline NetworkHeader_ICMPHeader& operator=(NetworkHeader_ICMPHeader&& from) noexcept {
288  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
289  if (this != &from) InternalSwap(&from);
290  } else {
291  CopyFrom(from);
292  }
293  return *this;
294  }
295  #endif
296  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
297  return _internal_metadata_.unknown_fields();
298  }
299  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
300  return _internal_metadata_.mutable_unknown_fields();
301  }
302 
303  static const ::google::protobuf::Descriptor* descriptor();
305 
306  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
308  return reinterpret_cast<const NetworkHeader_ICMPHeader*>(
310  }
311  static constexpr int kIndexInFileMessages =
312  1;
313 
314  void Swap(NetworkHeader_ICMPHeader* other);
316  a.Swap(&b);
317  }
318 
319  // implements Message ----------------------------------------------
320 
321  inline NetworkHeader_ICMPHeader* New() const final {
322  return CreateMaybeMessage<NetworkHeader_ICMPHeader>(NULL);
323  }
324 
326  return CreateMaybeMessage<NetworkHeader_ICMPHeader>(arena);
327  }
328  void CopyFrom(const ::google::protobuf::Message& from) final;
329  void MergeFrom(const ::google::protobuf::Message& from) final;
330  void CopyFrom(const NetworkHeader_ICMPHeader& from);
331  void MergeFrom(const NetworkHeader_ICMPHeader& from);
332  void Clear() final;
333  bool IsInitialized() const final;
334 
335  size_t ByteSizeLong() const final;
337  ::google::protobuf::io::CodedInputStream* input) final;
339  ::google::protobuf::io::CodedOutputStream* output) const final;
341  bool deterministic, ::google::protobuf::uint8* target) const final;
342  int GetCachedSize() const final { return _cached_size_.Get(); }
343 
344  private:
345  void SharedCtor();
346  void SharedDtor();
347  void SetCachedSize(int size) const final;
348  void InternalSwap(NetworkHeader_ICMPHeader* other);
349  private:
350  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
351  return NULL;
352  }
353  inline void* MaybeArenaPtr() const {
354  return NULL;
355  }
356  public:
357 
359 
360  // nested types ----------------------------------------------------
361 
362  // accessors -------------------------------------------------------
363 
364  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader.ICMPHeader)
365  private:
366 
367  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
368  ::google::protobuf::internal::HasBits<1> _has_bits_;
369  mutable ::google::protobuf::internal::CachedSize _cached_size_;
371 };
372 // -------------------------------------------------------------------
373 
374 class NetworkHeader_SCTPHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.NetworkHeader.SCTPHeader) */ {
375  public:
377  virtual ~NetworkHeader_SCTPHeader();
378 
380 
382  CopyFrom(from);
383  return *this;
384  }
385  #if LANG_CXX11
388  *this = ::std::move(from);
389  }
390 
391  inline NetworkHeader_SCTPHeader& operator=(NetworkHeader_SCTPHeader&& from) noexcept {
392  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
393  if (this != &from) InternalSwap(&from);
394  } else {
395  CopyFrom(from);
396  }
397  return *this;
398  }
399  #endif
400  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
401  return _internal_metadata_.unknown_fields();
402  }
403  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
404  return _internal_metadata_.mutable_unknown_fields();
405  }
406 
407  static const ::google::protobuf::Descriptor* descriptor();
409 
410  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
412  return reinterpret_cast<const NetworkHeader_SCTPHeader*>(
414  }
415  static constexpr int kIndexInFileMessages =
416  2;
417 
418  void Swap(NetworkHeader_SCTPHeader* other);
420  a.Swap(&b);
421  }
422 
423  // implements Message ----------------------------------------------
424 
425  inline NetworkHeader_SCTPHeader* New() const final {
426  return CreateMaybeMessage<NetworkHeader_SCTPHeader>(NULL);
427  }
428 
430  return CreateMaybeMessage<NetworkHeader_SCTPHeader>(arena);
431  }
432  void CopyFrom(const ::google::protobuf::Message& from) final;
433  void MergeFrom(const ::google::protobuf::Message& from) final;
434  void CopyFrom(const NetworkHeader_SCTPHeader& from);
435  void MergeFrom(const NetworkHeader_SCTPHeader& from);
436  void Clear() final;
437  bool IsInitialized() const final;
438 
439  size_t ByteSizeLong() const final;
441  ::google::protobuf::io::CodedInputStream* input) final;
443  ::google::protobuf::io::CodedOutputStream* output) const final;
445  bool deterministic, ::google::protobuf::uint8* target) const final;
446  int GetCachedSize() const final { return _cached_size_.Get(); }
447 
448  private:
449  void SharedCtor();
450  void SharedDtor();
451  void SetCachedSize(int size) const final;
452  void InternalSwap(NetworkHeader_SCTPHeader* other);
453  private:
454  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
455  return NULL;
456  }
457  inline void* MaybeArenaPtr() const {
458  return NULL;
459  }
460  public:
461 
463 
464  // nested types ----------------------------------------------------
465 
466  // accessors -------------------------------------------------------
467 
468  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader.SCTPHeader)
469  private:
470 
471  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
472  ::google::protobuf::internal::HasBits<1> _has_bits_;
473  mutable ::google::protobuf::internal::CachedSize _cached_size_;
475 };
476 // -------------------------------------------------------------------
477 
478 class NetworkHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.NetworkHeader) */ {
479  public:
480  NetworkHeader();
481  virtual ~NetworkHeader();
482 
483  NetworkHeader(const NetworkHeader& from);
484 
485  inline NetworkHeader& operator=(const NetworkHeader& from) {
486  CopyFrom(from);
487  return *this;
488  }
489  #if LANG_CXX11
490  NetworkHeader(NetworkHeader&& from) noexcept
491  : NetworkHeader() {
492  *this = ::std::move(from);
493  }
494 
495  inline NetworkHeader& operator=(NetworkHeader&& from) noexcept {
496  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
497  if (this != &from) InternalSwap(&from);
498  } else {
499  CopyFrom(from);
500  }
501  return *this;
502  }
503  #endif
504  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
505  return _internal_metadata_.unknown_fields();
506  }
507  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
508  return _internal_metadata_.mutable_unknown_fields();
509  }
510 
511  static const ::google::protobuf::Descriptor* descriptor();
512  static const NetworkHeader& default_instance();
513 
514  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
515  static inline const NetworkHeader* internal_default_instance() {
516  return reinterpret_cast<const NetworkHeader*>(
518  }
519  static constexpr int kIndexInFileMessages =
520  3;
521 
522  void Swap(NetworkHeader* other);
523  friend void swap(NetworkHeader& a, NetworkHeader& b) {
524  a.Swap(&b);
525  }
526 
527  // implements Message ----------------------------------------------
528 
529  inline NetworkHeader* New() const final {
530  return CreateMaybeMessage<NetworkHeader>(NULL);
531  }
532 
533  NetworkHeader* New(::google::protobuf::Arena* arena) const final {
534  return CreateMaybeMessage<NetworkHeader>(arena);
535  }
536  void CopyFrom(const ::google::protobuf::Message& from) final;
537  void MergeFrom(const ::google::protobuf::Message& from) final;
538  void CopyFrom(const NetworkHeader& from);
539  void MergeFrom(const NetworkHeader& from);
540  void Clear() final;
541  bool IsInitialized() const final;
542 
543  size_t ByteSizeLong() const final;
545  ::google::protobuf::io::CodedInputStream* input) final;
547  ::google::protobuf::io::CodedOutputStream* output) const final;
549  bool deterministic, ::google::protobuf::uint8* target) const final;
550  int GetCachedSize() const final { return _cached_size_.Get(); }
551 
552  private:
553  void SharedCtor();
554  void SharedDtor();
555  void SetCachedSize(int size) const final;
556  void InternalSwap(NetworkHeader* other);
557  private:
558  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
559  return NULL;
560  }
561  inline void* MaybeArenaPtr() const {
562  return NULL;
563  }
564  public:
565 
567 
568  // nested types ----------------------------------------------------
569 
573 
575  static const Protocol ICMP =
577  static const Protocol UDP =
579  static const Protocol SCTP =
581  static inline bool Protocol_IsValid(int value) {
582  return NetworkHeader_Protocol_IsValid(value);
583  }
584  static const Protocol Protocol_MIN =
586  static const Protocol Protocol_MAX =
588  static const int Protocol_ARRAYSIZE =
590  static inline const ::google::protobuf::EnumDescriptor*
593  }
594  static inline const ::std::string& Protocol_Name(Protocol value) {
595  return NetworkHeader_Protocol_Name(value);
596  }
597  static inline bool Protocol_Parse(const ::std::string& name,
598  Protocol* value) {
599  return NetworkHeader_Protocol_Parse(name, value);
600  }
601 
602  // accessors -------------------------------------------------------
603 
604  // required .goby.acomms.protobuf.NetworkHeader.UDPHeader udp = 20;
605  bool has_udp() const;
606  void clear_udp();
607  static const int kUdpFieldNumber = 20;
608  private:
609  const ::goby::acomms::protobuf::NetworkHeader_UDPHeader& _internal_udp() const;
610  public:
611  const ::goby::acomms::protobuf::NetworkHeader_UDPHeader& udp() const;
614  void set_allocated_udp(::goby::acomms::protobuf::NetworkHeader_UDPHeader* udp);
615 
616  // required uint32 srcdest_addr = 10 [(.dccl.field) = {
617  bool has_srcdest_addr() const;
618  void clear_srcdest_addr();
619  static const int kSrcdestAddrFieldNumber = 10;
620  ::google::protobuf::uint32 srcdest_addr() const;
621  void set_srcdest_addr(::google::protobuf::uint32 value);
622 
623  // required .goby.acomms.protobuf.NetworkHeader.Protocol protocol = 1;
624  bool has_protocol() const;
625  void clear_protocol();
626  static const int kProtocolFieldNumber = 1;
628  void set_protocol(::goby::acomms::protobuf::NetworkHeader_Protocol value);
629 
630  enum DCCLParameters { DCCL_ID = 61440, DCCL_MAX_BYTES = 8 };
631  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader)
632  private:
633  void set_has_protocol();
634  void clear_has_protocol();
635  void set_has_srcdest_addr();
636  void clear_has_srcdest_addr();
637  void set_has_udp();
638  void clear_has_udp();
639 
640  // helper for ByteSizeLong()
641  size_t RequiredFieldsByteSizeFallback() const;
642 
643  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
644  ::google::protobuf::internal::HasBits<1> _has_bits_;
645  mutable ::google::protobuf::internal::CachedSize _cached_size_;
647  ::google::protobuf::uint32 srcdest_addr_;
648  int protocol_;
649  friend struct ::protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct;
650 };
651 // -------------------------------------------------------------------
652 
653 class IPv4Header_FlagsFragOffset : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.IPv4Header.FlagsFragOffset) */ {
654  public:
656  virtual ~IPv4Header_FlagsFragOffset();
657 
659 
661  CopyFrom(from);
662  return *this;
663  }
664  #if LANG_CXX11
667  *this = ::std::move(from);
668  }
669 
670  inline IPv4Header_FlagsFragOffset& operator=(IPv4Header_FlagsFragOffset&& from) noexcept {
671  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
672  if (this != &from) InternalSwap(&from);
673  } else {
674  CopyFrom(from);
675  }
676  return *this;
677  }
678  #endif
679  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
680  return _internal_metadata_.unknown_fields();
681  }
682  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
683  return _internal_metadata_.mutable_unknown_fields();
684  }
685 
686  static const ::google::protobuf::Descriptor* descriptor();
688 
689  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
691  return reinterpret_cast<const IPv4Header_FlagsFragOffset*>(
693  }
694  static constexpr int kIndexInFileMessages =
695  4;
696 
697  void Swap(IPv4Header_FlagsFragOffset* other);
699  a.Swap(&b);
700  }
701 
702  // implements Message ----------------------------------------------
703 
704  inline IPv4Header_FlagsFragOffset* New() const final {
705  return CreateMaybeMessage<IPv4Header_FlagsFragOffset>(NULL);
706  }
707 
709  return CreateMaybeMessage<IPv4Header_FlagsFragOffset>(arena);
710  }
711  void CopyFrom(const ::google::protobuf::Message& from) final;
712  void MergeFrom(const ::google::protobuf::Message& from) final;
713  void CopyFrom(const IPv4Header_FlagsFragOffset& from);
714  void MergeFrom(const IPv4Header_FlagsFragOffset& from);
715  void Clear() final;
716  bool IsInitialized() const final;
717 
718  size_t ByteSizeLong() const final;
720  ::google::protobuf::io::CodedInputStream* input) final;
722  ::google::protobuf::io::CodedOutputStream* output) const final;
724  bool deterministic, ::google::protobuf::uint8* target) const final;
725  int GetCachedSize() const final { return _cached_size_.Get(); }
726 
727  private:
728  void SharedCtor();
729  void SharedDtor();
730  void SetCachedSize(int size) const final;
731  void InternalSwap(IPv4Header_FlagsFragOffset* other);
732  private:
733  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
734  return NULL;
735  }
736  inline void* MaybeArenaPtr() const {
737  return NULL;
738  }
739  public:
740 
742 
743  // nested types ----------------------------------------------------
744 
745  // accessors -------------------------------------------------------
746 
747  // required bool dont_fragment = 1;
748  bool has_dont_fragment() const;
749  void clear_dont_fragment();
750  static const int kDontFragmentFieldNumber = 1;
751  bool dont_fragment() const;
752  void set_dont_fragment(bool value);
753 
754  // required bool more_fragments = 2;
755  bool has_more_fragments() const;
756  void clear_more_fragments();
757  static const int kMoreFragmentsFieldNumber = 2;
758  bool more_fragments() const;
759  void set_more_fragments(bool value);
760 
761  // required uint32 fragment_offset = 3;
762  bool has_fragment_offset() const;
763  void clear_fragment_offset();
764  static const int kFragmentOffsetFieldNumber = 3;
765  ::google::protobuf::uint32 fragment_offset() const;
766  void set_fragment_offset(::google::protobuf::uint32 value);
767 
768  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPv4Header.FlagsFragOffset)
769  private:
770  void set_has_dont_fragment();
771  void clear_has_dont_fragment();
772  void set_has_more_fragments();
773  void clear_has_more_fragments();
774  void set_has_fragment_offset();
775  void clear_has_fragment_offset();
776 
777  // helper for ByteSizeLong()
778  size_t RequiredFieldsByteSizeFallback() const;
779 
780  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
781  ::google::protobuf::internal::HasBits<1> _has_bits_;
782  mutable ::google::protobuf::internal::CachedSize _cached_size_;
783  bool dont_fragment_;
784  bool more_fragments_;
785  ::google::protobuf::uint32 fragment_offset_;
787 };
788 // -------------------------------------------------------------------
789 
790 class IPv4Header : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.IPv4Header) */ {
791  public:
792  IPv4Header();
793  virtual ~IPv4Header();
794 
795  IPv4Header(const IPv4Header& from);
796 
797  inline IPv4Header& operator=(const IPv4Header& from) {
798  CopyFrom(from);
799  return *this;
800  }
801  #if LANG_CXX11
802  IPv4Header(IPv4Header&& from) noexcept
803  : IPv4Header() {
804  *this = ::std::move(from);
805  }
806 
807  inline IPv4Header& operator=(IPv4Header&& from) noexcept {
808  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
809  if (this != &from) InternalSwap(&from);
810  } else {
811  CopyFrom(from);
812  }
813  return *this;
814  }
815  #endif
816  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
817  return _internal_metadata_.unknown_fields();
818  }
819  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
820  return _internal_metadata_.mutable_unknown_fields();
821  }
822 
823  static const ::google::protobuf::Descriptor* descriptor();
824  static const IPv4Header& default_instance();
825 
826  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
827  static inline const IPv4Header* internal_default_instance() {
828  return reinterpret_cast<const IPv4Header*>(
830  }
831  static constexpr int kIndexInFileMessages =
832  5;
833 
834  void Swap(IPv4Header* other);
835  friend void swap(IPv4Header& a, IPv4Header& b) {
836  a.Swap(&b);
837  }
838 
839  // implements Message ----------------------------------------------
840 
841  inline IPv4Header* New() const final {
842  return CreateMaybeMessage<IPv4Header>(NULL);
843  }
844 
845  IPv4Header* New(::google::protobuf::Arena* arena) const final {
846  return CreateMaybeMessage<IPv4Header>(arena);
847  }
848  void CopyFrom(const ::google::protobuf::Message& from) final;
849  void MergeFrom(const ::google::protobuf::Message& from) final;
850  void CopyFrom(const IPv4Header& from);
851  void MergeFrom(const IPv4Header& from);
852  void Clear() final;
853  bool IsInitialized() const final;
854 
855  size_t ByteSizeLong() const final;
857  ::google::protobuf::io::CodedInputStream* input) final;
859  ::google::protobuf::io::CodedOutputStream* output) const final;
861  bool deterministic, ::google::protobuf::uint8* target) const final;
862  int GetCachedSize() const final { return _cached_size_.Get(); }
863 
864  private:
865  void SharedCtor();
866  void SharedDtor();
867  void SetCachedSize(int size) const final;
868  void InternalSwap(IPv4Header* other);
869  private:
870  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
871  return NULL;
872  }
873  inline void* MaybeArenaPtr() const {
874  return NULL;
875  }
876  public:
877 
879 
880  // nested types ----------------------------------------------------
881 
883 
884  // accessors -------------------------------------------------------
885 
886  // required string source_ip_address = 11 [(.dccl.field) = {
887  bool has_source_ip_address() const;
888  void clear_source_ip_address();
889  static const int kSourceIpAddressFieldNumber = 11;
890  const ::std::string& source_ip_address() const;
891  void set_source_ip_address(const ::std::string& value);
892  #if LANG_CXX11
893  void set_source_ip_address(::std::string&& value);
894  #endif
895  void set_source_ip_address(const char* value);
896  void set_source_ip_address(const char* value, size_t size);
897  ::std::string* mutable_source_ip_address();
898  ::std::string* release_source_ip_address();
899  void set_allocated_source_ip_address(::std::string* source_ip_address);
900 
901  // required string dest_ip_address = 12 [(.dccl.field) = {
902  bool has_dest_ip_address() const;
903  void clear_dest_ip_address();
904  static const int kDestIpAddressFieldNumber = 12;
905  const ::std::string& dest_ip_address() const;
906  void set_dest_ip_address(const ::std::string& value);
907  #if LANG_CXX11
908  void set_dest_ip_address(::std::string&& value);
909  #endif
910  void set_dest_ip_address(const char* value);
911  void set_dest_ip_address(const char* value, size_t size);
912  ::std::string* mutable_dest_ip_address();
913  ::std::string* release_dest_ip_address();
914  void set_allocated_dest_ip_address(::std::string* dest_ip_address);
915 
916  // required .goby.acomms.protobuf.IPv4Header.FlagsFragOffset flags_frag_offset = 7 [(.dccl.field) = {
917  bool has_flags_frag_offset() const;
918  void clear_flags_frag_offset();
919  static const int kFlagsFragOffsetFieldNumber = 7;
920  private:
921  const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset& _internal_flags_frag_offset() const;
922  public:
923  const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset& flags_frag_offset() const;
924  ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* release_flags_frag_offset();
925  ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* mutable_flags_frag_offset();
926  void set_allocated_flags_frag_offset(::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* flags_frag_offset);
927 
928  // required uint32 version = 1 [(.dccl.field) = {
929  bool has_version() const;
930  void clear_version();
931  static const int kVersionFieldNumber = 1;
932  ::google::protobuf::uint32 version() const;
933  void set_version(::google::protobuf::uint32 value);
934 
935  // required uint32 ihl = 2 [(.dccl.field) = {
936  bool has_ihl() const;
937  void clear_ihl();
938  static const int kIhlFieldNumber = 2;
939  ::google::protobuf::uint32 ihl() const;
940  void set_ihl(::google::protobuf::uint32 value);
941 
942  // required uint32 dscp = 3 [(.dccl.field) = {
943  bool has_dscp() const;
944  void clear_dscp();
945  static const int kDscpFieldNumber = 3;
946  ::google::protobuf::uint32 dscp() const;
947  void set_dscp(::google::protobuf::uint32 value);
948 
949  // required uint32 ecn = 4 [(.dccl.field) = {
950  bool has_ecn() const;
951  void clear_ecn();
952  static const int kEcnFieldNumber = 4;
953  ::google::protobuf::uint32 ecn() const;
954  void set_ecn(::google::protobuf::uint32 value);
955 
956  // required uint32 total_length = 5 [(.dccl.field) = {
957  bool has_total_length() const;
958  void clear_total_length();
959  static const int kTotalLengthFieldNumber = 5;
960  ::google::protobuf::uint32 total_length() const;
961  void set_total_length(::google::protobuf::uint32 value);
962 
963  // required uint32 identification = 6 [(.dccl.field) = {
964  bool has_identification() const;
965  void clear_identification();
966  static const int kIdentificationFieldNumber = 6;
967  ::google::protobuf::uint32 identification() const;
968  void set_identification(::google::protobuf::uint32 value);
969 
970  // required uint32 ttl = 8 [(.dccl.field) = {
971  bool has_ttl() const;
972  void clear_ttl();
973  static const int kTtlFieldNumber = 8;
974  ::google::protobuf::uint32 ttl() const;
975  void set_ttl(::google::protobuf::uint32 value);
976 
977  // required uint32 protocol = 9 [(.dccl.field) = {
978  bool has_protocol() const;
979  void clear_protocol();
980  static const int kProtocolFieldNumber = 9;
981  ::google::protobuf::uint32 protocol() const;
982  void set_protocol(::google::protobuf::uint32 value);
983 
984  // required uint32 header_checksum = 10 [(.dccl.field) = {
985  bool has_header_checksum() const;
986  void clear_header_checksum();
987  static const int kHeaderChecksumFieldNumber = 10;
988  ::google::protobuf::uint32 header_checksum() const;
989  void set_header_checksum(::google::protobuf::uint32 value);
990 
991  enum DCCLParameters { DCCL_ID = 61441, DCCL_MAX_BYTES = 60 };
992  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPv4Header)
993  private:
994  void set_has_ihl();
995  void clear_has_ihl();
996  void set_has_version();
997  void clear_has_version();
998  void set_has_ecn();
999  void clear_has_ecn();
1000  void set_has_dscp();
1001  void clear_has_dscp();
1002  void set_has_total_length();
1003  void clear_has_total_length();
1004  void set_has_identification();
1005  void clear_has_identification();
1006  void set_has_flags_frag_offset();
1007  void clear_has_flags_frag_offset();
1008  void set_has_ttl();
1009  void clear_has_ttl();
1010  void set_has_protocol();
1011  void clear_has_protocol();
1012  void set_has_header_checksum();
1013  void clear_has_header_checksum();
1014  void set_has_source_ip_address();
1015  void clear_has_source_ip_address();
1016  void set_has_dest_ip_address();
1017  void clear_has_dest_ip_address();
1018 
1019  // helper for ByteSizeLong()
1020  size_t RequiredFieldsByteSizeFallback() const;
1021 
1022  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1023  ::google::protobuf::internal::HasBits<1> _has_bits_;
1024  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1025  ::google::protobuf::internal::ArenaStringPtr source_ip_address_;
1026  ::google::protobuf::internal::ArenaStringPtr dest_ip_address_;
1028  ::google::protobuf::uint32 version_;
1032  ::google::protobuf::uint32 total_length_;
1033  ::google::protobuf::uint32 identification_;
1035  ::google::protobuf::uint32 protocol_;
1036  ::google::protobuf::uint32 header_checksum_;
1037  friend struct ::protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct;
1038 };
1039 // -------------------------------------------------------------------
1040 
1041 class UDPHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.UDPHeader) */ {
1042  public:
1043  UDPHeader();
1044  virtual ~UDPHeader();
1045 
1046  UDPHeader(const UDPHeader& from);
1047 
1048  inline UDPHeader& operator=(const UDPHeader& from) {
1049  CopyFrom(from);
1050  return *this;
1051  }
1052  #if LANG_CXX11
1053  UDPHeader(UDPHeader&& from) noexcept
1054  : UDPHeader() {
1055  *this = ::std::move(from);
1056  }
1057 
1058  inline UDPHeader& operator=(UDPHeader&& from) noexcept {
1059  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1060  if (this != &from) InternalSwap(&from);
1061  } else {
1062  CopyFrom(from);
1063  }
1064  return *this;
1065  }
1066  #endif
1067  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1068  return _internal_metadata_.unknown_fields();
1069  }
1070  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1071  return _internal_metadata_.mutable_unknown_fields();
1072  }
1073 
1074  static const ::google::protobuf::Descriptor* descriptor();
1075  static const UDPHeader& default_instance();
1076 
1077  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1078  static inline const UDPHeader* internal_default_instance() {
1079  return reinterpret_cast<const UDPHeader*>(
1081  }
1082  static constexpr int kIndexInFileMessages =
1083  6;
1084 
1085  void Swap(UDPHeader* other);
1086  friend void swap(UDPHeader& a, UDPHeader& b) {
1087  a.Swap(&b);
1088  }
1089 
1090  // implements Message ----------------------------------------------
1091 
1092  inline UDPHeader* New() const final {
1093  return CreateMaybeMessage<UDPHeader>(NULL);
1094  }
1095 
1096  UDPHeader* New(::google::protobuf::Arena* arena) const final {
1097  return CreateMaybeMessage<UDPHeader>(arena);
1098  }
1099  void CopyFrom(const ::google::protobuf::Message& from) final;
1100  void MergeFrom(const ::google::protobuf::Message& from) final;
1101  void CopyFrom(const UDPHeader& from);
1102  void MergeFrom(const UDPHeader& from);
1103  void Clear() final;
1104  bool IsInitialized() const final;
1105 
1106  size_t ByteSizeLong() const final;
1108  ::google::protobuf::io::CodedInputStream* input) final;
1110  ::google::protobuf::io::CodedOutputStream* output) const final;
1111  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1112  bool deterministic, ::google::protobuf::uint8* target) const final;
1113  int GetCachedSize() const final { return _cached_size_.Get(); }
1114 
1115  private:
1116  void SharedCtor();
1117  void SharedDtor();
1118  void SetCachedSize(int size) const final;
1119  void InternalSwap(UDPHeader* other);
1120  private:
1121  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1122  return NULL;
1123  }
1124  inline void* MaybeArenaPtr() const {
1125  return NULL;
1126  }
1127  public:
1128 
1130 
1131  // nested types ----------------------------------------------------
1132 
1133  // accessors -------------------------------------------------------
1134 
1135  // required uint32 source_port = 1 [(.dccl.field) = {
1136  bool has_source_port() const;
1137  void clear_source_port();
1138  static const int kSourcePortFieldNumber = 1;
1139  ::google::protobuf::uint32 source_port() const;
1140  void set_source_port(::google::protobuf::uint32 value);
1141 
1142  // required uint32 dest_port = 2 [(.dccl.field) = {
1143  bool has_dest_port() const;
1144  void clear_dest_port();
1145  static const int kDestPortFieldNumber = 2;
1146  ::google::protobuf::uint32 dest_port() const;
1147  void set_dest_port(::google::protobuf::uint32 value);
1148 
1149  // required uint32 length = 3 [(.dccl.field) = {
1150  bool has_length() const;
1151  void clear_length();
1152  static const int kLengthFieldNumber = 3;
1153  ::google::protobuf::uint32 length() const;
1154  void set_length(::google::protobuf::uint32 value);
1155 
1156  // required uint32 checksum = 4 [(.dccl.field) = {
1157  bool has_checksum() const;
1158  void clear_checksum();
1159  static const int kChecksumFieldNumber = 4;
1160  ::google::protobuf::uint32 checksum() const;
1161  void set_checksum(::google::protobuf::uint32 value);
1162 
1163  enum DCCLParameters { DCCL_ID = 61442, DCCL_MAX_BYTES = 8 };
1164  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.UDPHeader)
1165  private:
1166  void set_has_source_port();
1167  void clear_has_source_port();
1168  void set_has_dest_port();
1169  void clear_has_dest_port();
1170  void set_has_length();
1171  void clear_has_length();
1172  void set_has_checksum();
1173  void clear_has_checksum();
1174 
1175  // helper for ByteSizeLong()
1176  size_t RequiredFieldsByteSizeFallback() const;
1177 
1178  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1179  ::google::protobuf::internal::HasBits<1> _has_bits_;
1180  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1181  ::google::protobuf::uint32 source_port_;
1182  ::google::protobuf::uint32 dest_port_;
1184  ::google::protobuf::uint32 checksum_;
1185  friend struct ::protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct;
1186 };
1187 // -------------------------------------------------------------------
1188 
1189 class ICMPHeader : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.ICMPHeader) */ {
1190  public:
1191  ICMPHeader();
1192  virtual ~ICMPHeader();
1193 
1194  ICMPHeader(const ICMPHeader& from);
1195 
1196  inline ICMPHeader& operator=(const ICMPHeader& from) {
1197  CopyFrom(from);
1198  return *this;
1199  }
1200  #if LANG_CXX11
1201  ICMPHeader(ICMPHeader&& from) noexcept
1202  : ICMPHeader() {
1203  *this = ::std::move(from);
1204  }
1205 
1206  inline ICMPHeader& operator=(ICMPHeader&& from) noexcept {
1207  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1208  if (this != &from) InternalSwap(&from);
1209  } else {
1210  CopyFrom(from);
1211  }
1212  return *this;
1213  }
1214  #endif
1215  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1216  return _internal_metadata_.unknown_fields();
1217  }
1218  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1219  return _internal_metadata_.mutable_unknown_fields();
1220  }
1221 
1222  static const ::google::protobuf::Descriptor* descriptor();
1223  static const ICMPHeader& default_instance();
1224 
1225  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1226  static inline const ICMPHeader* internal_default_instance() {
1227  return reinterpret_cast<const ICMPHeader*>(
1229  }
1230  static constexpr int kIndexInFileMessages =
1231  7;
1232 
1233  void Swap(ICMPHeader* other);
1234  friend void swap(ICMPHeader& a, ICMPHeader& b) {
1235  a.Swap(&b);
1236  }
1237 
1238  // implements Message ----------------------------------------------
1239 
1240  inline ICMPHeader* New() const final {
1241  return CreateMaybeMessage<ICMPHeader>(NULL);
1242  }
1243 
1244  ICMPHeader* New(::google::protobuf::Arena* arena) const final {
1245  return CreateMaybeMessage<ICMPHeader>(arena);
1246  }
1247  void CopyFrom(const ::google::protobuf::Message& from) final;
1248  void MergeFrom(const ::google::protobuf::Message& from) final;
1249  void CopyFrom(const ICMPHeader& from);
1250  void MergeFrom(const ICMPHeader& from);
1251  void Clear() final;
1252  bool IsInitialized() const final;
1253 
1254  size_t ByteSizeLong() const final;
1256  ::google::protobuf::io::CodedInputStream* input) final;
1258  ::google::protobuf::io::CodedOutputStream* output) const final;
1259  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1260  bool deterministic, ::google::protobuf::uint8* target) const final;
1261  int GetCachedSize() const final { return _cached_size_.Get(); }
1262 
1263  private:
1264  void SharedCtor();
1265  void SharedDtor();
1266  void SetCachedSize(int size) const final;
1267  void InternalSwap(ICMPHeader* other);
1268  private:
1269  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1270  return NULL;
1271  }
1272  inline void* MaybeArenaPtr() const {
1273  return NULL;
1274  }
1275  public:
1276 
1278 
1279  // nested types ----------------------------------------------------
1280 
1281  // accessors -------------------------------------------------------
1282 
1283  // required uint32 type = 1 [(.dccl.field) = {
1284  bool has_type() const;
1285  void clear_type();
1286  static const int kTypeFieldNumber = 1;
1287  ::google::protobuf::uint32 type() const;
1288  void set_type(::google::protobuf::uint32 value);
1289 
1290  // required uint32 code = 2 [(.dccl.field) = {
1291  bool has_code() const;
1292  void clear_code();
1293  static const int kCodeFieldNumber = 2;
1294  ::google::protobuf::uint32 code() const;
1295  void set_code(::google::protobuf::uint32 value);
1296 
1297  // required uint32 checksum = 3 [(.dccl.field) = {
1298  bool has_checksum() const;
1299  void clear_checksum();
1300  static const int kChecksumFieldNumber = 3;
1301  ::google::protobuf::uint32 checksum() const;
1302  void set_checksum(::google::protobuf::uint32 value);
1303 
1304  // required uint32 short1 = 4 [(.dccl.field) = {
1305  bool has_short1() const;
1306  void clear_short1();
1307  static const int kShort1FieldNumber = 4;
1308  ::google::protobuf::uint32 short1() const;
1309  void set_short1(::google::protobuf::uint32 value);
1310 
1311  // required uint32 short2 = 5 [(.dccl.field) = {
1312  bool has_short2() const;
1313  void clear_short2();
1314  static const int kShort2FieldNumber = 5;
1315  ::google::protobuf::uint32 short2() const;
1316  void set_short2(::google::protobuf::uint32 value);
1317 
1318  enum DCCLParameters { DCCL_ID = 61443, DCCL_MAX_BYTES = 8 };
1319  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.ICMPHeader)
1320  private:
1321  void set_has_type();
1322  void clear_has_type();
1323  void set_has_code();
1324  void clear_has_code();
1325  void set_has_checksum();
1326  void clear_has_checksum();
1327  void set_has_short1();
1328  void clear_has_short1();
1329  void set_has_short2();
1330  void clear_has_short2();
1331 
1332  // helper for ByteSizeLong()
1333  size_t RequiredFieldsByteSizeFallback() const;
1334 
1335  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1336  ::google::protobuf::internal::HasBits<1> _has_bits_;
1337  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1340  ::google::protobuf::uint32 checksum_;
1343  friend struct ::protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct;
1344 };
1345 // -------------------------------------------------------------------
1346 
1347 class IPGatewayICMPControl_QueueReport_SubQueue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue) */ {
1348  public:
1351 
1353 
1355  CopyFrom(from);
1356  return *this;
1357  }
1358  #if LANG_CXX11
1361  *this = ::std::move(from);
1362  }
1363 
1364  inline IPGatewayICMPControl_QueueReport_SubQueue& operator=(IPGatewayICMPControl_QueueReport_SubQueue&& from) noexcept {
1365  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1366  if (this != &from) InternalSwap(&from);
1367  } else {
1368  CopyFrom(from);
1369  }
1370  return *this;
1371  }
1372  #endif
1373  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1374  return _internal_metadata_.unknown_fields();
1375  }
1376  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1377  return _internal_metadata_.mutable_unknown_fields();
1378  }
1379 
1380  static const ::google::protobuf::Descriptor* descriptor();
1382 
1383  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1385  return reinterpret_cast<const IPGatewayICMPControl_QueueReport_SubQueue*>(
1387  }
1388  static constexpr int kIndexInFileMessages =
1389  8;
1390 
1393  a.Swap(&b);
1394  }
1395 
1396  // implements Message ----------------------------------------------
1397 
1399  return CreateMaybeMessage<IPGatewayICMPControl_QueueReport_SubQueue>(NULL);
1400  }
1401 
1403  return CreateMaybeMessage<IPGatewayICMPControl_QueueReport_SubQueue>(arena);
1404  }
1405  void CopyFrom(const ::google::protobuf::Message& from) final;
1406  void MergeFrom(const ::google::protobuf::Message& from) final;
1409  void Clear() final;
1410  bool IsInitialized() const final;
1411 
1412  size_t ByteSizeLong() const final;
1414  ::google::protobuf::io::CodedInputStream* input) final;
1416  ::google::protobuf::io::CodedOutputStream* output) const final;
1417  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1418  bool deterministic, ::google::protobuf::uint8* target) const final;
1419  int GetCachedSize() const final { return _cached_size_.Get(); }
1420 
1421  private:
1422  void SharedCtor();
1423  void SharedDtor();
1424  void SetCachedSize(int size) const final;
1425  void InternalSwap(IPGatewayICMPControl_QueueReport_SubQueue* other);
1426  private:
1427  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1428  return NULL;
1429  }
1430  inline void* MaybeArenaPtr() const {
1431  return NULL;
1432  }
1433  public:
1434 
1436 
1437  // nested types ----------------------------------------------------
1438 
1439  // accessors -------------------------------------------------------
1440 
1441  // required int32 dest = 1;
1442  bool has_dest() const;
1443  void clear_dest();
1444  static const int kDestFieldNumber = 1;
1445  ::google::protobuf::int32 dest() const;
1446  void set_dest(::google::protobuf::int32 value);
1447 
1448  // required int32 size = 2;
1449  bool has_size() const;
1450  void clear_size();
1451  static const int kSizeFieldNumber = 2;
1452  ::google::protobuf::int32 size() const;
1453  void set_size(::google::protobuf::int32 value);
1454 
1455  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue)
1456  private:
1457  void set_has_dest();
1458  void clear_has_dest();
1459  void set_has_size();
1460  void clear_has_size();
1461 
1462  // helper for ByteSizeLong()
1463  size_t RequiredFieldsByteSizeFallback() const;
1464 
1465  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1466  ::google::protobuf::internal::HasBits<1> _has_bits_;
1467  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1468  ::google::protobuf::int32 dest_;
1469  ::google::protobuf::int32 size_;
1471 };
1472 // -------------------------------------------------------------------
1473 
1474 class IPGatewayICMPControl_QueueReport : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport) */ {
1475  public:
1478 
1480 
1482  CopyFrom(from);
1483  return *this;
1484  }
1485  #if LANG_CXX11
1488  *this = ::std::move(from);
1489  }
1490 
1491  inline IPGatewayICMPControl_QueueReport& operator=(IPGatewayICMPControl_QueueReport&& from) noexcept {
1492  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1493  if (this != &from) InternalSwap(&from);
1494  } else {
1495  CopyFrom(from);
1496  }
1497  return *this;
1498  }
1499  #endif
1500  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1501  return _internal_metadata_.unknown_fields();
1502  }
1503  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1504  return _internal_metadata_.mutable_unknown_fields();
1505  }
1506 
1507  static const ::google::protobuf::Descriptor* descriptor();
1509 
1510  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1512  return reinterpret_cast<const IPGatewayICMPControl_QueueReport*>(
1514  }
1515  static constexpr int kIndexInFileMessages =
1516  9;
1517 
1520  a.Swap(&b);
1521  }
1522 
1523  // implements Message ----------------------------------------------
1524 
1525  inline IPGatewayICMPControl_QueueReport* New() const final {
1526  return CreateMaybeMessage<IPGatewayICMPControl_QueueReport>(NULL);
1527  }
1528 
1530  return CreateMaybeMessage<IPGatewayICMPControl_QueueReport>(arena);
1531  }
1532  void CopyFrom(const ::google::protobuf::Message& from) final;
1533  void MergeFrom(const ::google::protobuf::Message& from) final;
1534  void CopyFrom(const IPGatewayICMPControl_QueueReport& from);
1535  void MergeFrom(const IPGatewayICMPControl_QueueReport& from);
1536  void Clear() final;
1537  bool IsInitialized() const final;
1538 
1539  size_t ByteSizeLong() const final;
1541  ::google::protobuf::io::CodedInputStream* input) final;
1543  ::google::protobuf::io::CodedOutputStream* output) const final;
1544  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1545  bool deterministic, ::google::protobuf::uint8* target) const final;
1546  int GetCachedSize() const final { return _cached_size_.Get(); }
1547 
1548  private:
1549  void SharedCtor();
1550  void SharedDtor();
1551  void SetCachedSize(int size) const final;
1552  void InternalSwap(IPGatewayICMPControl_QueueReport* other);
1553  private:
1554  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1555  return NULL;
1556  }
1557  inline void* MaybeArenaPtr() const {
1558  return NULL;
1559  }
1560  public:
1561 
1563 
1564  // nested types ----------------------------------------------------
1565 
1567 
1568  // accessors -------------------------------------------------------
1569 
1570  // repeated .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue queue = 1;
1571  int queue_size() const;
1572  void clear_queue();
1573  static const int kQueueFieldNumber = 1;
1574  ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* mutable_queue(int index);
1575  ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >*
1576  mutable_queue();
1577  const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue& queue(int index) const;
1578  ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* add_queue();
1579  const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >&
1580  queue() const;
1581 
1582  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport)
1583  private:
1584 
1585  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1586  ::google::protobuf::internal::HasBits<1> _has_bits_;
1587  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1588  ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue > queue_;
1590 };
1591 // -------------------------------------------------------------------
1592 
1593 class IPGatewayICMPControl : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.IPGatewayICMPControl) */ {
1594  public:
1596  virtual ~IPGatewayICMPControl();
1597 
1599 
1601  CopyFrom(from);
1602  return *this;
1603  }
1604  #if LANG_CXX11
1606  : IPGatewayICMPControl() {
1607  *this = ::std::move(from);
1608  }
1609 
1610  inline IPGatewayICMPControl& operator=(IPGatewayICMPControl&& from) noexcept {
1611  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1612  if (this != &from) InternalSwap(&from);
1613  } else {
1614  CopyFrom(from);
1615  }
1616  return *this;
1617  }
1618  #endif
1619  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1620  return _internal_metadata_.unknown_fields();
1621  }
1622  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1623  return _internal_metadata_.mutable_unknown_fields();
1624  }
1625 
1626  static const ::google::protobuf::Descriptor* descriptor();
1627  static const IPGatewayICMPControl& default_instance();
1628 
1629  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1631  return reinterpret_cast<const IPGatewayICMPControl*>(
1633  }
1634  static constexpr int kIndexInFileMessages =
1635  10;
1636 
1637  void Swap(IPGatewayICMPControl* other);
1639  a.Swap(&b);
1640  }
1641 
1642  // implements Message ----------------------------------------------
1643 
1644  inline IPGatewayICMPControl* New() const final {
1645  return CreateMaybeMessage<IPGatewayICMPControl>(NULL);
1646  }
1647 
1649  return CreateMaybeMessage<IPGatewayICMPControl>(arena);
1650  }
1651  void CopyFrom(const ::google::protobuf::Message& from) final;
1652  void MergeFrom(const ::google::protobuf::Message& from) final;
1653  void CopyFrom(const IPGatewayICMPControl& from);
1654  void MergeFrom(const IPGatewayICMPControl& from);
1655  void Clear() final;
1656  bool IsInitialized() const final;
1657 
1658  size_t ByteSizeLong() const final;
1660  ::google::protobuf::io::CodedInputStream* input) final;
1662  ::google::protobuf::io::CodedOutputStream* output) const final;
1663  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1664  bool deterministic, ::google::protobuf::uint8* target) const final;
1665  int GetCachedSize() const final { return _cached_size_.Get(); }
1666 
1667  private:
1668  void SharedCtor();
1669  void SharedDtor();
1670  void SetCachedSize(int size) const final;
1671  void InternalSwap(IPGatewayICMPControl* other);
1672  private:
1673  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1674  return NULL;
1675  }
1676  inline void* MaybeArenaPtr() const {
1677  return NULL;
1678  }
1679  public:
1680 
1682 
1683  // nested types ----------------------------------------------------
1684 
1686 
1688  static const MessageType QUEUE_REPORT =
1690  static inline bool MessageType_IsValid(int value) {
1692  }
1693  static const MessageType MessageType_MIN =
1695  static const MessageType MessageType_MAX =
1697  static const int MessageType_ARRAYSIZE =
1699  static inline const ::google::protobuf::EnumDescriptor*
1702  }
1703  static inline const ::std::string& MessageType_Name(MessageType value) {
1705  }
1706  static inline bool MessageType_Parse(const ::std::string& name,
1707  MessageType* value) {
1708  return IPGatewayICMPControl_MessageType_Parse(name, value);
1709  }
1710 
1711  // accessors -------------------------------------------------------
1712 
1713  // required string address = 2;
1714  bool has_address() const;
1715  void clear_address();
1716  static const int kAddressFieldNumber = 2;
1717  const ::std::string& address() const;
1718  void set_address(const ::std::string& value);
1719  #if LANG_CXX11
1720  void set_address(::std::string&& value);
1721  #endif
1722  void set_address(const char* value);
1723  void set_address(const char* value, size_t size);
1724  ::std::string* mutable_address();
1725  ::std::string* release_address();
1726  void set_allocated_address(::std::string* address);
1727 
1728  // optional .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport queue_report = 3;
1729  bool has_queue_report() const;
1730  void clear_queue_report();
1731  static const int kQueueReportFieldNumber = 3;
1732  private:
1733  const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport& _internal_queue_report() const;
1734  public:
1735  const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport& queue_report() const;
1738  void set_allocated_queue_report(::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* queue_report);
1739 
1740  // required .goby.acomms.protobuf.IPGatewayICMPControl.MessageType type = 1;
1741  bool has_type() const;
1742  void clear_type();
1743  static const int kTypeFieldNumber = 1;
1746 
1747  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPGatewayICMPControl)
1748  private:
1749  void set_has_type();
1750  void clear_has_type();
1751  void set_has_address();
1752  void clear_has_address();
1753  void set_has_queue_report();
1754  void clear_has_queue_report();
1755 
1756  // helper for ByteSizeLong()
1757  size_t RequiredFieldsByteSizeFallback() const;
1758 
1759  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1760  ::google::protobuf::internal::HasBits<1> _has_bits_;
1761  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1762  ::google::protobuf::internal::ArenaStringPtr address_;
1764  int type_;
1765  friend struct ::protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct;
1766 };
1767 // ===================================================================
1768 
1769 
1770 // ===================================================================
1771 
1772 #ifdef __GNUC__
1773  #pragma GCC diagnostic push
1774  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1775 #endif // __GNUC__
1776 // NetworkHeader_UDPHeader
1777 
1778 // repeated uint32 srcdest_port = 1 [(.dccl.field) = {
1780  return srcdest_port_.size();
1781 }
1783  srcdest_port_.Clear();
1784 }
1786  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1787  return srcdest_port_.Get(index);
1788 }
1790  srcdest_port_.Set(index, value);
1791  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1792 }
1794  srcdest_port_.Add(value);
1795  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1796 }
1797 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1799  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1800  return srcdest_port_;
1801 }
1802 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1804  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1805  return &srcdest_port_;
1806 }
1807 
1808 // -------------------------------------------------------------------
1809 
1810 // NetworkHeader_ICMPHeader
1811 
1812 // -------------------------------------------------------------------
1813 
1814 // NetworkHeader_SCTPHeader
1815 
1816 // -------------------------------------------------------------------
1817 
1818 // NetworkHeader
1819 
1820 // required .goby.acomms.protobuf.NetworkHeader.Protocol protocol = 1;
1821 inline bool NetworkHeader::has_protocol() const {
1822  return (_has_bits_[0] & 0x00000004u) != 0;
1823 }
1824 inline void NetworkHeader::set_has_protocol() {
1825  _has_bits_[0] |= 0x00000004u;
1826 }
1827 inline void NetworkHeader::clear_has_protocol() {
1828  _has_bits_[0] &= ~0x00000004u;
1829 }
1831  protocol_ = 1;
1832  clear_has_protocol();
1833 }
1835  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.protocol)
1836  return static_cast< ::goby::acomms::protobuf::NetworkHeader_Protocol >(protocol_);
1837 }
1840  set_has_protocol();
1841  protocol_ = value;
1842  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.NetworkHeader.protocol)
1843 }
1844 
1845 // required uint32 srcdest_addr = 10 [(.dccl.field) = {
1846 inline bool NetworkHeader::has_srcdest_addr() const {
1847  return (_has_bits_[0] & 0x00000002u) != 0;
1848 }
1849 inline void NetworkHeader::set_has_srcdest_addr() {
1850  _has_bits_[0] |= 0x00000002u;
1851 }
1852 inline void NetworkHeader::clear_has_srcdest_addr() {
1853  _has_bits_[0] &= ~0x00000002u;
1854 }
1856  srcdest_addr_ = 0u;
1857  clear_has_srcdest_addr();
1858 }
1860  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.srcdest_addr)
1861  return srcdest_addr_;
1862 }
1864  set_has_srcdest_addr();
1865  srcdest_addr_ = value;
1866  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.NetworkHeader.srcdest_addr)
1867 }
1868 
1869 // required .goby.acomms.protobuf.NetworkHeader.UDPHeader udp = 20;
1870 inline bool NetworkHeader::has_udp() const {
1871  return (_has_bits_[0] & 0x00000001u) != 0;
1872 }
1873 inline void NetworkHeader::set_has_udp() {
1874  _has_bits_[0] |= 0x00000001u;
1875 }
1876 inline void NetworkHeader::clear_has_udp() {
1877  _has_bits_[0] &= ~0x00000001u;
1878 }
1880  if (udp_ != NULL) udp_->Clear();
1881  clear_has_udp();
1882 }
1883 inline const ::goby::acomms::protobuf::NetworkHeader_UDPHeader& NetworkHeader::_internal_udp() const {
1884  return *udp_;
1885 }
1886 inline const ::goby::acomms::protobuf::NetworkHeader_UDPHeader& NetworkHeader::udp() const {
1887  const ::goby::acomms::protobuf::NetworkHeader_UDPHeader* p = udp_;
1888  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.udp)
1889  return p != NULL ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::NetworkHeader_UDPHeader*>(
1891 }
1892 inline ::goby::acomms::protobuf::NetworkHeader_UDPHeader* NetworkHeader::release_udp() {
1893  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.NetworkHeader.udp)
1894  clear_has_udp();
1896  udp_ = NULL;
1897  return temp;
1898 }
1899 inline ::goby::acomms::protobuf::NetworkHeader_UDPHeader* NetworkHeader::mutable_udp() {
1900  set_has_udp();
1901  if (udp_ == NULL) {
1902  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::NetworkHeader_UDPHeader>(GetArenaNoVirtual());
1903  udp_ = p;
1904  }
1905  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.NetworkHeader.udp)
1906  return udp_;
1907 }
1909  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1910  if (message_arena == NULL) {
1911  delete udp_;
1912  }
1913  if (udp) {
1914  ::google::protobuf::Arena* submessage_arena = NULL;
1915  if (message_arena != submessage_arena) {
1916  udp = ::google::protobuf::internal::GetOwnedMessage(
1917  message_arena, udp, submessage_arena);
1918  }
1919  set_has_udp();
1920  } else {
1921  clear_has_udp();
1922  }
1923  udp_ = udp;
1924  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.NetworkHeader.udp)
1925 }
1926 
1927 // -------------------------------------------------------------------
1928 
1929 // IPv4Header_FlagsFragOffset
1930 
1931 // required bool dont_fragment = 1;
1933  return (_has_bits_[0] & 0x00000001u) != 0;
1934 }
1935 inline void IPv4Header_FlagsFragOffset::set_has_dont_fragment() {
1936  _has_bits_[0] |= 0x00000001u;
1937 }
1938 inline void IPv4Header_FlagsFragOffset::clear_has_dont_fragment() {
1939  _has_bits_[0] &= ~0x00000001u;
1940 }
1942  dont_fragment_ = false;
1943  clear_has_dont_fragment();
1944 }
1946  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.dont_fragment)
1947  return dont_fragment_;
1948 }
1950  set_has_dont_fragment();
1951  dont_fragment_ = value;
1952  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.dont_fragment)
1953 }
1954 
1955 // required bool more_fragments = 2;
1957  return (_has_bits_[0] & 0x00000002u) != 0;
1958 }
1959 inline void IPv4Header_FlagsFragOffset::set_has_more_fragments() {
1960  _has_bits_[0] |= 0x00000002u;
1961 }
1962 inline void IPv4Header_FlagsFragOffset::clear_has_more_fragments() {
1963  _has_bits_[0] &= ~0x00000002u;
1964 }
1966  more_fragments_ = false;
1967  clear_has_more_fragments();
1968 }
1970  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.more_fragments)
1971  return more_fragments_;
1972 }
1974  set_has_more_fragments();
1975  more_fragments_ = value;
1976  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.more_fragments)
1977 }
1978 
1979 // required uint32 fragment_offset = 3;
1981  return (_has_bits_[0] & 0x00000004u) != 0;
1982 }
1983 inline void IPv4Header_FlagsFragOffset::set_has_fragment_offset() {
1984  _has_bits_[0] |= 0x00000004u;
1985 }
1986 inline void IPv4Header_FlagsFragOffset::clear_has_fragment_offset() {
1987  _has_bits_[0] &= ~0x00000004u;
1988 }
1990  fragment_offset_ = 0u;
1991  clear_has_fragment_offset();
1992 }
1994  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.fragment_offset)
1995  return fragment_offset_;
1996 }
1998  set_has_fragment_offset();
1999  fragment_offset_ = value;
2000  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.fragment_offset)
2001 }
2002 
2003 // -------------------------------------------------------------------
2004 
2005 // IPv4Header
2006 
2007 // required uint32 ihl = 2 [(.dccl.field) = {
2008 inline bool IPv4Header::has_ihl() const {
2009  return (_has_bits_[0] & 0x00000010u) != 0;
2010 }
2011 inline void IPv4Header::set_has_ihl() {
2012  _has_bits_[0] |= 0x00000010u;
2013 }
2014 inline void IPv4Header::clear_has_ihl() {
2015  _has_bits_[0] &= ~0x00000010u;
2016 }
2017 inline void IPv4Header::clear_ihl() {
2018  ihl_ = 0u;
2019  clear_has_ihl();
2020 }
2022  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.ihl)
2023  return ihl_;
2024 }
2026  set_has_ihl();
2027  ihl_ = value;
2028  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.ihl)
2029 }
2030 
2031 // required uint32 version = 1 [(.dccl.field) = {
2032 inline bool IPv4Header::has_version() const {
2033  return (_has_bits_[0] & 0x00000008u) != 0;
2034 }
2035 inline void IPv4Header::set_has_version() {
2036  _has_bits_[0] |= 0x00000008u;
2037 }
2038 inline void IPv4Header::clear_has_version() {
2039  _has_bits_[0] &= ~0x00000008u;
2040 }
2042  version_ = 0u;
2043  clear_has_version();
2044 }
2046  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.version)
2047  return version_;
2048 }
2050  set_has_version();
2051  version_ = value;
2052  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.version)
2053 }
2054 
2055 // required uint32 ecn = 4 [(.dccl.field) = {
2056 inline bool IPv4Header::has_ecn() const {
2057  return (_has_bits_[0] & 0x00000040u) != 0;
2058 }
2059 inline void IPv4Header::set_has_ecn() {
2060  _has_bits_[0] |= 0x00000040u;
2061 }
2062 inline void IPv4Header::clear_has_ecn() {
2063  _has_bits_[0] &= ~0x00000040u;
2064 }
2065 inline void IPv4Header::clear_ecn() {
2066  ecn_ = 0u;
2067  clear_has_ecn();
2068 }
2070  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.ecn)
2071  return ecn_;
2072 }
2074  set_has_ecn();
2075  ecn_ = value;
2076  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.ecn)
2077 }
2078 
2079 // required uint32 dscp = 3 [(.dccl.field) = {
2080 inline bool IPv4Header::has_dscp() const {
2081  return (_has_bits_[0] & 0x00000020u) != 0;
2082 }
2083 inline void IPv4Header::set_has_dscp() {
2084  _has_bits_[0] |= 0x00000020u;
2085 }
2086 inline void IPv4Header::clear_has_dscp() {
2087  _has_bits_[0] &= ~0x00000020u;
2088 }
2089 inline void IPv4Header::clear_dscp() {
2090  dscp_ = 0u;
2091  clear_has_dscp();
2092 }
2094  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.dscp)
2095  return dscp_;
2096 }
2098  set_has_dscp();
2099  dscp_ = value;
2100  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.dscp)
2101 }
2102 
2103 // required uint32 total_length = 5 [(.dccl.field) = {
2104 inline bool IPv4Header::has_total_length() const {
2105  return (_has_bits_[0] & 0x00000080u) != 0;
2106 }
2107 inline void IPv4Header::set_has_total_length() {
2108  _has_bits_[0] |= 0x00000080u;
2109 }
2110 inline void IPv4Header::clear_has_total_length() {
2111  _has_bits_[0] &= ~0x00000080u;
2112 }
2114  total_length_ = 0u;
2115  clear_has_total_length();
2116 }
2118  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.total_length)
2119  return total_length_;
2120 }
2122  set_has_total_length();
2123  total_length_ = value;
2124  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.total_length)
2125 }
2126 
2127 // required uint32 identification = 6 [(.dccl.field) = {
2128 inline bool IPv4Header::has_identification() const {
2129  return (_has_bits_[0] & 0x00000100u) != 0;
2130 }
2131 inline void IPv4Header::set_has_identification() {
2132  _has_bits_[0] |= 0x00000100u;
2133 }
2134 inline void IPv4Header::clear_has_identification() {
2135  _has_bits_[0] &= ~0x00000100u;
2136 }
2138  identification_ = 0u;
2139  clear_has_identification();
2140 }
2142  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.identification)
2143  return identification_;
2144 }
2146  set_has_identification();
2147  identification_ = value;
2148  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.identification)
2149 }
2150 
2151 // required .goby.acomms.protobuf.IPv4Header.FlagsFragOffset flags_frag_offset = 7 [(.dccl.field) = {
2153  return (_has_bits_[0] & 0x00000004u) != 0;
2154 }
2155 inline void IPv4Header::set_has_flags_frag_offset() {
2156  _has_bits_[0] |= 0x00000004u;
2157 }
2158 inline void IPv4Header::clear_has_flags_frag_offset() {
2159  _has_bits_[0] &= ~0x00000004u;
2160 }
2162  if (flags_frag_offset_ != NULL) flags_frag_offset_->Clear();
2163  clear_has_flags_frag_offset();
2164 }
2165 inline const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset& IPv4Header::_internal_flags_frag_offset() const {
2166  return *flags_frag_offset_;
2167 }
2168 inline const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset& IPv4Header::flags_frag_offset() const {
2169  const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* p = flags_frag_offset_;
2170  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.flags_frag_offset)
2171  return p != NULL ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset*>(
2173 }
2174 inline ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* IPv4Header::release_flags_frag_offset() {
2175  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.IPv4Header.flags_frag_offset)
2176  clear_has_flags_frag_offset();
2177  ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* temp = flags_frag_offset_;
2178  flags_frag_offset_ = NULL;
2179  return temp;
2180 }
2181 inline ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* IPv4Header::mutable_flags_frag_offset() {
2182  set_has_flags_frag_offset();
2183  if (flags_frag_offset_ == NULL) {
2184  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::IPv4Header_FlagsFragOffset>(GetArenaNoVirtual());
2185  flags_frag_offset_ = p;
2186  }
2187  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPv4Header.flags_frag_offset)
2188  return flags_frag_offset_;
2189 }
2191  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2192  if (message_arena == NULL) {
2193  delete flags_frag_offset_;
2194  }
2195  if (flags_frag_offset) {
2196  ::google::protobuf::Arena* submessage_arena = NULL;
2197  if (message_arena != submessage_arena) {
2198  flags_frag_offset = ::google::protobuf::internal::GetOwnedMessage(
2199  message_arena, flags_frag_offset, submessage_arena);
2200  }
2201  set_has_flags_frag_offset();
2202  } else {
2203  clear_has_flags_frag_offset();
2204  }
2205  flags_frag_offset_ = flags_frag_offset;
2206  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPv4Header.flags_frag_offset)
2207 }
2208 
2209 // required uint32 ttl = 8 [(.dccl.field) = {
2210 inline bool IPv4Header::has_ttl() const {
2211  return (_has_bits_[0] & 0x00000200u) != 0;
2212 }
2213 inline void IPv4Header::set_has_ttl() {
2214  _has_bits_[0] |= 0x00000200u;
2215 }
2216 inline void IPv4Header::clear_has_ttl() {
2217  _has_bits_[0] &= ~0x00000200u;
2218 }
2219 inline void IPv4Header::clear_ttl() {
2220  ttl_ = 0u;
2221  clear_has_ttl();
2222 }
2224  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.ttl)
2225  return ttl_;
2226 }
2228  set_has_ttl();
2229  ttl_ = value;
2230  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.ttl)
2231 }
2232 
2233 // required uint32 protocol = 9 [(.dccl.field) = {
2234 inline bool IPv4Header::has_protocol() const {
2235  return (_has_bits_[0] & 0x00000400u) != 0;
2236 }
2237 inline void IPv4Header::set_has_protocol() {
2238  _has_bits_[0] |= 0x00000400u;
2239 }
2240 inline void IPv4Header::clear_has_protocol() {
2241  _has_bits_[0] &= ~0x00000400u;
2242 }
2244  protocol_ = 0u;
2245  clear_has_protocol();
2246 }
2248  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.protocol)
2249  return protocol_;
2250 }
2252  set_has_protocol();
2253  protocol_ = value;
2254  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.protocol)
2255 }
2256 
2257 // required uint32 header_checksum = 10 [(.dccl.field) = {
2258 inline bool IPv4Header::has_header_checksum() const {
2259  return (_has_bits_[0] & 0x00000800u) != 0;
2260 }
2261 inline void IPv4Header::set_has_header_checksum() {
2262  _has_bits_[0] |= 0x00000800u;
2263 }
2264 inline void IPv4Header::clear_has_header_checksum() {
2265  _has_bits_[0] &= ~0x00000800u;
2266 }
2268  header_checksum_ = 0u;
2269  clear_has_header_checksum();
2270 }
2272  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.header_checksum)
2273  return header_checksum_;
2274 }
2276  set_has_header_checksum();
2277  header_checksum_ = value;
2278  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.header_checksum)
2279 }
2280 
2281 // required string source_ip_address = 11 [(.dccl.field) = {
2283  return (_has_bits_[0] & 0x00000001u) != 0;
2284 }
2285 inline void IPv4Header::set_has_source_ip_address() {
2286  _has_bits_[0] |= 0x00000001u;
2287 }
2288 inline void IPv4Header::clear_has_source_ip_address() {
2289  _has_bits_[0] &= ~0x00000001u;
2290 }
2292  source_ip_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2293  clear_has_source_ip_address();
2294 }
2295 inline const ::std::string& IPv4Header::source_ip_address() const {
2296  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.source_ip_address)
2297  return source_ip_address_.GetNoArena();
2298 }
2299 inline void IPv4Header::set_source_ip_address(const ::std::string& value) {
2300  set_has_source_ip_address();
2301  source_ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2302  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.source_ip_address)
2303 }
2304 #if LANG_CXX11
2305 inline void IPv4Header::set_source_ip_address(::std::string&& value) {
2306  set_has_source_ip_address();
2307  source_ip_address_.SetNoArena(
2309  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.IPv4Header.source_ip_address)
2310 }
2311 #endif
2312 inline void IPv4Header::set_source_ip_address(const char* value) {
2313  GOOGLE_DCHECK(value != NULL);
2314  set_has_source_ip_address();
2315  source_ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2316  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.IPv4Header.source_ip_address)
2317 }
2318 inline void IPv4Header::set_source_ip_address(const char* value, size_t size) {
2319  set_has_source_ip_address();
2320  source_ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2321  ::std::string(reinterpret_cast<const char*>(value), size));
2322  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.IPv4Header.source_ip_address)
2323 }
2324 inline ::std::string* IPv4Header::mutable_source_ip_address() {
2325  set_has_source_ip_address();
2326  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPv4Header.source_ip_address)
2327  return source_ip_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2328 }
2329 inline ::std::string* IPv4Header::release_source_ip_address() {
2330  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.IPv4Header.source_ip_address)
2331  if (!has_source_ip_address()) {
2332  return NULL;
2333  }
2334  clear_has_source_ip_address();
2335  return source_ip_address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2336 }
2337 inline void IPv4Header::set_allocated_source_ip_address(::std::string* source_ip_address) {
2338  if (source_ip_address != NULL) {
2339  set_has_source_ip_address();
2340  } else {
2341  clear_has_source_ip_address();
2342  }
2343  source_ip_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source_ip_address);
2344  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPv4Header.source_ip_address)
2345 }
2346 
2347 // required string dest_ip_address = 12 [(.dccl.field) = {
2348 inline bool IPv4Header::has_dest_ip_address() const {
2349  return (_has_bits_[0] & 0x00000002u) != 0;
2350 }
2351 inline void IPv4Header::set_has_dest_ip_address() {
2352  _has_bits_[0] |= 0x00000002u;
2353 }
2354 inline void IPv4Header::clear_has_dest_ip_address() {
2355  _has_bits_[0] &= ~0x00000002u;
2356 }
2358  dest_ip_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2359  clear_has_dest_ip_address();
2360 }
2361 inline const ::std::string& IPv4Header::dest_ip_address() const {
2362  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2363  return dest_ip_address_.GetNoArena();
2364 }
2365 inline void IPv4Header::set_dest_ip_address(const ::std::string& value) {
2366  set_has_dest_ip_address();
2367  dest_ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2368  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2369 }
2370 #if LANG_CXX11
2371 inline void IPv4Header::set_dest_ip_address(::std::string&& value) {
2372  set_has_dest_ip_address();
2373  dest_ip_address_.SetNoArena(
2375  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2376 }
2377 #endif
2378 inline void IPv4Header::set_dest_ip_address(const char* value) {
2379  GOOGLE_DCHECK(value != NULL);
2380  set_has_dest_ip_address();
2381  dest_ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2382  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2383 }
2384 inline void IPv4Header::set_dest_ip_address(const char* value, size_t size) {
2385  set_has_dest_ip_address();
2386  dest_ip_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2387  ::std::string(reinterpret_cast<const char*>(value), size));
2388  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2389 }
2390 inline ::std::string* IPv4Header::mutable_dest_ip_address() {
2391  set_has_dest_ip_address();
2392  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2393  return dest_ip_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2394 }
2395 inline ::std::string* IPv4Header::release_dest_ip_address() {
2396  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2397  if (!has_dest_ip_address()) {
2398  return NULL;
2399  }
2400  clear_has_dest_ip_address();
2401  return dest_ip_address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2402 }
2403 inline void IPv4Header::set_allocated_dest_ip_address(::std::string* dest_ip_address) {
2404  if (dest_ip_address != NULL) {
2405  set_has_dest_ip_address();
2406  } else {
2407  clear_has_dest_ip_address();
2408  }
2409  dest_ip_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_ip_address);
2410  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPv4Header.dest_ip_address)
2411 }
2412 
2413 // -------------------------------------------------------------------
2414 
2415 // UDPHeader
2416 
2417 // required uint32 source_port = 1 [(.dccl.field) = {
2418 inline bool UDPHeader::has_source_port() const {
2419  return (_has_bits_[0] & 0x00000001u) != 0;
2420 }
2421 inline void UDPHeader::set_has_source_port() {
2422  _has_bits_[0] |= 0x00000001u;
2423 }
2424 inline void UDPHeader::clear_has_source_port() {
2425  _has_bits_[0] &= ~0x00000001u;
2426 }
2428  source_port_ = 0u;
2429  clear_has_source_port();
2430 }
2432  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.source_port)
2433  return source_port_;
2434 }
2436  set_has_source_port();
2437  source_port_ = value;
2438  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.source_port)
2439 }
2440 
2441 // required uint32 dest_port = 2 [(.dccl.field) = {
2442 inline bool UDPHeader::has_dest_port() const {
2443  return (_has_bits_[0] & 0x00000002u) != 0;
2444 }
2445 inline void UDPHeader::set_has_dest_port() {
2446  _has_bits_[0] |= 0x00000002u;
2447 }
2448 inline void UDPHeader::clear_has_dest_port() {
2449  _has_bits_[0] &= ~0x00000002u;
2450 }
2452  dest_port_ = 0u;
2453  clear_has_dest_port();
2454 }
2456  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.dest_port)
2457  return dest_port_;
2458 }
2460  set_has_dest_port();
2461  dest_port_ = value;
2462  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.dest_port)
2463 }
2464 
2465 // required uint32 length = 3 [(.dccl.field) = {
2466 inline bool UDPHeader::has_length() const {
2467  return (_has_bits_[0] & 0x00000004u) != 0;
2468 }
2469 inline void UDPHeader::set_has_length() {
2470  _has_bits_[0] |= 0x00000004u;
2471 }
2472 inline void UDPHeader::clear_has_length() {
2473  _has_bits_[0] &= ~0x00000004u;
2474 }
2476  length_ = 0u;
2477  clear_has_length();
2478 }
2480  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.length)
2481  return length_;
2482 }
2484  set_has_length();
2485  length_ = value;
2486  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.length)
2487 }
2488 
2489 // required uint32 checksum = 4 [(.dccl.field) = {
2490 inline bool UDPHeader::has_checksum() const {
2491  return (_has_bits_[0] & 0x00000008u) != 0;
2492 }
2493 inline void UDPHeader::set_has_checksum() {
2494  _has_bits_[0] |= 0x00000008u;
2495 }
2496 inline void UDPHeader::clear_has_checksum() {
2497  _has_bits_[0] &= ~0x00000008u;
2498 }
2500  checksum_ = 0u;
2501  clear_has_checksum();
2502 }
2504  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.checksum)
2505  return checksum_;
2506 }
2508  set_has_checksum();
2509  checksum_ = value;
2510  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.checksum)
2511 }
2512 
2513 // -------------------------------------------------------------------
2514 
2515 // ICMPHeader
2516 
2517 // required uint32 type = 1 [(.dccl.field) = {
2518 inline bool ICMPHeader::has_type() const {
2519  return (_has_bits_[0] & 0x00000001u) != 0;
2520 }
2521 inline void ICMPHeader::set_has_type() {
2522  _has_bits_[0] |= 0x00000001u;
2523 }
2524 inline void ICMPHeader::clear_has_type() {
2525  _has_bits_[0] &= ~0x00000001u;
2526 }
2527 inline void ICMPHeader::clear_type() {
2528  type_ = 0u;
2529  clear_has_type();
2530 }
2532  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.type)
2533  return type_;
2534 }
2536  set_has_type();
2537  type_ = value;
2538  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.type)
2539 }
2540 
2541 // required uint32 code = 2 [(.dccl.field) = {
2542 inline bool ICMPHeader::has_code() const {
2543  return (_has_bits_[0] & 0x00000002u) != 0;
2544 }
2545 inline void ICMPHeader::set_has_code() {
2546  _has_bits_[0] |= 0x00000002u;
2547 }
2548 inline void ICMPHeader::clear_has_code() {
2549  _has_bits_[0] &= ~0x00000002u;
2550 }
2551 inline void ICMPHeader::clear_code() {
2552  code_ = 0u;
2553  clear_has_code();
2554 }
2556  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.code)
2557  return code_;
2558 }
2560  set_has_code();
2561  code_ = value;
2562  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.code)
2563 }
2564 
2565 // required uint32 checksum = 3 [(.dccl.field) = {
2566 inline bool ICMPHeader::has_checksum() const {
2567  return (_has_bits_[0] & 0x00000004u) != 0;
2568 }
2569 inline void ICMPHeader::set_has_checksum() {
2570  _has_bits_[0] |= 0x00000004u;
2571 }
2572 inline void ICMPHeader::clear_has_checksum() {
2573  _has_bits_[0] &= ~0x00000004u;
2574 }
2576  checksum_ = 0u;
2577  clear_has_checksum();
2578 }
2580  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.checksum)
2581  return checksum_;
2582 }
2584  set_has_checksum();
2585  checksum_ = value;
2586  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.checksum)
2587 }
2588 
2589 // required uint32 short1 = 4 [(.dccl.field) = {
2590 inline bool ICMPHeader::has_short1() const {
2591  return (_has_bits_[0] & 0x00000008u) != 0;
2592 }
2593 inline void ICMPHeader::set_has_short1() {
2594  _has_bits_[0] |= 0x00000008u;
2595 }
2596 inline void ICMPHeader::clear_has_short1() {
2597  _has_bits_[0] &= ~0x00000008u;
2598 }
2600  short1_ = 0u;
2601  clear_has_short1();
2602 }
2604  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.short1)
2605  return short1_;
2606 }
2608  set_has_short1();
2609  short1_ = value;
2610  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.short1)
2611 }
2612 
2613 // required uint32 short2 = 5 [(.dccl.field) = {
2614 inline bool ICMPHeader::has_short2() const {
2615  return (_has_bits_[0] & 0x00000010u) != 0;
2616 }
2617 inline void ICMPHeader::set_has_short2() {
2618  _has_bits_[0] |= 0x00000010u;
2619 }
2620 inline void ICMPHeader::clear_has_short2() {
2621  _has_bits_[0] &= ~0x00000010u;
2622 }
2624  short2_ = 0u;
2625  clear_has_short2();
2626 }
2628  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.short2)
2629  return short2_;
2630 }
2632  set_has_short2();
2633  short2_ = value;
2634  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.short2)
2635 }
2636 
2637 // -------------------------------------------------------------------
2638 
2639 // IPGatewayICMPControl_QueueReport_SubQueue
2640 
2641 // required int32 dest = 1;
2643  return (_has_bits_[0] & 0x00000001u) != 0;
2644 }
2645 inline void IPGatewayICMPControl_QueueReport_SubQueue::set_has_dest() {
2646  _has_bits_[0] |= 0x00000001u;
2647 }
2648 inline void IPGatewayICMPControl_QueueReport_SubQueue::clear_has_dest() {
2649  _has_bits_[0] &= ~0x00000001u;
2650 }
2652  dest_ = 0;
2653  clear_has_dest();
2654 }
2656  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.dest)
2657  return dest_;
2658 }
2660  set_has_dest();
2661  dest_ = value;
2662  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.dest)
2663 }
2664 
2665 // required int32 size = 2;
2667  return (_has_bits_[0] & 0x00000002u) != 0;
2668 }
2669 inline void IPGatewayICMPControl_QueueReport_SubQueue::set_has_size() {
2670  _has_bits_[0] |= 0x00000002u;
2671 }
2672 inline void IPGatewayICMPControl_QueueReport_SubQueue::clear_has_size() {
2673  _has_bits_[0] &= ~0x00000002u;
2674 }
2676  size_ = 0;
2677  clear_has_size();
2678 }
2680  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.size)
2681  return size_;
2682 }
2684  set_has_size();
2685  size_ = value;
2686  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.size)
2687 }
2688 
2689 // -------------------------------------------------------------------
2690 
2691 // IPGatewayICMPControl_QueueReport
2692 
2693 // repeated .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue queue = 1;
2695  return queue_.size();
2696 }
2698  queue_.Clear();
2699 }
2700 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* IPGatewayICMPControl_QueueReport::mutable_queue(int index) {
2701  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2702  return queue_.Mutable(index);
2703 }
2704 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >*
2706  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2707  return &queue_;
2708 }
2709 inline const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue& IPGatewayICMPControl_QueueReport::queue(int index) const {
2710  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2711  return queue_.Get(index);
2712 }
2713 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* IPGatewayICMPControl_QueueReport::add_queue() {
2714  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2715  return queue_.Add();
2716 }
2717 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >&
2719  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2720  return queue_;
2721 }
2722 
2723 // -------------------------------------------------------------------
2724 
2725 // IPGatewayICMPControl
2726 
2727 // required .goby.acomms.protobuf.IPGatewayICMPControl.MessageType type = 1;
2728 inline bool IPGatewayICMPControl::has_type() const {
2729  return (_has_bits_[0] & 0x00000004u) != 0;
2730 }
2731 inline void IPGatewayICMPControl::set_has_type() {
2732  _has_bits_[0] |= 0x00000004u;
2733 }
2734 inline void IPGatewayICMPControl::clear_has_type() {
2735  _has_bits_[0] &= ~0x00000004u;
2736 }
2738  type_ = 1;
2739  clear_has_type();
2740 }
2742  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.type)
2743  return static_cast< ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType >(type_);
2744 }
2747  set_has_type();
2748  type_ = value;
2749  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.type)
2750 }
2751 
2752 // required string address = 2;
2754  return (_has_bits_[0] & 0x00000001u) != 0;
2755 }
2756 inline void IPGatewayICMPControl::set_has_address() {
2757  _has_bits_[0] |= 0x00000001u;
2758 }
2759 inline void IPGatewayICMPControl::clear_has_address() {
2760  _has_bits_[0] &= ~0x00000001u;
2761 }
2763  address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2764  clear_has_address();
2765 }
2766 inline const ::std::string& IPGatewayICMPControl::address() const {
2767  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.address)
2768  return address_.GetNoArena();
2769 }
2770 inline void IPGatewayICMPControl::set_address(const ::std::string& value) {
2771  set_has_address();
2772  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2773  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.address)
2774 }
2775 #if LANG_CXX11
2776 inline void IPGatewayICMPControl::set_address(::std::string&& value) {
2777  set_has_address();
2778  address_.SetNoArena(
2780  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.IPGatewayICMPControl.address)
2781 }
2782 #endif
2783 inline void IPGatewayICMPControl::set_address(const char* value) {
2784  GOOGLE_DCHECK(value != NULL);
2785  set_has_address();
2786  address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2787  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.IPGatewayICMPControl.address)
2788 }
2789 inline void IPGatewayICMPControl::set_address(const char* value, size_t size) {
2790  set_has_address();
2792  ::std::string(reinterpret_cast<const char*>(value), size));
2793  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.IPGatewayICMPControl.address)
2794 }
2795 inline ::std::string* IPGatewayICMPControl::mutable_address() {
2796  set_has_address();
2797  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPGatewayICMPControl.address)
2798  return address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2799 }
2800 inline ::std::string* IPGatewayICMPControl::release_address() {
2801  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.IPGatewayICMPControl.address)
2802  if (!has_address()) {
2803  return NULL;
2804  }
2805  clear_has_address();
2806  return address_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2807 }
2808 inline void IPGatewayICMPControl::set_allocated_address(::std::string* address) {
2809  if (address != NULL) {
2810  set_has_address();
2811  } else {
2812  clear_has_address();
2813  }
2814  address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), address);
2815  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPGatewayICMPControl.address)
2816 }
2817 
2818 // optional .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport queue_report = 3;
2820  return (_has_bits_[0] & 0x00000002u) != 0;
2821 }
2822 inline void IPGatewayICMPControl::set_has_queue_report() {
2823  _has_bits_[0] |= 0x00000002u;
2824 }
2825 inline void IPGatewayICMPControl::clear_has_queue_report() {
2826  _has_bits_[0] &= ~0x00000002u;
2827 }
2829  if (queue_report_ != NULL) queue_report_->Clear();
2830  clear_has_queue_report();
2831 }
2832 inline const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport& IPGatewayICMPControl::_internal_queue_report() const {
2833  return *queue_report_;
2834 }
2835 inline const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport& IPGatewayICMPControl::queue_report() const {
2836  const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* p = queue_report_;
2837  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.queue_report)
2838  return p != NULL ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport*>(
2840 }
2841 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* IPGatewayICMPControl::release_queue_report() {
2842  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.IPGatewayICMPControl.queue_report)
2843  clear_has_queue_report();
2845  queue_report_ = NULL;
2846  return temp;
2847 }
2848 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* IPGatewayICMPControl::mutable_queue_report() {
2849  set_has_queue_report();
2850  if (queue_report_ == NULL) {
2851  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport>(GetArenaNoVirtual());
2852  queue_report_ = p;
2853  }
2854  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPGatewayICMPControl.queue_report)
2855  return queue_report_;
2856 }
2858  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2859  if (message_arena == NULL) {
2860  delete queue_report_;
2861  }
2862  if (queue_report) {
2863  ::google::protobuf::Arena* submessage_arena = NULL;
2864  if (message_arena != submessage_arena) {
2865  queue_report = ::google::protobuf::internal::GetOwnedMessage(
2866  message_arena, queue_report, submessage_arena);
2867  }
2868  set_has_queue_report();
2869  } else {
2870  clear_has_queue_report();
2871  }
2872  queue_report_ = queue_report;
2873  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPGatewayICMPControl.queue_report)
2874 }
2875 
2876 #ifdef __GNUC__
2877  #pragma GCC diagnostic pop
2878 #endif // __GNUC__
2879 // -------------------------------------------------------------------
2880 
2881 // -------------------------------------------------------------------
2882 
2883 // -------------------------------------------------------------------
2884 
2885 // -------------------------------------------------------------------
2886 
2887 // -------------------------------------------------------------------
2888 
2889 // -------------------------------------------------------------------
2890 
2891 // -------------------------------------------------------------------
2892 
2893 // -------------------------------------------------------------------
2894 
2895 // -------------------------------------------------------------------
2896 
2897 // -------------------------------------------------------------------
2898 
2899 
2900 // @@protoc_insertion_point(namespace_scope)
2901 
2902 } // namespace protobuf
2903 } // namespace acomms
2904 } // namespace goby
2905 
2906 namespace google {
2907 namespace protobuf {
2908 
2909 template <> struct is_proto_enum< ::goby::acomms::protobuf::NetworkHeader_Protocol> : ::std::true_type {};
2910 template <>
2911 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::NetworkHeader_Protocol>() {
2913 }
2914 template <> struct is_proto_enum< ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType> : ::std::true_type {};
2915 template <>
2916 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType>() {
2918 }
2919 
2920 } // namespace protobuf
2921 } // namespace google
2922 
2923 // @@protoc_insertion_point(global_scope)
2924 
2925 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: network_header.pb.h:49
goby::acomms::protobuf::NetworkHeader::clear_srcdest_addr
void clear_srcdest_addr()
Definition: network_header.pb.h:1855
goby::acomms::protobuf::IPv4Header::set_allocated_dest_ip_address
void set_allocated_dest_ip_address(::std::string *dest_ip_address)
Definition: network_header.pb.h:2403
goby::acomms::protobuf::IPv4Header::has_total_length
bool has_total_length() const
Definition: network_header.pb.h:2104
goby::acomms::protobuf::UDPHeader::has_source_port
bool has_source_port() const
Definition: network_header.pb.h:2418
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: network_header.pb.h:50
goby::acomms::protobuf::NetworkHeader_UDPHeader::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::acomms::protobuf::NetworkHeader::Protocol_Parse
static bool Protocol_Parse(const ::std::string &name, Protocol *value)
Definition: network_header.pb.h:597
goby::acomms::protobuf::_IPGatewayICMPControl_QueueReport_SubQueue_default_instance_
IPGatewayICMPControl_QueueReport_SubQueueDefaultTypeInternal _IPGatewayICMPControl_QueueReport_SubQueue_default_instance_
goby::acomms::protobuf::UDPHeader::source_port
::google::protobuf::uint32 source_port() const
Definition: network_header.pb.h:2431
goby::acomms::protobuf::IPv4Header::version
::google::protobuf::uint32 version() const
Definition: network_header.pb.h:2045
google::protobuf::internal::GetEmptyStringAlreadyInited
LIBPROTOBUF_EXPORTconst ::std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:133
goby::acomms::protobuf::UDPHeader::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:1067
goby::acomms::protobuf::IPv4Header::set_version
void set_version(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2049
goby::acomms::protobuf::IPv4Header::release_dest_ip_address
::std::string * release_dest_ip_address()
Definition: network_header.pb.h:2395
goby::acomms::protobuf::IPv4Header::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:816
goby::acomms::protobuf::IPGatewayICMPControl::clear_queue_report
void clear_queue_report()
Definition: network_header.pb.h:2828
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::queue_size
int queue_size() const
Definition: network_header.pb.h:2694
goby::acomms::protobuf::ICMPHeader::clear_short1
void clear_short1()
Definition: network_header.pb.h:2599
goby::acomms::protobuf::IPv4Header::clear_dscp
void clear_dscp()
Definition: network_header.pb.h:2089
goby::acomms::protobuf::ICMPHeader::clear_code
void clear_code()
Definition: network_header.pb.h:2551
goby::acomms::protobuf::IPGatewayICMPControl
Definition: network_header.pb.h:1593
goby::acomms::protobuf::IPGatewayICMPControl_MessageType
IPGatewayICMPControl_MessageType
Definition: network_header.pb.h:133
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::New
IPGatewayICMPControl_QueueReport_SubQueue * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:1402
goby::acomms::protobuf::IPv4Header::flags_frag_offset
const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset & flags_frag_offset() const
Definition: network_header.pb.h:2168
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::has_fragment_offset
bool has_fragment_offset() const
Definition: network_header.pb.h:1980
goby::acomms::protobuf::ICMPHeader::internal_default_instance
static const ICMPHeader * internal_default_instance()
Definition: network_header.pb.h:1226
goby::acomms::protobuf::NetworkHeader_SCTPHeader::operator=
NetworkHeader_SCTPHeader & operator=(const NetworkHeader_SCTPHeader &from)
Definition: network_header.pb.h:381
goby::acomms::protobuf::UDPHeader::set_source_port
void set_source_port(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2435
goby::acomms::protobuf::ICMPHeader::has_checksum
bool has_checksum() const
Definition: network_header.pb.h:2566
goby::acomms::protobuf::ICMPHeader::has_code
bool has_code() const
Definition: network_header.pb.h:2542
goby::acomms::protobuf::ICMPHeader::clear_checksum
void clear_checksum()
Definition: network_header.pb.h:2575
goby::acomms::protobuf::ICMPHeader::short2
::google::protobuf::uint32 short2() const
Definition: network_header.pb.h:2627
goby::acomms::protobuf::ICMPHeader::swap
friend void swap(ICMPHeader &a, ICMPHeader &b)
Definition: network_header.pb.h:1234
goby::acomms::protobuf::NetworkHeader_ICMPHeader::swap
friend void swap(NetworkHeader_ICMPHeader &a, NetworkHeader_ICMPHeader &b)
Definition: network_header.pb.h:315
goby::acomms::protobuf::NetworkHeader
Definition: network_header.pb.h:478
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::clear_fragment_offset
void clear_fragment_offset()
Definition: network_header.pb.h:1989
goby::acomms::protobuf::_NetworkHeader_ICMPHeader_default_instance_
NetworkHeader_ICMPHeaderDefaultTypeInternal _NetworkHeader_ICMPHeader_default_instance_
goby::acomms::protobuf::ICMPHeader::Swap
void Swap(ICMPHeader *other)
goby::acomms::protobuf::IPv4Header::clear_ihl
void clear_ihl()
Definition: network_header.pb.h:2017
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::set_dont_fragment
void set_dont_fragment(bool value)
Definition: network_header.pb.h:1949
goby::acomms::protobuf::NetworkHeader_SCTPHeader::swap
friend void swap(NetworkHeader_SCTPHeader &a, NetworkHeader_SCTPHeader &b)
Definition: network_header.pb.h:419
goby::acomms::protobuf::IPGatewayICMPControl::operator=
IPGatewayICMPControl & operator=(const IPGatewayICMPControl &from)
Definition: network_header.pb.h:1600
goby::acomms::protobuf::NetworkHeader::internal_default_instance
static const NetworkHeader * internal_default_instance()
Definition: network_header.pb.h:515
goby::acomms::protobuf::IPv4Header::dest_ip_address
const ::std::string & dest_ip_address() const
Definition: network_header.pb.h:2361
goby::acomms::protobuf::UDPHeader::has_checksum
bool has_checksum() const
Definition: network_header.pb.h:2490
goby::acomms::protobuf::IPv4Header::mutable_flags_frag_offset
::goby::acomms::protobuf::IPv4Header_FlagsFragOffset * mutable_flags_frag_offset()
Definition: network_header.pb.h:2181
goby::acomms::protobuf::NetworkHeader::has_srcdest_addr
bool has_srcdest_addr() const
Definition: network_header.pb.h:1846
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::swap
friend void swap(IPGatewayICMPControl_QueueReport &a, IPGatewayICMPControl_QueueReport &b)
Definition: network_header.pb.h:1519
goby::acomms::protobuf::NetworkHeader::srcdest_addr
::google::protobuf::uint32 srcdest_addr() const
Definition: network_header.pb.h:1859
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::operator=
IPGatewayICMPControl_QueueReport & operator=(const IPGatewayICMPControl_QueueReport &from)
Definition: network_header.pb.h:1481
goby::acomms::protobuf::UDPHeader::has_length
bool has_length() const
Definition: network_header.pb.h:2466
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::internal_default_instance
static const IPGatewayICMPControl_QueueReport * internal_default_instance()
Definition: network_header.pb.h:1511
goby::acomms::protobuf::IPGatewayICMPControl::has_queue_report
bool has_queue_report() const
Definition: network_header.pb.h:2819
goby::acomms::protobuf::UDPHeader::dest_port
::google::protobuf::uint32 dest_port() const
Definition: network_header.pb.h:2455
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::clear_dont_fragment
void clear_dont_fragment()
Definition: network_header.pb.h:1941
goby::acomms::protobuf::NetworkHeader_SCTPHeader::New
NetworkHeader_SCTPHeader * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:429
goby::acomms::protobuf::IPv4Header::set_identification
void set_identification(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2145
goby::acomms::protobuf::UDPHeader::operator=
UDPHeader & operator=(const UDPHeader &from)
Definition: network_header.pb.h:1048
goby::acomms::protobuf::IPGatewayICMPControl::internal_default_instance
static const IPGatewayICMPControl * internal_default_instance()
Definition: network_header.pb.h:1630
goby::acomms::protobuf::ICMPHeader::set_checksum
void set_checksum(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2583
goby::acomms::protobuf::NetworkHeader_ICMPHeader::New
NetworkHeader_ICMPHeader * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:325
goby::acomms::protobuf::_NetworkHeader_SCTPHeader_default_instance_
NetworkHeader_SCTPHeaderDefaultTypeInternal _NetworkHeader_SCTPHeader_default_instance_
goby::acomms::protobuf::IPGatewayICMPControl::has_address
bool has_address() const
Definition: network_header.pb.h:2753
goby::acomms::protobuf::NetworkHeader_ICMPHeader::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:296
goby::acomms::protobuf::NetworkHeader_UDPHeader::New
NetworkHeader_UDPHeader * New() const final
Definition: network_header.pb.h:204
goby::acomms::protobuf::NetworkHeader_SCTPHeader::Swap
void Swap(NetworkHeader_SCTPHeader *other)
goby::acomms::protobuf::IPv4Header::has_identification
bool has_identification() const
Definition: network_header.pb.h:2128
goby::acomms::protobuf::NetworkHeader::has_udp
bool has_udp() const
Definition: network_header.pb.h:1870
goby::acomms::protobuf::_ICMPHeader_default_instance_
ICMPHeaderDefaultTypeInternal _ICMPHeader_default_instance_
goby::acomms::protobuf::IPv4Header::release_source_ip_address
::std::string * release_source_ip_address()
Definition: network_header.pb.h:2329
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:679
goby::acomms::protobuf::IPGatewayICMPControl::Swap
void Swap(IPGatewayICMPControl *other)
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::internal_default_instance
static const IPGatewayICMPControl_QueueReport_SubQueue * internal_default_instance()
Definition: network_header.pb.h:1384
goby::acomms::protobuf::IPv4Header::New
IPv4Header * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:845
goby::acomms::protobuf::NetworkHeader_UDPHeader::set_srcdest_port
void set_srcdest_port(int index, ::google::protobuf::uint32 value)
Definition: network_header.pb.h:1789
goby::acomms::protobuf::IPv4Header::New
IPv4Header * New() const final
Definition: network_header.pb.h:841
goby::acomms::protobuf::NetworkHeader_Protocol
NetworkHeader_Protocol
Definition: network_header.pb.h:113
goby::acomms::protobuf::ICMPHeader::New
ICMPHeader * New() const final
Definition: network_header.pb.h:1240
goby::acomms::protobuf::IPGatewayICMPControl::release_queue_report
::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport * release_queue_report()
Definition: network_header.pb.h:2841
goby::acomms::protobuf::NetworkHeader_UDPHeader::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::clear_size
void clear_size()
Definition: network_header.pb.h:2675
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::add_queue
::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue * add_queue()
Definition: network_header.pb.h:2713
goby::acomms::protobuf::IPGatewayICMPControl::MessageType_descriptor
static const ::google::protobuf::EnumDescriptor * MessageType_descriptor()
Definition: network_header.pb.h:1700
goby::acomms::protobuf::ICMPHeader::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:1218
goby::acomms::protobuf::NetworkHeader::operator=
NetworkHeader & operator=(const NetworkHeader &from)
Definition: network_header.pb.h:485
goby::acomms::protobuf::NetworkHeader_UDPHeader::srcdest_port
const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > & srcdest_port() const
Definition: network_header.pb.h:1798
goby::acomms::protobuf::IPv4Header::has_version
bool has_version() const
Definition: network_header.pb.h:2032
goby::acomms::protobuf::NetworkHeader_SCTPHeader::New
NetworkHeader_SCTPHeader * New() const final
Definition: network_header.pb.h:425
goby::acomms::protobuf::IPGatewayICMPControl::queue_report
const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport & queue_report() const
Definition: network_header.pb.h:2835
goby::acomms::protobuf::IPGatewayICMPControl::swap
friend void swap(IPGatewayICMPControl &a, IPGatewayICMPControl &b)
Definition: network_header.pb.h:1638
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::fragment_offset
::google::protobuf::uint32 fragment_offset() const
Definition: network_header.pb.h:1993
goby::acomms::protobuf::UDPHeader::New
UDPHeader * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:1096
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::has_dest
bool has_dest() const
Definition: network_header.pb.h:2642
goby::acomms::protobuf::NetworkHeader::Protocol_descriptor
static const ::google::protobuf::EnumDescriptor * Protocol_descriptor()
Definition: network_header.pb.h:591
goby::acomms::protobuf::NetworkHeader_UDPHeader::clear_srcdest_port
void clear_srcdest_port()
Definition: network_header.pb.h:1782
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::mutable_queue
::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue > * mutable_queue()
Definition: network_header.pb.h:2705
goby::acomms::protobuf::IPv4Header::dscp
::google::protobuf::uint32 dscp() const
Definition: network_header.pb.h:2093
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::swap
friend void swap(IPGatewayICMPControl_QueueReport_SubQueue &a, IPGatewayICMPControl_QueueReport_SubQueue &b)
Definition: network_header.pb.h:1392
goby::acomms::protobuf::IPGatewayICMPControl::address
const ::std::string & address() const
Definition: network_header.pb.h:2766
goby::acomms::protobuf::NetworkHeader::clear_udp
void clear_udp()
Definition: network_header.pb.h:1879
goby::acomms::protobuf::IPv4Header::set_dest_ip_address
void set_dest_ip_address(const ::std::string &value)
Definition: network_header.pb.h:2365
google::protobuf::Arena
Definition: arena.h:244
goby::acomms::protobuf::IPv4Header::DCCLParameters
DCCLParameters
Definition: network_header.pb.h:991
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:682
goby::acomms::protobuf::ICMPHeader::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:1215
goby::acomms::protobuf::IPv4Header::set_dscp
void set_dscp(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2097
goby::acomms::protobuf::IPv4Header::has_dest_ip_address
bool has_dest_ip_address() const
Definition: network_header.pb.h:2348
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::clear_more_fragments
void clear_more_fragments()
Definition: network_header.pb.h:1965
goby::acomms::protobuf::NetworkHeader_UDPHeader::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::New
IPGatewayICMPControl_QueueReport_SubQueue * New() const final
Definition: network_header.pb.h:1398
goby::acomms::protobuf::IPv4Header::ihl
::google::protobuf::uint32 ihl() const
Definition: network_header.pb.h:2021
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::New
IPv4Header_FlagsFragOffset * New() const final
Definition: network_header.pb.h:704
goby::acomms::protobuf::UDPHeader::checksum
::google::protobuf::uint32 checksum() const
Definition: network_header.pb.h:2503
goby::acomms::protobuf::ICMPHeader::has_type
bool has_type() const
Definition: network_header.pb.h:2518
goby::acomms::protobuf::IPv4Header::clear_ttl
void clear_ttl()
Definition: network_header.pb.h:2219
goby::acomms::protobuf::NetworkHeader_SCTPHeader::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:400
goby::acomms::protobuf::ICMPHeader::checksum
::google::protobuf::uint32 checksum() const
Definition: network_header.pb.h:2579
goby::acomms::protobuf::NetworkHeader_UDPHeader::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::acomms::protobuf::NetworkHeader::clear_protocol
void clear_protocol()
Definition: network_header.pb.h:1830
goby::acomms::protobuf::IPv4Header::has_flags_frag_offset
bool has_flags_frag_offset() const
Definition: network_header.pb.h:2152
goby::acomms::protobuf::IPv4Header_FlagsFragOffset
Definition: network_header.pb.h:653
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport
Definition: network_header.pb.h:1474
goby::acomms::protobuf::IPv4Header::clear_protocol
void clear_protocol()
Definition: network_header.pb.h:2243
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_IsValid
bool IPGatewayICMPControl_MessageType_IsValid(int value)
goby::acomms::protobuf::NetworkHeader_ICMPHeader::New
NetworkHeader_ICMPHeader * New() const final
Definition: network_header.pb.h:321
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::AddDescriptors
void AddDescriptors()
goby::acomms::protobuf::ICMPHeader::clear_type
void clear_type()
Definition: network_header.pb.h:2527
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_Parse
bool IPGatewayICMPControl_MessageType_Parse(const ::std::string &name, IPGatewayICMPControl_MessageType *value)
Definition: network_header.pb.h:146
goby::acomms::protobuf::NetworkHeader::protocol
::goby::acomms::protobuf::NetworkHeader_Protocol protocol() const
Definition: network_header.pb.h:1834
goby::acomms::protobuf::IPv4Header::has_header_checksum
bool has_header_checksum() const
Definition: network_header.pb.h:2258
goby::acomms::protobuf::NetworkHeader::set_allocated_udp
void set_allocated_udp(::goby::acomms::protobuf::NetworkHeader_UDPHeader *udp)
Definition: network_header.pb.h:1908
goby::acomms::protobuf::IPv4Header::mutable_dest_ip_address
::std::string * mutable_dest_ip_address()
Definition: network_header.pb.h:2390
goby::acomms::protobuf::IPv4Header::Swap
void Swap(IPv4Header *other)
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::set_size
void set_size(::google::protobuf::int32 value)
Definition: network_header.pb.h:2683
goby::acomms::protobuf::NetworkHeader_UDPHeader::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::acomms::protobuf::UDPHeader::length
::google::protobuf::uint32 length() const
Definition: network_header.pb.h:2479
goby::acomms::protobuf::NetworkHeader_UDPHeader
Definition: network_header.pb.h:153
goby::acomms::protobuf::ICMPHeader::has_short1
bool has_short1() const
Definition: network_header.pb.h:2590
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:1503
goby::acomms::protobuf::UDPHeader::clear_source_port
void clear_source_port()
Definition: network_header.pb.h:2427
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_QUEUE_REPORT
@ IPGatewayICMPControl_MessageType_QUEUE_REPORT
Definition: network_header.pb.h:134
goby::acomms::protobuf::NetworkHeader_UDPHeader::IsInitialized
bool IsInitialized() const final
goby::acomms::protobuf::UDPHeader::swap
friend void swap(UDPHeader &a, UDPHeader &b)
Definition: network_header.pb.h:1086
goby::acomms::protobuf::NetworkHeader_UDPHeader::ByteSizeLong
size_t ByteSizeLong() const final
goby::acomms::protobuf::ICMPHeader::type
::google::protobuf::uint32 type() const
Definition: network_header.pb.h:2531
goby::acomms::protobuf::IPGatewayICMPControl::mutable_address
::std::string * mutable_address()
Definition: network_header.pb.h:2795
goby::acomms::protobuf::ICMPHeader::clear_short2
void clear_short2()
Definition: network_header.pb.h:2623
goby::acomms::protobuf::NetworkHeader::Swap
void Swap(NetworkHeader *other)
goby::acomms::protobuf::NetworkHeader_SCTPHeader::internal_default_instance
static const NetworkHeader_SCTPHeader * internal_default_instance()
Definition: network_header.pb.h:411
goby::acomms::protobuf::NetworkHeader_UDPHeader::kSrcdestPortFieldNumber
static const int kSrcdestPortFieldNumber
Definition: network_header.pb.h:250
goby::acomms::protobuf::NetworkHeader_UDPHeader::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: network_header.pb.h:194
goby::acomms::protobuf::NetworkHeader_UDPHeader::~NetworkHeader_UDPHeader
virtual ~NetworkHeader_UDPHeader()
goby::acomms::protobuf::UDPHeader::Swap
void Swap(UDPHeader *other)
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::Swap
void Swap(IPv4Header_FlagsFragOffset *other)
message.h
goby::acomms::protobuf::_IPGatewayICMPControl_default_instance_
IPGatewayICMPControlDefaultTypeInternal _IPGatewayICMPControl_default_instance_
goby::acomms::protobuf::ICMPHeader::set_short1
void set_short1(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2607
goby::acomms::protobuf::IPv4Header::clear_ecn
void clear_ecn()
Definition: network_header.pb.h:2065
goby::acomms::protobuf::UDPHeader
Definition: network_header.pb.h:1041
goby::acomms::protobuf::NetworkHeader::New
NetworkHeader * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:533
goby::acomms::protobuf::NetworkHeader::udp
const ::goby::acomms::protobuf::NetworkHeader_UDPHeader & udp() const
Definition: network_header.pb.h:1886
goby::acomms::protobuf::NetworkHeader_UDPHeader::srcdest_port_size
int srcdest_port_size() const
Definition: network_header.pb.h:1779
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::dont_fragment
bool dont_fragment() const
Definition: network_header.pb.h:1945
goby::acomms::protobuf::IPGatewayICMPControl::set_allocated_queue_report
void set_allocated_queue_report(::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport *queue_report)
Definition: network_header.pb.h:2857
goby::acomms::protobuf::IPv4Header::operator=
IPv4Header & operator=(const IPv4Header &from)
Definition: network_header.pb.h:797
goby::acomms::protobuf::IPv4Header::mutable_source_ip_address
::std::string * mutable_source_ip_address()
Definition: network_header.pb.h:2324
goby::acomms::protobuf::_IPv4Header_FlagsFragOffset_default_instance_
IPv4Header_FlagsFragOffsetDefaultTypeInternal _IPv4Header_FlagsFragOffset_default_instance_
goby::acomms::protobuf::IPv4Header::internal_default_instance
static const IPv4Header * internal_default_instance()
Definition: network_header.pb.h:827
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::set_more_fragments
void set_more_fragments(bool value)
Definition: network_header.pb.h:1973
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::acomms::protobuf::NetworkHeader_UDPHeader::operator=
NetworkHeader_UDPHeader & operator=(const NetworkHeader_UDPHeader &from)
Definition: network_header.pb.h:160
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::operator=
IPv4Header_FlagsFragOffset & operator=(const IPv4Header_FlagsFragOffset &from)
Definition: network_header.pb.h:660
goby::acomms::protobuf::NetworkHeader_UDPHeader::GetCachedSize
int GetCachedSize() const final
Definition: network_header.pb.h:225
goby::acomms::protobuf::_IPv4Header_default_instance_
IPv4HeaderDefaultTypeInternal _IPv4Header_default_instance_
goby::acomms::protobuf::NetworkHeader::Protocol_Name
static const ::std::string & Protocol_Name(Protocol value)
Definition: network_header.pb.h:594
goby::acomms::protobuf::NetworkHeader_Protocol_ICMP
@ NetworkHeader_Protocol_ICMP
Definition: network_header.pb.h:114
goby::acomms::protobuf::NetworkHeader_UDPHeader::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:179
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:1376
goby::acomms::protobuf::IPGatewayICMPControl::New
IPGatewayICMPControl * New() const final
Definition: network_header.pb.h:1644
goby::acomms::protobuf::NetworkHeader_UDPHeader::internal_default_instance
static const NetworkHeader_UDPHeader * internal_default_instance()
Definition: network_header.pb.h:190
goby::acomms::protobuf::IPGatewayICMPControl::set_address
void set_address(const ::std::string &value)
Definition: network_header.pb.h:2770
goby::acomms::protobuf::IPv4Header::clear_header_checksum
void clear_header_checksum()
Definition: network_header.pb.h:2267
goby::acomms::protobuf::IPv4Header::clear_source_ip_address
void clear_source_ip_address()
Definition: network_header.pb.h:2291
goby::acomms::protobuf::NetworkHeader_UDPHeader::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::has_more_fragments
bool has_more_fragments() const
Definition: network_header.pb.h:1956
goby::acomms::protobuf::NetworkHeader::DCCLParameters
DCCLParameters
Definition: network_header.pb.h:630
goby::acomms::protobuf::IPv4Header::set_allocated_flags_frag_offset
void set_allocated_flags_frag_offset(::goby::acomms::protobuf::IPv4Header_FlagsFragOffset *flags_frag_offset)
Definition: network_header.pb.h:2190
goby::acomms::protobuf::IPv4Header::set_total_length
void set_total_length(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2121
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::New
IPv4Header_FlagsFragOffset * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:708
goby::acomms::protobuf::_NetworkHeader_default_instance_
NetworkHeaderDefaultTypeInternal _NetworkHeader_default_instance_
goby::acomms::protobuf::ICMPHeader::code
::google::protobuf::uint32 code() const
Definition: network_header.pb.h:2555
goby::acomms::protobuf::IPv4Header::swap
friend void swap(IPv4Header &a, IPv4Header &b)
Definition: network_header.pb.h:835
goby::acomms::protobuf::NetworkHeader_UDPHeader::NetworkHeader_UDPHeader
NetworkHeader_UDPHeader()
goby::acomms::protobuf::NetworkHeader_SCTPHeader::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:403
goby::acomms::protobuf::NetworkHeader::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:504
goby::acomms::protobuf::_IPGatewayICMPControl_QueueReport_default_instance_
IPGatewayICMPControl_QueueReportDefaultTypeInternal _IPGatewayICMPControl_QueueReport_default_instance_
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::clear_queue
void clear_queue()
Definition: network_header.pb.h:2697
goby::acomms::protobuf::NetworkHeader_UDPHeader::swap
friend void swap(NetworkHeader_UDPHeader &a, NetworkHeader_UDPHeader &b)
Definition: network_header.pb.h:198
jwt::json::type
type
Generic JSON types used in JWTs.
Definition: jwt.h:2071
goby::acomms::protobuf::IPv4Header::clear_identification
void clear_identification()
Definition: network_header.pb.h:2137
goby::acomms::protobuf::IPv4Header::header_checksum
::google::protobuf::uint32 header_checksum() const
Definition: network_header.pb.h:2271
goby::acomms::protobuf::IPv4Header::set_source_ip_address
void set_source_ip_address(const ::std::string &value)
Definition: network_header.pb.h:2299
goby::acomms::protobuf::UDPHeader::has_dest_port
bool has_dest_port() const
Definition: network_header.pb.h:2442
goby::acomms::protobuf::IPv4Header::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:819
goby::acomms::protobuf::ICMPHeader::has_short2
bool has_short2() const
Definition: network_header.pb.h:2614
goby::acomms::protobuf::IPv4Header::set_protocol
void set_protocol(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2251
goby::acomms::protobuf::NetworkHeader_Protocol_Protocol_MAX
const NetworkHeader_Protocol NetworkHeader_Protocol_Protocol_MAX
Definition: network_header.pb.h:120
goby::acomms::protobuf::ICMPHeader::operator=
ICMPHeader & operator=(const ICMPHeader &from)
Definition: network_header.pb.h:1196
goby::acomms::protobuf::UDPHeader::set_dest_port
void set_dest_port(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2459
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::has_dont_fragment
bool has_dont_fragment() const
Definition: network_header.pb.h:1932
google::protobuf::Metadata
Definition: message.h:174
goby::acomms::protobuf::IPGatewayICMPControl::clear_type
void clear_type()
Definition: network_header.pb.h:2737
goby::acomms::protobuf::IPv4Header::set_allocated_source_ip_address
void set_allocated_source_ip_address(::std::string *source_ip_address)
Definition: network_header.pb.h:2337
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:1500
goby::acomms::protobuf::IPv4Header::source_ip_address
const ::std::string & source_ip_address() const
Definition: network_header.pb.h:2295
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_Name
const ::std::string & IPGatewayICMPControl_MessageType_Name(IPGatewayICMPControl_MessageType value)
Definition: network_header.pb.h:142
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[11]
Definition: network_header.pb.h:48
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::clear_dest
void clear_dest()
Definition: network_header.pb.h:2651
goby::acomms::protobuf::NetworkHeader_UDPHeader::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
google::protobuf::Message
Definition: message.h:189
goby::acomms::protobuf::IPv4Header::ttl
::google::protobuf::uint32 ttl() const
Definition: network_header.pb.h:2223
goby::acomms::protobuf::NetworkHeader_UDPHeader::Clear
void Clear() final
goby::acomms::protobuf::IPGatewayICMPControl::mutable_queue_report
::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport * mutable_queue_report()
Definition: network_header.pb.h:2848
goby::acomms::protobuf::IPv4Header::clear_flags_frag_offset
void clear_flags_frag_offset()
Definition: network_header.pb.h:2161
goby::acomms::protobuf::IPv4Header
Definition: network_header.pb.h:790
goby::acomms::protobuf::IPv4Header::clear_dest_ip_address
void clear_dest_ip_address()
Definition: network_header.pb.h:2357
goby::acomms::protobuf::ICMPHeader::set_code
void set_code(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2559
goby::acomms::protobuf::IPv4Header::has_protocol
bool has_protocol() const
Definition: network_header.pb.h:2234
goby::acomms::protobuf::IPv4Header::protocol
::google::protobuf::uint32 protocol() const
Definition: network_header.pb.h:2247
goby::acomms::protobuf::NetworkHeader_Protocol_Parse
bool NetworkHeader_Protocol_Parse(const ::std::string &name, NetworkHeader_Protocol *value)
Definition: network_header.pb.h:128
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue
Definition: network_header.pb.h:1347
goby::acomms::protobuf::ICMPHeader::set_short2
void set_short2(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2631
goby::acomms::protobuf::NetworkHeader::swap
friend void swap(NetworkHeader &a, NetworkHeader &b)
Definition: network_header.pb.h:523
goby::acomms::protobuf::NetworkHeader::set_protocol
void set_protocol(::goby::acomms::protobuf::NetworkHeader_Protocol value)
Definition: network_header.pb.h:1838
goby::acomms::protobuf::NetworkHeader_UDPHeader::Swap
void Swap(NetworkHeader_UDPHeader *other)
goby::acomms::protobuf::IPv4Header::clear_total_length
void clear_total_length()
Definition: network_header.pb.h:2113
goby::acomms::protobuf::NetworkHeader_UDPHeader::New
NetworkHeader_UDPHeader * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:208
goby::acomms::protobuf::IPv4Header::set_ecn
void set_ecn(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2073
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: network_header.pb.h:51
goby::acomms::protobuf::NetworkHeader_SCTPHeader
Definition: network_header.pb.h:374
goby::acomms::protobuf::NetworkHeader_ICMPHeader::Swap
void Swap(NetworkHeader_ICMPHeader *other)
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::size
::google::protobuf::int32 size() const
Definition: network_header.pb.h:2679
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: network_header.pb.h:47
arena.h
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: network_header.pb.h:46
goby::acomms::protobuf::UDPHeader::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:1070
goby::acomms::protobuf::NetworkHeader::mutable_udp
::goby::acomms::protobuf::NetworkHeader_UDPHeader * mutable_udp()
Definition: network_header.pb.h:1899
goby::acomms::protobuf::IPv4Header::release_flags_frag_offset
::goby::acomms::protobuf::IPv4Header_FlagsFragOffset * release_flags_frag_offset()
Definition: network_header.pb.h:2174
goby::acomms::protobuf::UDPHeader::New
UDPHeader * New() const final
Definition: network_header.pb.h:1092
goby::acomms::protobuf::ICMPHeader::DCCLParameters
DCCLParameters
Definition: network_header.pb.h:1318
goby::acomms::protobuf::IPv4Header::ecn
::google::protobuf::uint32 ecn() const
Definition: network_header.pb.h:2069
goby::acomms::protobuf::IPv4Header::identification
::google::protobuf::uint32 identification() const
Definition: network_header.pb.h:2141
goby::acomms::protobuf::ICMPHeader
Definition: network_header.pb.h:1189
goby::acomms::protobuf::NetworkHeader_UDPHeader::mutable_srcdest_port
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > * mutable_srcdest_port()
Definition: network_header.pb.h:1803
goby::acomms::protobuf::UDPHeader::clear_dest_port
void clear_dest_port()
Definition: network_header.pb.h:2451
goby::acomms::protobuf::IPGatewayICMPControl::set_type
void set_type(::goby::acomms::protobuf::IPGatewayICMPControl_MessageType value)
Definition: network_header.pb.h:2745
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_descriptor
const ::google::protobuf::EnumDescriptor * IPGatewayICMPControl_MessageType_descriptor()
goby::acomms::protobuf::NetworkHeader_ICMPHeader
Definition: network_header.pb.h:270
goby::acomms::protobuf::NetworkHeader_ICMPHeader::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:299
goby::acomms::protobuf::IPv4Header::set_ttl
void set_ttl(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2227
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::Swap
void Swap(IPGatewayICMPControl_QueueReport_SubQueue *other)
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::New
IPGatewayICMPControl_QueueReport * New() const final
Definition: network_header.pb.h:1525
goby::acomms::protobuf::NetworkHeader_UDPHeader::add_srcdest_port
void add_srcdest_port(::google::protobuf::uint32 value)
Definition: network_header.pb.h:1793
goby::acomms::protobuf::IPv4Header::has_dscp
bool has_dscp() const
Definition: network_header.pb.h:2080
goby::acomms::protobuf::NetworkHeader_UDPHeader::default_instance
static const NetworkHeader_UDPHeader & default_instance()
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::queue
const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue > & queue() const
Definition: network_header.pb.h:2718
goby::acomms::protobuf::IPGatewayICMPControl::release_address
::std::string * release_address()
Definition: network_header.pb.h:2800
goby::acomms::protobuf::IPv4Header::has_ihl
bool has_ihl() const
Definition: network_header.pb.h:2008
goby::acomms::protobuf::IPGatewayICMPControl::type
::goby::acomms::protobuf::IPGatewayICMPControl_MessageType type() const
Definition: network_header.pb.h:2741
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::set_fragment_offset
void set_fragment_offset(::google::protobuf::uint32 value)
Definition: network_header.pb.h:1997
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::has_size
bool has_size() const
Definition: network_header.pb.h:2666
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::dest
::google::protobuf::int32 dest() const
Definition: network_header.pb.h:2655
goby::acomms::protobuf::NetworkHeader_UDPHeader::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::swap
friend void swap(IPv4Header_FlagsFragOffset &a, IPv4Header_FlagsFragOffset &b)
Definition: network_header.pb.h:698
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::set_dest
void set_dest(::google::protobuf::int32 value)
Definition: network_header.pb.h:2659
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_MessageType_MAX
const IPGatewayICMPControl_MessageType IPGatewayICMPControl_MessageType_MessageType_MAX
Definition: network_header.pb.h:138
goby::acomms::protobuf::IPGatewayICMPControl::clear_address
void clear_address()
Definition: network_header.pb.h:2762
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_MessageType_MIN
const IPGatewayICMPControl_MessageType IPGatewayICMPControl_MessageType_MessageType_MIN
Definition: network_header.pb.h:137
goby::acomms::protobuf::IPv4Header::has_source_ip_address
bool has_source_ip_address() const
Definition: network_header.pb.h:2282
goby::acomms::protobuf::NetworkHeader_Protocol_IsValid
bool NetworkHeader_Protocol_IsValid(int value)
goby::acomms::protobuf::ICMPHeader::short1
::google::protobuf::uint32 short1() const
Definition: network_header.pb.h:2603
goby::acomms::protobuf::NetworkHeader_Protocol_Name
const ::std::string & NetworkHeader_Protocol_Name(NetworkHeader_Protocol value)
Definition: network_header.pb.h:124
goby::acomms::protobuf::NetworkHeader::release_udp
::goby::acomms::protobuf::NetworkHeader_UDPHeader * release_udp()
Definition: network_header.pb.h:1892
goby::acomms::protobuf::_UDPHeader_default_instance_
UDPHeaderDefaultTypeInternal _UDPHeader_default_instance_
goby::acomms::protobuf::IPv4Header::has_ttl
bool has_ttl() const
Definition: network_header.pb.h:2210
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::more_fragments
bool more_fragments() const
Definition: network_header.pb.h:1969
goby::acomms::protobuf::UDPHeader::clear_checksum
void clear_checksum()
Definition: network_header.pb.h:2499
goby::acomms::protobuf::IPGatewayICMPControl_MessageType_MessageType_ARRAYSIZE
const int IPGatewayICMPControl_MessageType_MessageType_ARRAYSIZE
Definition: network_header.pb.h:139
goby::acomms::protobuf::IPv4Header::clear_version
void clear_version()
Definition: network_header.pb.h:2041
goby::acomms::protobuf::NetworkHeader_Protocol_Protocol_ARRAYSIZE
const int NetworkHeader_Protocol_Protocol_ARRAYSIZE
Definition: network_header.pb.h:121
goby::acomms::protobuf::IPGatewayICMPControl::set_allocated_address
void set_allocated_address(::std::string *address)
Definition: network_header.pb.h:2808
goby::acomms::protobuf::UDPHeader::clear_length
void clear_length()
Definition: network_header.pb.h:2475
goby::acomms::protobuf::IPv4Header_FlagsFragOffset::internal_default_instance
static const IPv4Header_FlagsFragOffset * internal_default_instance()
Definition: network_header.pb.h:690
goby::acomms::protobuf::NetworkHeader_Protocol_Protocol_MIN
const NetworkHeader_Protocol NetworkHeader_Protocol_Protocol_MIN
Definition: network_header.pb.h:119
goby::acomms::protobuf::NetworkHeader_UDPHeader::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:182
goby::acomms::protobuf::NetworkHeader_Protocol_SCTP
@ NetworkHeader_Protocol_SCTP
Definition: network_header.pb.h:116
goby::acomms::protobuf::UDPHeader::set_length
void set_length(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2483
goby::acomms::protobuf::NetworkHeader_ICMPHeader::internal_default_instance
static const NetworkHeader_ICMPHeader * internal_default_instance()
Definition: network_header.pb.h:307
goby::acomms::protobuf::NetworkHeader::set_srcdest_addr
void set_srcdest_addr(::google::protobuf::uint32 value)
Definition: network_header.pb.h:1863
goby::acomms::protobuf::IPv4Header::set_header_checksum
void set_header_checksum(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2275
goby::acomms::protobuf::IPv4Header::set_ihl
void set_ihl(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2025
goby::acomms::protobuf::IPv4Header::has_ecn
bool has_ecn() const
Definition: network_header.pb.h:2056
goby::acomms::protobuf::NetworkHeader_Protocol_UDP
@ NetworkHeader_Protocol_UDP
Definition: network_header.pb.h:115
goby::acomms::protobuf::IPv4Header::total_length
::google::protobuf::uint32 total_length() const
Definition: network_header.pb.h:2117
goby::acomms::protobuf::_NetworkHeader_UDPHeader_default_instance_
NetworkHeader_UDPHeaderDefaultTypeInternal _NetworkHeader_UDPHeader_default_instance_
goby::acomms::protobuf::UDPHeader::internal_default_instance
static const UDPHeader * internal_default_instance()
Definition: network_header.pb.h:1078
google::protobuf::Message::Message
Message()
Definition: message.h:191
goby::acomms::protobuf::IPGatewayICMPControl::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:1619
goby::acomms::protobuf::IPGatewayICMPControl::MessageType_Parse
static bool MessageType_Parse(const ::std::string &name, MessageType *value)
Definition: network_header.pb.h:1706
friend
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::operator=
IPGatewayICMPControl_QueueReport_SubQueue & operator=(const IPGatewayICMPControl_QueueReport_SubQueue &from)
Definition: network_header.pb.h:1354
goby::acomms::protobuf::IPGatewayICMPControl::has_type
bool has_type() const
Definition: network_header.pb.h:2728
goby::acomms::protobuf::NetworkHeader::New
NetworkHeader * New() const final
Definition: network_header.pb.h:529
goby::acomms::protobuf::NetworkHeader::has_protocol
bool has_protocol() const
Definition: network_header.pb.h:1821
goby::acomms::protobuf::UDPHeader::set_checksum
void set_checksum(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2507
google
Definition: dccl.h:57
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::New
IPGatewayICMPControl_QueueReport * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:1529
goby::acomms::protobuf::NetworkHeader::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:507
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto
Definition: network_header.pb.h:43
goby::acomms::protobuf::IPGatewayICMPControl::MessageType_Name
static const ::std::string & MessageType_Name(MessageType value)
Definition: network_header.pb.h:1703
protobuf_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto::TableStruct
Definition: network_header.pb.h:45
goby::acomms::protobuf::IPGatewayICMPControl::New
IPGatewayICMPControl * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:1648
goby::acomms::protobuf::UDPHeader::DCCLParameters
DCCLParameters
Definition: network_header.pb.h:1163
goby::acomms::protobuf::NetworkHeader_ICMPHeader::operator=
NetworkHeader_ICMPHeader & operator=(const NetworkHeader_ICMPHeader &from)
Definition: network_header.pb.h:277
goby::acomms::protobuf::ICMPHeader::New
ICMPHeader * New(::google::protobuf::Arena *arena) const final
Definition: network_header.pb.h:1244
goby::acomms::protobuf::ICMPHeader::set_type
void set_type(::google::protobuf::uint32 value)
Definition: network_header.pb.h:2535
goby::acomms::protobuf::IPGatewayICMPControl::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: network_header.pb.h:1622
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: network_header.pb.h:1373
goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::Swap
void Swap(IPGatewayICMPControl_QueueReport *other)
goby::acomms::protobuf::NetworkHeader_Protocol_descriptor
const ::google::protobuf::EnumDescriptor * NetworkHeader_Protocol_descriptor()