/// The Sequence Number field contains an unsigned 32 bit integer which is inserted by the encapsulator.
/// It may be used by the receiver to establish the order in which packets have been transmitted from the encapsulator to the receiver.
/// null off the sequence number present bit is 0.
/// </summary>
publicuint?SequenceNumber{get;set;}
/// <summary>
/// Contains the sequence number of the highest numbered GRE packet received by the sending peer for this user session.
/// Present if A bit (Bit 8) is one (1).
/// null iff not present.
/// </summary>
publicuint?AcknowledgmentSequenceNumber{get;set;}
/// <summary>
/// The offset field indicates the octet offset from the start of the Routing field to the first octet of the active Source Route Entry to be examined.
/// This field is present if the Routing Present or the Checksum Present bit is set to 1, and contains valid information only if the Routing Present bit is set to 1.
/// Should be null iff the Routing is null (routing is not present).
/// </summary>
publicushort?RoutingOffset{get;set;}
/// <summary>
/// The Routing field is optional and is present only if the Routing Present bit is set to 1.
/// The Routing field is a list of Source Route Entries (SREs).
/// If the source route is incomplete, then the Strict Source Route bit is checked.
/// If the source route is a strict source route and the next IP destination or autonomous system is NOT an adjacent system, the packet MUST be dropped.
/// The SRE Offset field indicates the octet offset from the start of the Routing Information field to the first octet of the active entry in Source Route Entry to be examined.
/// </summary>
publicabstractbytePayloadOffset{get;}
/// <summary>
/// The SRE Length field contains the number of octets in the SRE.
/// </summary>
publicabstractbytePayloadLength{get;}
/// <summary>
/// Two entries are equal iff they have the same address family, length, payload offset and payload.
/// The SRE Offset field indicates the octet offset from the start of the Routing Information field to the first octet of the active entry in Source Route Entry to be examined.
/// The SRE Offset field indicates the octet offset from the start of the Routing Information field to the first octet of the active entry in Source Route Entry to be examined.
/// Initializes using an address family, data, and offset to the first octet of the active entry in Source Route Entry to be examined.
/// </summary>
/// <param name="addressFamily">The Address Family field contains a two octet value which indicates the syntax and semantics of the Routing Information field.</param>
/// <param name="data">The data of the entry source route.</param>
/// <param name="offset">The SRE Offset field indicates the octet offset from the start of the Routing Information field to the first octet of the active entry in Source Route Entry to be examined.</param>
/// The SRE Length field contains the number of octets in the SRE.
/// </summary>
publicoverridebytePayloadLength
{
get{return(byte)Data.Length;}
}
/// <summary>
/// The SRE Offset field indicates the octet offset from the start of the Routing Information field to the first octet of the active entry in Source Route Entry to be examined.