#include <senf/Ext/NetEmu/Ethernet/EthernetFragmenter.hh>
Public Member Functions | |
EthernetFragmenterModule (std::uint16_t defaultFragThresh=1500u) | |
void | fragmentationThreshold (std::uint16_t _fragmentationThreshold, senf::MACAddress const &dst=senf::MACAddress::None) |
std::uint16_t | fragmentationThreshold (senf::MACAddress const &dst=senf::MACAddress::None) const |
boost::unordered_map< senf::MACAddress, std::uint16_t > const & | fragThreshMap () const |
void | reset () |
void | bypass (bool on) |
bool | bypass () const |
Public Member Functions inherited from senf::ppi::module::Module | |
virtual | ~Module () |
Public Member Functions inherited from senf::emu::EthernetFragmenterBase | |
EthernetFragmenterBase () | |
virtual | ~EthernetFragmenterBase () |
unsigned | fragmentationCount () |
Public Attributes | |
senf::ppi::connector::PassiveInput< senf::EthernetPacket > | input |
senf::ppi::connector::ActiveOutput< senf::EthernetPacket > | output |
Definition at line 60 of file EthernetFragmenter.hh.
senf::emu::EthernetFragmenterModule::EthernetFragmenterModule | ( | std::uint16_t | defaultFragThresh = 1500u | ) |
Definition at line 115 of file EthernetFragmenter.cc.
void senf::emu::EthernetFragmenterModule::bypass | ( | bool | on | ) |
Definition at line 160 of file EthernetFragmenter.cc.
bool senf::emu::EthernetFragmenterModule::bypass | ( | ) | const |
Definition at line 166 of file EthernetFragmenter.cc.
void senf::emu::EthernetFragmenterModule::fragmentationThreshold | ( | std::uint16_t | _fragmentationThreshold, |
senf::MACAddress const & | dst = senf::MACAddress::None |
||
) |
Definition at line 123 of file EthernetFragmenter.cc.
std::uint16_t senf::emu::EthernetFragmenterModule::fragmentationThreshold | ( | senf::MACAddress const & | dst = senf::MACAddress::None | ) | const |
Definition at line 137 of file EthernetFragmenter.cc.
boost::unordered_map< senf::MACAddress, std::uint16_t > const & senf::emu::EthernetFragmenterModule::fragThreshMap | ( | ) | const |
Definition at line 148 of file EthernetFragmenter.cc.
void senf::emu::EthernetFragmenterModule::reset | ( | ) |
Definition at line 154 of file EthernetFragmenter.cc.
senf::ppi::connector::PassiveInput<senf::EthernetPacket> senf::emu::EthernetFragmenterModule::input |
Definition at line 64 of file EthernetFragmenter.hh.
senf::ppi::connector::ActiveOutput<senf::EthernetPacket> senf::emu::EthernetFragmenterModule::output |
Definition at line 68 of file EthernetFragmenter.hh.