diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-03-16 19:18:03 +0100 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-03-16 19:18:03 +0100 |
commit | dc35a7bc3a046c919af3a8e59d4dc796c4042abe (patch) | |
tree | d9fa1963405041c25a53babea9c8152317d369e0 /bpf_comp.c | |
parent | a7b0ee3852e05dc92bb98971c09e271d4d7f245e (diff) |
trafgen: add csumicmp for ICMP checksum calculation
Both, the IP and ICMP checksums use the same algorithm from RFC1071.
Thus, it's enough if we give csumip an alias to csumicmp, so that it
can be used in trafgen packet configurations. It's calculated from
the ICMP header + data, with value 0 for this field.
Suggested-by: Jon Schipp <jonschipp@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'bpf_comp.c')
0 files changed, 0 insertions, 0 deletions