Commit Graph

73 Commits

Author SHA1 Message Date
itojun bffdeb20f5 tiny sync with KAME code. 1999-09-04 03:58:13 +00:00
itojun 159487207b add NetBSD RCSID where necessary.
add __RCSID where necessary.
make sure "make lint" does not raise fatal error (print-nfs.c)
1999-09-04 03:36:41 +00:00
itojun a91686b4c9 fix printing of IPv4 first fragment size.
(variable "len" was damaged by chained header onion-peeling code)
1999-08-26 14:52:04 +00:00
itojun 5176eb1966 sync with kame; print IPv6 fragment id more nicely. 1999-08-26 11:16:06 +00:00
itojun 11b205990c improve icmp6 printing on jumbogram case.
sync print-null.c with recent KAME code.
1999-07-26 06:26:58 +00:00
itojun c4c4038edf s/u_short/u_int16_t/ and others (just to be sure) 1999-07-26 06:11:57 +00:00
explorer a3d357795d print ip-proto PIM packets (ip proto 103) 1999-07-25 04:23:21 +00:00
itojun ea6e86754f print "ip6:" when -e is specified for DLT_NULL device. 1999-07-25 00:13:07 +00:00
itojun 0ff82b2f3d fix compilation on alpha. 1999-07-06 13:05:14 +00:00
itojun 5833a5a382 add NetBSD RCS ID where necessary. 1999-07-04 02:57:51 +00:00
itojun e4aa9b3d90 do tcp/udp checksum only if it is IPv4.
TODO: IPv6 tcp/udp pseudo header checksum
1999-07-02 14:51:22 +00:00
itojun c282889c17 Pv6, IPsec, ospf6, ripng, dhcp and other protocols support. 1999-07-02 11:31:28 +00:00
nathanw 42aa7dd2a0 Since this uses memcpy(), we need to pull in string.h to make this compile
on the alpha. Now confirmed working on that platform.
1999-06-25 03:22:35 +00:00
sommerfeld 4b5ec636eb Fix obvious LP64 and aliasing bogons in checksum verification code.
Should fix spurious "bad checksum" errors on alpha, but not yet tested
on that platform.
1999-06-25 03:08:02 +00:00
thorpej 38d9ae6199 Oops, fix a typo in a printf. 1999-05-11 02:56:55 +00:00
thorpej fe124d16bb Add support for the new NetBSD PPP data link types, add some more
PPP definitions, and handle Cisco-format frames that come in off
of sync PPP interfaces.
1999-05-11 02:54:29 +00:00
sommerfe 88201e4f1b Fix PR 7196: bad udp checksum reported when capture barely too short 1999-04-29 21:20:13 +00:00
chopps 1b017ba3a8 fix the cksum routine and parse ESH packets. 1999-04-05 00:58:29 +00:00
itohy 060a955d94 Make it compile on big-endian platforms. 1999-03-25 05:07:34 +00:00
bad d1b189e801 Make this understand Token-Ring.
From Onno van der Linden.
1999-03-23 00:02:24 +00:00
abs 9e3a099478 How I managed to generate bizarre sap packets is one thing, but they did
show up a case where tcpdump tries to access pass the end of a packet.
1999-02-11 07:52:14 +00:00
sommerfe 4b41ddc197 Double-check tcp/udp checksum if we get enough data to do it. 1998-12-18 20:28:54 +00:00
hwr 9e33951d8e Verify mini-header checksum.
Rearange printing of S-flag.
1998-09-30 08:57:01 +00:00
hwr fadc6762f7 Add for packtes of IPPROTO_MOBILE (55). This is yet another
tunneling protocol which is described in RFC2004.
XXX There is no verification of the miniheader checksum at the moment.
1998-09-25 19:10:25 +00:00
matt 08e1d890a4 Changes so that BPF readers will get the data in fddi packet aligned along
normal boundaries.  This makes tcpdump much happier.
1998-09-20 02:36:08 +00:00
msaitoh d06e28b7f7 eliminate duplicated protos 1998-08-17 17:51:54 +00:00
mycroft 3d7514132e const poisoning. 1998-07-26 16:01:12 +00:00
explorer d1c69e189b HAVE_HDLC, not just HDLC 1998-07-25 11:39:53 +00:00
explorer 5aab21dfbb changes to print hdlc framing info 1998-07-25 11:30:43 +00:00
cgd da88f08f26 if you're going to length-check a field before using it, length-check
the field you're actually going to use.  (bp_sname was being checked
instead of bp_file.)
1998-07-08 22:14:10 +00:00
matt 40841db9cc NetBSD uses "normal" bit order for FDDI addresses. 1998-05-24 21:41:30 +00:00
christos cced5db98f Determine endian-ness and define WORDS_BIGENDIAN if appropriate. 1998-02-01 13:48:08 +00:00
christos 1773ee5638 Add -DLBL_ALIGN to handle architectures that need memory alignment. 1998-02-01 13:46:53 +00:00
bad 0a833b6587 Remove leftovers from last rcsmerge. 1997-12-15 16:23:46 +00:00
msaitoh 39c2acb633 fix typo 1997-11-15 21:01:36 +00:00
lukem c32b6d75d3 ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1 1997-11-02 14:25:23 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem 47852f1f67 getopt returns -1 not EOF 1997-10-17 13:49:37 +00:00
cjs 5e411157a1 Ugly hack to make this compile without warnings on alpha. 1997-10-13 20:45:40 +00:00
cjs 83c227ec28 If you're going to pass a u_char as an int, cast it first. 1997-10-13 20:44:09 +00:00
cjs 2c695bcd2a Include <string.h> and use proper types for str*() so that this compiles
on the Alpha. Also remove register decl's while I'm here.
1997-10-08 20:25:24 +00:00
christos 0382099526 Revert decrementing the length too early; this was broken before the merge... 1997-10-03 20:38:03 +00:00
christos f9b3c069f3 Import assistance. 1997-10-03 20:04:32 +00:00
christos b03548c3bc Resolved conflicts. 1997-10-03 19:54:07 +00:00
christos f42c6d42a2 Import LBL's tcpdump 3.4a5 1997-10-03 17:24:11 +00:00
christos b94f88cd02 PR/4141: Daniel Hagerty: DTRT with appletalk. 1997-09-26 18:12:35 +00:00
fvdl 87dd567ffa Fix PR 3799, make sure the procedure number is handled as unsigned, to
prevent bad things happening
from Azuma OKAMOTO <lfo@sayori.dais.is.tohoku.ac.jp>
1997-07-18 01:01:33 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
is 00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00