Conexus::LL::Packet Class Reference
[Conexus]

#include <conexus/ll_packet.h>

Inheritance diagram for Conexus::LL::Packet:

Inheritance graph
[legend]
List of all members.

Detailed Description

Author:
Rick L Vinyard Jr


Public Types

typedef boost::shared_ptr<
Packet
pointer

Public Member Functions

 Packet (int protocol=ETH_P_IP, int type=SOCK_DGRAM)
virtual void bind () throw (bind_error)
virtual void bind (Address &a) throw (bind_error)
virtual Data read () throw (read_error)
virtual ssize_t write (const void *data, size_t size) throw (write_error)
void set_interface (int)
void set_interface (const std::string)
int interface_index (const std::string name)
std::string interface_name (int ifindex)
std::vector< std::string > interface_names ()
virtual const std::string & object_type ()

Static Public Member Functions

static Packet::pointer create (int protocol=ETH_P_IP, int type=SOCK_DGRAM)

Protected Attributes

Address m_address
int m_protocol


The documentation for this class was generated from the following files:
Generated on Sat Aug 26 17:35:30 2006 by  doxygen 1.4.6