Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wiback
senf
Commits
8ac0d4fc
Commit
8ac0d4fc
authored
17 years ago
by
tho
Browse files
Options
Downloads
Patches
Plain Diff
added useful table for IPv4 header
parent
3c6707b0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Packets/DefaultBundle/IpV4Packet.hh
+31
-2
31 additions, 2 deletions
Packets/DefaultBundle/IpV4Packet.hh
doclib/senf.css
+24
-0
24 additions, 0 deletions
doclib/senf.css
with
55 additions
and
2 deletions
Packets/DefaultBundle/IpV4Packet.hh
+
31
−
2
View file @
8ac0d4fc
...
...
@@ -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
<a href="http://tools.ietf.org/html/rfc791">RFC 791</a>
...
...
@@ -114,6 +114,35 @@ namespace senf {
};
/** \brief IpV4 packet
<table class="packet" cellpadding="5" cellspacing="1" border="1">
<tr>
<th width="12%">0</th> <th width="12%">4</th> <th width="12%">8</th>
<th width="12%">12</th> <th width="3%">16</th>
<th width="3%"></th> <th width="3%"></th> <th width="3%"></th>
<th width="12%">20</th> <th width="12%">24</th> <th width="6%">28</th>
<th style="text-align:right" width="6%">31</th>
</tr><tr>
<td>\ref Parse_IpV4::version() "Version"</td>
<td>\ref Parse_IpV4::ihl() "IHL"</td>
<td colspan="2">\ref Parse_IpV4::tos() "TOS"</td>
<td colspan="8">\ref Parse_IpV4::length() "Length"</td>
</tr><tr>
<td colspan="4">\ref Parse_IpV4::identifier() "Identifier"</td>
<td>\ref Parse_IpV4::reserved() "R"</td>
<td>\ref Parse_IpV4::df() "DF"</td>
<td>\ref Parse_IpV4::mf() "MF"</td>
<td colspan="5">\ref Parse_IpV4::frag() "Fragment Offset"</td>
</tr><tr>
<td colspan="2">\ref Parse_IpV4::ttl() "Time to Live (ttl)"</td>
<td colspan="2">\ref Parse_IpV4::protocol() "Protocol"</td>
<td colspan="8">\ref Parse_IpV4::checksum() "Header Checksum"</td>
</tr><tr>
<td colspan="12">\ref Parse_IpV4::source() "Source Address"</td>
</tr><tr>
<td colspan="12">\ref Parse_IpV4::destination() "Destination Address"</td>
</tr>
</table>
\par Packet type (typedef):
\ref IpV4Packet
...
...
This diff is collapsed.
Click to expand it.
doclib/senf.css
+
24
−
0
View file @
8ac0d4fc
...
...
@@ -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%
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment