diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-08-13 02:11:19 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-09-21 09:57:35 +0200 |
commit | 34e4f0deb66f823092fb4fa251e885503e96273f (patch) | |
tree | f9df73cd4bdcaedc378fceae1c7aa88d92161cf1 /curvetun_client.c | |
parent | 553a9c65beeb77072f08e4d8cd876b062dcdb193 (diff) |
trafgen: tcp: Update csum at runtime if it needed
Update TCP checksum field if any TCP of fields was changed. Use same
checksum update function on 'packet_finish' and 'header update'.
Set 'is_csum_valid = false' if lower IPv4/IPv6 pseudo header was changed.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun_client.c')
0 files changed, 0 insertions, 0 deletions