MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
MIT License
1.05k
stars
235
forks
source link
Reset prev along with the pcap file in replay-pcap #325
I'm pretty sure something like this is needed to avoid computing a reversed delay when looping a pcap file.
I haven't tested this implementation though, in the upcoming pull request for replay-pcap-multi i had to split off the pcap reading and sending part to a separate function replayonce to make the same thing work there.
I'm pretty sure something like this is needed to avoid computing a reversed delay when looping a pcap file.
I haven't tested this implementation though, in the upcoming pull request for replay-pcap-multi i had to split off the pcap reading and sending part to a separate function replayonce to make the same thing work there.