#include <senf/Ext/NetEmu/P2PTunnel/TunnelController.hh>
Public Types | |
typedef TunnelClientInterface | Interface |
Public Types inherited from senf::emu::detail::TunnelControllerBase | |
typedef UDPv6ClientSocketHandle | Handle |
typedef EthernetPacket | PacketType |
Public Member Functions | |
TunnelClientController (TunnelClientInterface &interface) | |
virtual | ~TunnelClientController () |
bool | established () const |
void | reset () |
void | serverAddress (INet6SocketAddress const &address) |
INet6SocketAddress const & | serverAddress () const |
unsigned | fragmentationThreshold () const |
void | fragmentationThreshold (unsigned mtu) |
Public Member Functions inherited from senf::emu::detail::TunnelControllerBase | |
PacketType | readPacket (Handle &handle) |
bool | writePacket (Handle &handle, PacketType packet) |
ClockService::clock_type | timeout () const |
void | timeout (ClockService::clock_type t) |
ppi::QueueingAlgorithm & | qAlgorithm () const |
void | qAlgorithm (ppi::QueueingAlgorithm::ptr qAlgorithm) |
void | dumpInfo (std::ostream &os) |
unsigned | fragmentationCount () |
Protected Member Functions | |
void | v_prependTHdr (EthernetPacket ð) override |
std::pair< INet6SocketAddress, unsigned > | v_getTxInfo (Packet const ð) const override |
Protected Member Functions inherited from senf::emu::detail::TunnelControllerBase | |
TunnelControllerBase (TunnelInterfaceBase &interface) | |
virtual | ~TunnelControllerBase () |
bool | sendPkt (Handle &handle, MACAddress const &dstMAC, senf::EthernetPacket pkt) |
void | do_sendPkt (Handle &handle, senf::EthernetPacket &pkt, std::pair< senf::INet6SocketAddress, unsigned > const &txInfo) |
void | do_sendPkt (Handle &handle, senf::EthernetPacket &pkt) |
void | flushQueue (Handle &handle) |
void | sendCtrlPacket (Handle &handle, MACAddress const &dstMAC, boost::uint8_t code) |
void | sendCtrlPacket (Handle &handle, MACAddress const &dstMAC, TunnelCtrlPacket ctrlPacket) |
Additional Inherited Members | |
Static Public Attributes inherited from senf::emu::detail::TunnelControllerBase | |
static const unsigned | TunnelOverhead = 46u |
Static Protected Member Functions inherited from senf::emu::detail::TunnelControllerBase | |
static bool | isTunnelCtrlPacket (EthernetPacket const ð) |
Protected Attributes inherited from senf::emu::detail::TunnelControllerBase | |
senf::Detail::DifferenceSigned | seqNoDiff_ |
Definition at line 252 of file TunnelController.hh.
Definition at line 256 of file TunnelController.hh.
senf::emu::detail::TunnelClientController::TunnelClientController | ( | TunnelClientInterface & | interface | ) |
Definition at line 592 of file TunnelController.cc.
|
inlinevirtual |
Definition at line 259 of file TunnelController.hh.
bool senf::emu::detail::TunnelClientController::established | ( | ) | const |
Definition at line 725 of file TunnelController.cc.
unsigned senf::emu::detail::TunnelClientController::fragmentationThreshold | ( | ) | const |
Definition at line 772 of file TunnelController.cc.
void senf::emu::detail::TunnelClientController::fragmentationThreshold | ( | unsigned | mtu | ) |
Definition at line 764 of file TunnelController.cc.
void senf::emu::detail::TunnelClientController::reset | ( | ) |
Definition at line 731 of file TunnelController.cc.
void senf::emu::detail::TunnelClientController::serverAddress | ( | INet6SocketAddress const & | address | ) |
Definition at line 752 of file TunnelController.cc.
senf::INet6SocketAddress const & senf::emu::detail::TunnelClientController::serverAddress | ( | ) | const |
Definition at line 758 of file TunnelController.cc.
|
overrideprotectedvirtual |
Implements senf::emu::detail::TunnelControllerBase.
Definition at line 686 of file TunnelController.cc.
|
overrideprotectedvirtual |
Implements senf::emu::detail::TunnelControllerBase.
Definition at line 674 of file TunnelController.cc.