class PacketDecoder

Packet byte streams are decoded through this class. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Packet byte streams are decoded through this class.

 ~PacketDecoder ()

~PacketDecoder

void  register_decoder (Packet *packet)

register_decoder

Register the packet/decode routines

Parameters:

packetdecoder
void  register_decoder (Packet *packet, OspfTypes::Version version, OspfTypes::Type type)

register_decoder

Register the packet/decode routines

Parameters:

packetdecoder
versionOSPF version of the decoder
typeof decoder
Packetdecode (uint8_t *ptr, size_t len)
throw(InvalidPacket)

decode

Decode byte stream.

Parameters:

ptrto data packet
lengthof data packet

Returns: a packet structure, which must be free'd


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:23:58 2007, using kdoc $.