7 ms·
Thanks for the suggestion. I added this method using Go's packetConn, and its WriteBatch() function, which appears to be using sendmmsg() https://github.com/ato
by atyvr 3y ago
Thanks for the suggestion. I added this method using Go's packetConn, and its WriteBatch() function, which appears to be using sendmmsg()
https://github.com/atoonk/go-pktgen/blob/main/pktgen/packetConn.go https://github.com/atoonk/go-pktgen/blob/main/pktgen/packetC...
I want to try and add it to the af_inet_syscall.go method, but seems like a bit more work than I have time for now. I'm surprised it's already quite fast, even without it.
FYI Latest results in README (pkt_conn is the new one)
https://github.com/atoonk/go-pktgen/blob/main/README.md https://github.com/atoonk/go-pktgen/blob/main/README.md