How could I describe specificed protocl, Let ethereal could
decode some packet.
such as,
RFC
2004
Minimal Encapsulation for
IP October
1996
...
+---------------------------+
+---------------------------+
|
|
|
| |
IP Header
| | Modified IP
Header |
|
|
|
| +---------------------------+ ====>
+---------------------------+
|
| | Minimal Forwarding Header
|
|
|
+---------------------------+
| IP
Payload
|
|
|
|
|
|
|
|
|
| IP
Payload |
+---------------------------+
|
|
|
|
+---------------------------+
...
The format of the minimal forwarding header
is as follows:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Protocol |S| reserved
| Header
Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Original Destination
Address
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: (if present)
Original Source
Address
:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
I want describe the protocol, How to do?
Thanks, all
|