62 timer(
"mpls gen", boost::bind(&
MPLSGenerator::timeout, this)),
72 eth->type_length() << 0x8847;
73 senf::DataPacket
data(senf::DataPacket::createAfter(eth, config.
pktSize - 14));
90 int main(
int argc,
char const * argv[])
94 if (!configuration.
parse( argc, argv)) {
107 senf::ppi::connect( generator, sink);
config::time_type clock_type
senf::INet4SocketAddress destination
u8 data[SPECTRAL_HT20_NUM_BINS]
boost::uint64_t numPackets_
senf::scheduler::TimerEvent timer
void noroute(connector::Connector &connector)
static SENF_CLOCKSERVICE_CONSTEXPR int64_type in_microseconds(clock_type const &v)
boost::uint32_t pktsPerSecond
senf::ClockService::clock_type interval_
void timeout(ClockService::clock_type const &timeout, bool initiallyEnabled=true)
int run(int argc, char const *argv[])
senf::ppi::connector::ActiveOutput< senf::EthernetPacket > output
senf::ClockService::clock_type next_
static SENF_CLOCKSERVICE_CONSTEXPR clock_type microseconds(int64_type const &v)
#define SENF_PPI_MODULE(name)
bool parse(int argc, char const *argv[])
int main(int argc, char const *argv[])
MACAddress hardwareAddress() const
ProtocolClientSocketHandle< PacketSocketProtocol > PacketSocketHandle
ClockService::clock_type const & now() const
ConcretePacket< EthernetPacketType > EthernetPacket
MPLSGenerator(senf::MACAddress const &mac, Configuration const &config)