SpoofPortIO< A > Class Template Reference

Inheritance diagram for SpoofPortIO< A >:
PortIOBase< A >

List of all members.

Public Types

typedef A Addr
typedef PortIOUserBase< A > PortIOUser

Public Member Functions

 SpoofPortIO (PortIOUserBase< A > &user)
bool send (const Addr &addr, uint16_t port, const vector< uint8_t > &rip_packet)
 Called by RIP Port instance.
bool pending () const
 Check if send request is pending.
const Addr & last_rip_send_addr () const
uint16_t last_rip_send_port () const
const vector< uint8_t > & last_rip_send_data () const
void last_rip_send_flush ()

Private Attributes

vector< uint8_t > _lo_data
Addr _lo_addr
uint16_t _lo_port
bool _pending

template<typename A>
class SpoofPortIO< A >

Member Function Documentation

template<typename A>
bool SpoofPortIO< A >::pending ( ) const [inline, virtual]

Check if send request is pending.

true if a send request is pending, false otherwise.

Implements PortIOBase< A >.

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