Goby v2
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
goby::acomms::protobuf::NetworkHeader Class Reference
Inheritance diagram for goby::acomms::protobuf::NetworkHeader:
Inheritance graph
[legend]

Public Types

enum  DCCLParameters { DCCL_ID = 61440, DCCL_MAX_BYTES = 8 }
 
typedef NetworkHeader_UDPHeader UDPHeader
 
typedef NetworkHeader_ICMPHeader ICMPHeader
 
typedef NetworkHeader_SCTPHeader SCTPHeader
 
typedef NetworkHeader_Protocol Protocol
 

Public Member Functions

 NetworkHeader (const NetworkHeader &from)
 
NetworkHeaderoperator= (const NetworkHeader &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (NetworkHeader *other)
 
NetworkHeaderNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const NetworkHeader &from)
 
void MergeFrom (const NetworkHeader &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_protocol () const
 
void clear_protocol ()
 
inline::goby::acomms::protobuf::NetworkHeader_Protocol protocol () const
 
void set_protocol (::goby::acomms::protobuf::NetworkHeader_Protocol value)
 
bool has_srcdest_addr () const
 
void clear_srcdest_addr ()
 
inline::google::protobuf::uint32 srcdest_addr () const
 
void set_srcdest_addr (::google::protobuf::uint32 value)
 
bool has_udp () const
 
void clear_udp ()
 
const ::goby::acomms::protobuf::NetworkHeader_UDPHeaderudp () const
 
inline::goby::acomms::protobuf::NetworkHeader_UDPHeader * mutable_udp ()
 
inline::goby::acomms::protobuf::NetworkHeader_UDPHeader * release_udp ()
 
void set_allocated_udp (::goby::acomms::protobuf::NetworkHeader_UDPHeader *udp)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const NetworkHeaderdefault_instance ()
 
static bool Protocol_IsValid (int value)
 
static const ::google::protobuf::EnumDescriptor * Protocol_descriptor ()
 
static const ::std::string & Protocol_Name (Protocol value)
 
static bool Protocol_Parse (const ::std::string &name, Protocol *value)
 

Static Public Attributes

static const Protocol ICMP = NetworkHeader_Protocol_ICMP
 
static const Protocol UDP = NetworkHeader_Protocol_UDP
 
static const Protocol SCTP = NetworkHeader_Protocol_SCTP
 
static const Protocol Protocol_MIN
 
static const Protocol Protocol_MAX
 
static const int Protocol_ARRAYSIZE
 
static const int kProtocolFieldNumber = 1
 
static const int kSrcdestAddrFieldNumber = 10
 
static const int kUdpFieldNumber = 20
 

Friends

void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto ()
 
void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto ()
 
void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto ()
 

Detailed Description

Definition at line 317 of file network_header.pb.h.

Member Data Documentation

const int goby::acomms::protobuf::NetworkHeader::Protocol_ARRAYSIZE
static
Initial value:
=
NetworkHeader_Protocol_Protocol_ARRAYSIZE

Definition at line 383 of file network_header.pb.h.

const Protocol goby::acomms::protobuf::NetworkHeader::Protocol_MAX
static
Initial value:
=
NetworkHeader_Protocol_Protocol_MAX

Definition at line 381 of file network_header.pb.h.

const Protocol goby::acomms::protobuf::NetworkHeader::Protocol_MIN
static
Initial value:
=
NetworkHeader_Protocol_Protocol_MIN

Definition at line 379 of file network_header.pb.h.


The documentation for this class was generated from the following file: