X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=HowTos%2FNewPacket%2FMainpage.dox;h=aa400f97b8d86b524b9c7db94682763ce33fbc0a;hb=456ee576285b76aa46240f8001f426757810dcc1;hp=bd659ab69a26f8e082a2d7359d8e8b467eb18484;hpb=a6a62d801329d592d8e227d9cf75254c2d681049;p=senf.git diff --git a/HowTos/NewPacket/Mainpage.dox b/HowTos/NewPacket/Mainpage.dox index bd659ab..aa400f9 100644 --- a/HowTos/NewPacket/Mainpage.dox +++ b/HowTos/NewPacket/Mainpage.dox @@ -141,7 +141,7 @@ \subsection howto_newpacket_parser_simple Simple field definitions - Packet parser fields are defined using special \ref packetpasermacros. We take the fields + Packet parser fields are defined using special \ref packetparsermacros. We take the fields directly from the packet definition (the GRE RFC in this case). This will give us to the following code fragment: @@ -805,9 +805,6 @@ (senf::VoidPacketParser) (GREPacketParser_OptFields) ); - typedef version__t version_t; - version_t::value_type version() const { return version_(); } - bool valid() const { return version() == 0 && reserved0_5bits_() == 0; } typedef GREPacketParser_OptFields::checksum_t checksum_t;