Alex Bikfalvi
SimStream Documentation
PacketPimSm.h
00001 #pragma once 00002 00003 #include "Packet.h" 00004 00005 #define PACKET_PIM_SM_HEADER 32 00006 00007 class CPacketPimSm : public CPacket 00008 { 00009 public: 00010 enum EPacketPimSmType 00011 { 00012 HELLO = 0, 00013 REGISTER = 1, 00014 REGISTER_STOP = 2, 00015 JOIN_PRUNE = 3, 00016 BOOTSTRAP = 4, 00017 ASSERT = 5 00018 }; 00019 00020 protected: 00021 EPacketPimSmType type; 00022 00023 public: 00024 CPacketPimSm( 00025 EPacketPimSmType type, 00026 __uint32 size, 00027 CPacket* payload, 00028 ETypeOfService tos 00029 ); 00030 virtual ~CPacketPimSm() { } 00031 00032 inline EPacketPimSmType PimSmType() { return this->type; } 00033 virtual inline EPacketType Type() { return PACKET_TYPE_PIM_SM; } 00034 };
Last updated: February 8, 2011