From 746a5275851e1345b0aa2f14d65bda14b58aac4e Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 17 Apr 2007 10:54:59 +0000 Subject: header format --- internet-draft-anytun.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'internet-draft-anytun.xml') diff --git a/internet-draft-anytun.xml b/internet-draft-anytun.xml index 290d441..80ed627 100644 --- a/internet-draft-anytun.xml +++ b/internet-draft-anytun.xml @@ -155,8 +155,32 @@ client 1 ----------- -> |server 3| -> ----------- client 2
+
+ Protocol Format + + 0 1 2 3 + 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + |V=2| ???????????????????? | sequence number | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | + | | payload lenght | payload type | | + | |-------------------------------+-------------------------------| | + | | .... payload ... | | + +-------------------------------+ | + | | | padding (OPTIONAL) | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | ~ MKI (OPTIONAL) ~ | + | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | + | : authentication tag (RECOMMENDED) : | + | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | + | | + +- Encrypted Portion* Authenticated Portion ---+ + +
+
-
+
The protocol field defines the payload protocol. ETHER TYPE protocol numerbers are used. http://www.iana.org/assignments/ethernet-numbers . The values 0000-05DC are reserverd and not used at the moment.
Some exmples for protocol types -- cgit v1.2.3