14 #ifndef HH_WiBACK_Core_Interfaces_EthernetFragmenter_ 15 #define HH_WiBACK_Core_Interfaces_EthernetFragmenter_ 1 18 #include <boost/unordered/unordered_map.hpp> 43 unsigned fragmentationCount_;
53 std::vector<senf::EthernetPacket> & fragments();
56 std::vector<senf::EthernetPacket> fragments_;
74 boost::unordered_map<senf::MACAddress,std::uint16_t>
const & fragThreshMap()
const;
83 void onRequestBypass();
85 boost::unordered_map<senf::MACAddress,std::uint16_t> fragThreshMap_;
86 std::uint16_t defaultFragThresh_;
static MACAddress const None
virtual ~EthernetFragmenterBase()
senf::ppi::connector::PassiveInput< senf::EthernetPacket > input
senf::ppi::connector::ActiveOutput< senf::EthernetPacket > output
#define SENF_PPI_MODULE(name)
void do_fragmentFrame(senf::EthernetPacket const ð, unsigned threshold)
unsigned fragmentationCount()
ConcretePacket< EthernetPacketType > EthernetPacket
static bool fragmentationRequired(senf::EthernetPacket const &pkt, unsigned threshold)