diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-12-13 02:24:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-12-13 02:24:23 +0000 |
commit | 677a1c6dc236c75344f3410ac740ef3b49ff8663 (patch) | |
tree | 08581cec2fec47739698a8b41d485ce576572b9a /packet-syslog.c | |
parent | 10022aee67c0992d1e9bcf8df80036e3fe958eef (diff) |
Add code to check the checksums of TCP segments and UDP datagrams;
replace the existing checksummer with a modified version of the BSD
checksumming code. Add a flag to the "packet_info" structure to
indicate that a packet is the first fragment of a fragmented datagram,
so that the checksummers won't try to checksum those.
(It doesn't seem to add a lot of CPU overhead, so we don't introduce a
flag to disable it, yet. Further checks may be necessary to see whether
the overhead is just swamped by other overheads when scanning through a
capture dissecting all frames, or if it truly is negligible.)
Make the Boolean preference option controlling whether to make the
top-level protocol tree item for TCP display a packet summary static to
the TCP dissector (it doesn't need to be accessible outside the TCP
dissector).
svn path=/trunk/; revision=2751
Diffstat (limited to 'packet-syslog.c')
0 files changed, 0 insertions, 0 deletions