diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-08-13 02:11:13 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-09-21 09:54:41 +0200 |
commit | 573b1fff25af70492deb9e59c0b48d77b0c1ed03 (patch) | |
tree | 46457f4ea0f7fe6c95c025714e8e52b04de41d15 /dissector.c | |
parent | d5bcf8d0f5a2a549c3cbe71e7704bb557c7eb6a3 (diff) |
trafgen: ipv4: Update csum at runtime if needed
Handle 'field_changed' callback to check if IPv4 csum is needed to be
recalculated, if so - update it on 'packet_update' event.
Added 'is_csum_valid' to proto_hdr struct to check if csum needs to be
updated.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dissector.c')
0 files changed, 0 insertions, 0 deletions