ip.pro |
|
 |
ip |
RFC 791 + RFC 1700 (Assigned Numbers) |
 |
field -version |
 |
 |
integer |
4 |
 |
version of IP |
 |
field -headerlength |
 |
 |
integer |
5 |
 |
length of header in DWORD |
 |
field -tos |
 |
 |
record |
0x00 |
 |
type of service - (precedence, flags) |
 |
field -length |
 |
 |
length |
0 |
 |
total length |
 |
field -identification |
 |
 |
integer |
0 |
 |
identification set by sender |
 |
field -flags |
 |
 |
flags |
0x02 |
 |
flags (fragmentation) |
 |
field -fragoffset |
 |
 |
integer |
0 |
 |
offset of the fragment in the datagram (in offset of 8 bytes) |
 |
field -ttl |
 |
 |
integer |
128 |
 |
time to live |
 |
field -protocol |
 |
 |
list |
6 |
 |
next level protocol used in the data portion of the IP datagram |
 |
field -checksum |
 |
 |
checksum |
|
 |
checksum (for the header only) |
 |
field -src |
 |
 |
address_ip |
'%address_ip' |
 |
source address |
 |
field -dest |
 |
 |
address_ip |
'127.0.0.1' |
 |
destination address |
 |
fieldvariablearray -options |
 |
 |
mapper(ip_option) |
|
 |
options |
 |
 |
 |
ip_option |
|
 |
field -type |
 |
 |
sparelist |
0 |
 |
the option itself (including flags) |
 |
field -typeflags |
 |
 |
flags |
0 |
 |
information about the option |
 |
field -typekind |
 |
 |
list |
0 |
 |
information about the option |
 |
field -data |
 |
 |
switch |
|
 |
specific data depending on the type |
 |
 |
 |
internal ip_nodecode |
|
 |
field -length |
 |
 |
integer |
0 |
 |
length of the option |
 |
field -data |
 |
 |
blob |
|
 |
the option data |
 |
 |
 |
internal ip_route |
|
 |
field -length |
 |
 |
integer |
0 |
 |
length of the option |
 |
field -pointer |
 |
 |
integer |
0 |
 |
pointer to the next area where to store data (if > length then no more space) |
 |
fieldarray -addresses |
 |
 |
address_ip |
0 |
 |
addresses recorded |
 |
 |