summaryrefslogtreecommitdiff
path: root/print-tcp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add "tcp.h" and "udp.h" headers, to declare the TCP and UDP stuff neededguy2000-09-231-2/+3
| | | | | | | | | by dissectors, and have dissectors include them rather than <netinet/udp.h>, <netinet/udp_var.h>, or <netinet/tcp.h>, if they actually need that stuff. Remove all unnecessary includes of <netinet/udp*.h> or <netinet/tcp*.h> files.
* do not use ip_p for getting protocol # in tcp_cksum. we may have AH/ESP.itojun2000-08-011-2/+2
|
* tcp checksum. requested from darren reed. code from netbsd.itojun2000-08-011-1/+118
|
* add <ctype.h>assar2000-07-301-1/+2
|
* Changes from Kevin Steves to print, in an RST segment, the payload asguy2000-07-291-8/+55
| | | | | | | | | | | | | | | | | | text, as per RFC 1122: 4.2.2.12 RST Segment: RFC-793 Section 3.4 A TCP SHOULD allow a received RST segment to include data. DISCUSSION It has been suggested that a RST segment could contain ASCII text that encoded and explained the cause of the RST. No standard has yet been established for such data. as some TCP implementations (e.g., HP-UX 11.0) do that. Clean up the code that prints the payload of non-RST segments.
* replace bzero with memsetassar2000-07-291-2/+2
|
* remove non-STDC codeassar2000-07-011-4/+1
|
* support print the NFS-over-TCPassar2000-06-011-2/+28
| | | | From Francisco Matias Cuenca-Acuna <mcuenca@george.rutgers.edu>
* -Wall -Werror clean. fix uninitialized variables.itojun2000-04-281-6/+9
|
* cast result from ntohl() with u_int32_t, some platforms still mistakinglyitojun2000-04-271-23/+21
| | | | | | use u_long for it. use u_int{16,32}_t. ECN support improvement (from net/openbsd).
* add print-ascii.c and print-telnet.c from netbsd.itojun1999-12-221-3/+9
| | | | | - add -X option for ascii printing. - telnet command sequences (ff xx xx) will be dumped with -vvv -X.
* * print-rt6.c: make IPv6 routing header printing work with new 2292bisitojun1999-12-221-4/+8
| | | | | | | | | | | API. * print-bgp.c: improve options printing. ugly code exists for unaligned option parsing (need some fix). * const poisoning in SMB decoder. * make dump format back to original. someone may want to add an option to do ascii printing, but keep the default behavior as is for scripts used in many places. * -Wall -Werror clean checks.
* - Print the IP source and destination if the TCP header is truncated beforefenner1999-11-221-9/+13
| | | | | | | the ports. - Print the TCP port information if the TCP header is truncated after the ports. - Print the sequence number if -vv even if you wouldn't normally.
* patches from Andrew Tridgell <tridge@linuxcare.com> to add decoding of SMB ↵assar1999-11-211-1/+5
| | | | packets
* Switch to config.h instead of passing defines in DEFS.fenner1999-11-211-1/+5
|
* handle ECHO and re-do SACK. From kuznet@ms2.inr.ac.ruassar1999-11-211-10/+38
|
* Bring in KAME IPv6 tcpdump. replaces esp/ah/isakmp decoder.itojun1999-10-301-6/+108
| | | | | | | Hope I did not break anything. Portability on IPv4-only node needs checking, I'll do this very soon. (sorry for rather jumbo commit) XXx what is _FAVOR_BSD?
* patches to help build on Linux 2.2linux22mcr1999-10-171-3/+3
|
* Initial revisionmcr1999-10-071-0/+363