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 kobe.xorp.net on Wed Jan 7 19:11:07 2009, using kdoc 2.0a54+XORP.