X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FIpV4Packet.hh;h=b801426d726022ff8593839e234a18e24ba17d76;hb=5d62f84a80b2c72cc0aa5cabc3ddad752e87fcc8;hp=0d126282c92289dec841422c845209ce1a4eaa9b;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Packets/IpV4Packet.hh b/Packets/IpV4Packet.hh index 0d12628..b801426 100644 --- a/Packets/IpV4Packet.hh +++ b/Packets/IpV4Packet.hh @@ -75,16 +75,18 @@ namespace senf { Parse_32bit destination() const { return Parse_32bit (this->i() + 16 ); } }; - struct IpV4Types { + struct IpTypes { + // See http://www.iana.org/assignments/protocol-numbers + // Also used by IPv6 typedef boost::uint16_t key_t; }; class IpV4Packet : public Packet, public Parse_IpV4, - public PacketRegistryMixin + public PacketRegistryMixin { - using PacketRegistryMixin::registerInterpreter; + using PacketRegistryMixin::registerInterpreter; public: /////////////////////////////////////////////////////////////////////////// // Types