Commit 690d4a9b authored by Brickner_cp's avatar Brickner_cp

GRE

parent cdb913a5
......@@ -15,6 +15,11 @@ namespace PcapDotNet.Packets.Gre
public bool ChecksumPresent { get; set; }
public ushort? Checksum { get; set; }
public uint? Key { get; set; }
public void SetKey(ushort keyPayloadLength, ushort keyCallId)
{
Key = (uint)((keyPayloadLength << 16) | keyCallId);
}
public uint? SequenceNumber { get; set; }
public uint? AcknowledgmentSequenceNumber { get; set; }
public ushort? RoutingOffset { get; set; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment