From: tho Date: Thu, 15 Nov 2007 16:25:11 +0000 (+0000) Subject: added useful table for IPv4 header X-Git-Url: http://g0dil.de/git?p=senf.git;a=commitdiff_plain;h=1614a15f56da4d49da1033537fe0de7c921545b8 added useful table for IPv4 header git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@522 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/DefaultBundle/IpV4Packet.hh b/Packets/DefaultBundle/IpV4Packet.hh index 5b45f69..004efaf 100644 --- a/Packets/DefaultBundle/IpV4Packet.hh +++ b/Packets/DefaultBundle/IpV4Packet.hh @@ -58,8 +58,8 @@ namespace senf { /** \brief Parse an IpV4 packet - Parser implementing the IpV4 header. The fields implemented are: - + Parser implementing the IpV4 header. + \see IpV4PacketType \n RFC 791 @@ -114,6 +114,35 @@ namespace senf { }; /** \brief IpV4 packet + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
0 4 812 16 20 24 2831
\ref Parse_IpV4::version() "Version"\ref Parse_IpV4::ihl() "IHL"\ref Parse_IpV4::tos() "TOS"\ref Parse_IpV4::length() "Length"
\ref Parse_IpV4::identifier() "Identifier"\ref Parse_IpV4::reserved() "R"\ref Parse_IpV4::df() "DF"\ref Parse_IpV4::mf() "MF"\ref Parse_IpV4::frag() "Fragment Offset"
\ref Parse_IpV4::ttl() "Time to Live (ttl)"\ref Parse_IpV4::protocol() "Protocol"\ref Parse_IpV4::checksum() "Header Checksum"
\ref Parse_IpV4::source() "Source Address"
\ref Parse_IpV4::destination() "Destination Address"
\par Packet type (typedef): \ref IpV4Packet diff --git a/doclib/senf.css b/doclib/senf.css index c6e2d4b..ba3e05f 100644 --- a/doclib/senf.css +++ b/doclib/senf.css @@ -235,6 +235,30 @@ dl.note { background-color: #F0F8F8; padding: 4px; } + +table.packet { + width: 95%; + margin: 10pt auto; + border: 1px solid #AAAAAA; + padding: 2px; + border-spacing: 0; + white-space: nowrap; + text-align: center; + table-layout: fixed; +} + +table.packet td,th { + border: 2px solid white; + background-color: #EEEEEE; + padding: 6px 4px; +} + +table.packet th { + background-color: white; + text-align: left; + font-weight: normal; + padding: 0px; +} table.senf { width: 95%;