Packets/DefaultBundle/MPLSPacket: added MPLS Ethertype to Ethernet registry
cni [Mon, 29 Jun 2009 22:29:50 +0000 (22:29 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1248 270642c3-0616-0410-b53a-bc976706d245

Packets/DefaultBundle/MPLSPacket.cc

index 86b3d7c..d191e5b 100644 (file)
 #include <iomanip>
 #include <boost/io/ios_state.hpp>
 
+#include "EthernetPacket.hh"
+
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
+
+namespace {
+    senf::PacketRegistry<senf::EtherTypes>::RegistrationProxy<senf::MPLSPacket>
+        registerMPLSPacket (0x8848);
+}
+
+
 // senf::MPLSPacketType
 
 prefix_ void senf::MPLSPacketType::dump(packet p, std::ostream & os)