xorp

RequestTablePacketAssembler< A > Class Template Reference

Class to configure a RIP packet to be a table request. More...

#include <packet_assembly.hh>

List of all members.

Public Types

typedef A Addr
typedef IPNet< A > Net
typedef
PacketAssemblerSpecState< A > 
SpState

Public Member Functions

 RequestTablePacketAssembler (Port< A > &port)
bool prepare (RipPacket< A > *pkt, list< RipPacket< A > * > &auth_packets)
 Take RipPacket packet and make it into a table request packet.
template<>
bool prepare (RipPacket< IPv4 > *pkt, list< RipPacket< IPv4 > * > &auth_packets)
template<>
bool prepare (RipPacket< IPv6 > *pkt, list< RipPacket< IPv6 > * > &auth_packets)

Protected Attributes

SpState _sp_state

Detailed Description

template<typename A>
class RequestTablePacketAssembler< A >

Class to configure a RIP packet to be a table request.

This class has specialized IPv4 and IPv6 implementations to cater for address family differences.


Member Function Documentation

template<typename A >
bool RequestTablePacketAssembler< A >::prepare ( RipPacket< A > *  pkt,
list< RipPacket< A > * > &  auth_packets 
)

Take RipPacket packet and make it into a table request packet.

Parameters:
auth_packetsa return-by-reference list with the authenticated RIP packets (one copy for each valid authentication key).
Returns:
true on success, false if an error is encountered. Should an error be encountered the reason is written to the xlog facility.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations