summaryrefslogtreecommitdiff
path: root/flowtop/.gitignore
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-02 16:33:54 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-02 16:33:54 +0100
commitb5d757ae6de3b28f326644c63f7e2b9df4109764 (patch)
tree82db80b1e06ae1a25784d39b107bfcbea677e442 /flowtop/.gitignore
parentdddf36f0b747dde13fe6af4d368c927c8d1c76c9 (diff)
trafgen: Pre-calculate checksums if possible
The TCP/UDP checksums cannot be calculated in the parser as the packet payload following the TCP/UDP header is not yet know. However, we can calculate these checksums before the send loop if the only dynamic elements of the packet are checksums. This change avoids the overhead of recalculating the checksums for every iteration the send loop in these cases. Suggested-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'flowtop/.gitignore')
0 files changed, 0 insertions, 0 deletions