]> The Tcpdump Group git mirrors - tcpdump/log
tcpdump
22 years agocleaned up bgp_attr_print{}
hannes [Mon, 22 Jul 2002 14:09:07 +0000 (14:09 +0000)] 
cleaned up bgp_attr_print{}
  removed p,dat pointers and replaced through tptr,pptr where
    pptr is a pointer to the start of the attribute;
    tptr is a moving pointer that is incremented through the decoding cycle;

22 years agobasic support for extended communtities
hannes [Mon, 22 Jul 2002 02:55:20 +0000 (02:55 +0000)] 
basic support for extended communtities

22 years agoFor packets with a bad ICMP checksum, show the bad checksum and what it
guy [Sun, 21 Jul 2002 21:03:07 +0000 (21:03 +0000)] 
For packets with a bad ICMP checksum, show the bad checksum and what it
should have been.

22 years agoFor packets with a bad TCP checksum, show the value from the header, and
guy [Sun, 21 Jul 2002 20:56:24 +0000 (20:56 +0000)] 
For packets with a bad TCP checksum, show the value from the header, and
the value it should have had, as we do for packets with a bad IP
checksum, rather than showing the non-zero computed checksum.

22 years agoAdd a "in_cksum_shouldbe()" to compute, given an Internet checksum field
guy [Sun, 21 Jul 2002 20:48:26 +0000 (20:48 +0000)] 
Add a "in_cksum_shouldbe()" to compute, given an Internet checksum field
in a packet header and the computed checksum for the data that the
checksum covers, what the checksum field's value should have been.

Use that routine in the IP printer.

22 years agoSet "off" before using it.
guy [Sat, 20 Jul 2002 23:37:40 +0000 (23:37 +0000)] 
Set "off" before using it.

22 years agoFrom Phil Wood <[email protected]>: fix the test for a community of "public"
guy [Sat, 20 Jul 2002 23:31:18 +0000 (23:31 +0000)] 
From Phil Wood <[email protected]>: fix the test for a community of "public"
to check the length of the community name before doing a length-limited
comparison.

22 years agobetter idendation and dedicated line for the common header;
hannes [Fri, 19 Jul 2002 10:10:34 +0000 (10:10 +0000)] 
better idendation and dedicated line for the common header;

22 years agouse the new public print_unknown_data{} rather then the private
hannes [Fri, 19 Jul 2002 09:34:05 +0000 (09:34 +0000)] 
use the new public print_unknown_data{} rather then the private
              isis_print_unknown_data{}

22 years agobetter support for unknown BGP attributes, messages, AFIs & SAFIs;
hannes [Thu, 18 Jul 2002 00:39:12 +0000 (00:39 +0000)] 
better support for unknown BGP attributes, messages, AFIs & SAFIs;
hexdump the data rather than ommitting them;

22 years agoyet another hexdump routine;
hannes [Thu, 18 Jul 2002 00:04:12 +0000 (00:04 +0000)] 
yet another hexdump routine;
print_unknown_data{} supports identation;

22 years agoUpdate Kevin Steves' address.
guy [Tue, 16 Jul 2002 18:30:38 +0000 (18:30 +0000)] 
Update Kevin Steves' address.

22 years agoAdd items for SunATM.
guy [Tue, 16 Jul 2002 04:46:41 +0000 (04:46 +0000)] 
Add items for SunATM.

22 years agoUpdate and fix up the list of files and the note on Linux.
guy [Tue, 16 Jul 2002 04:36:08 +0000 (04:36 +0000)] 
Update and fix up the list of files and the note on Linux.

22 years agoETHERTYPE_IP will never show up as an NLPID in a Frame Relay packet, as
guy [Tue, 16 Jul 2002 04:09:27 +0000 (04:09 +0000)] 
ETHERTYPE_IP will never show up as an NLPID in a Frame Relay packet, as
the NLPID is 1 byte and 0x800 doesn't fit in one byte.

22 years agoClean up "safeputchar()" a bit.
guy [Tue, 16 Jul 2002 04:03:16 +0000 (04:03 +0000)] 
Clean up "safeputchar()" a bit.

22 years agoIn "safeputchar()", use the result of extracting an unsigned character
guy [Tue, 16 Jul 2002 03:58:16 +0000 (03:58 +0000)] 
In "safeputchar()", use the result of extracting an unsigned character
from the argument, rather than the argument itself, when testing whether
it should be printed or not (the argument might well be a sign-extended
version of an 8-bit character, in which case it's < 0x80 as it's
negative, but it can't be safely handed to "isprint()").

22 years agothe last commit contained a bogus commit message;
hannes [Sun, 14 Jul 2002 19:46:51 +0000 (19:46 +0000)] 
the last commit contained a bogus commit message;
purpose of 1.105 was to print the ip header values (len, ttl, tos)
at the beginning of the line (where it belongs to) and not at the end;
it is only displayed using the -v(erbose) options;
the BGP output (where i am working now on) gets much more cleaner now;

22 years agosplit BGP output to multiple lines;
hannes [Sun, 14 Jul 2002 14:14:50 +0000 (14:14 +0000)] 
split BGP output to multiple lines;
added support for Originator_ID, Cluster List Attributes;
reworked BGP Open Message Decoder do decode optional Capabilities;
fixed the NEXTHOP decoder of MP_REACH and MP_UNREACH to honor
 NH length based on AFI,SAFI

22 years agofix the MP_REACH_NLRI and MP_UNREACH_NLRI to bail out if a SAFI is unknown
hannes [Sun, 14 Jul 2002 09:36:00 +0000 (09:36 +0000)] 
fix the MP_REACH_NLRI and MP_UNREACH_NLRI to bail out if a SAFI is unknown
rather than trying to decode it using decode_prefix4()

22 years agoMake static the structure to which the test program checking what to use
guy [Sat, 13 Jul 2002 09:36:36 +0000 (09:36 +0000)] 
Make static the structure to which the test program checking what to use
for "inlines", so that we don't get tripped up by compilers complaining
that we're returning a pointer to an automatic variable.

22 years ago"support" for the loopback ethertype 0x9000
hannes [Fri, 12 Jul 2002 20:22:11 +0000 (20:22 +0000)] 
"support" for the loopback ethertype 0x9000

22 years agoAdd SunATM support, based on code from Yen Yen Lim at North Dakota State
guy [Thu, 11 Jul 2002 09:17:21 +0000 (09:17 +0000)] 
Add SunATM support, based on code from Yen Yen Lim at North Dakota State
University.

22 years agoMake "snap_print()" take an argument specifying the padding for bridged
guy [Thu, 11 Jul 2002 08:27:03 +0000 (08:27 +0000)] 
Make "snap_print()" take an argument specifying the padding for bridged
LAN frames; it's 0 bytes for Frame Relay and 2 bytes for ATM.

22 years agoFrom Paul S. Traina: FreeBSD's Frame Relay printer.
guy [Thu, 11 Jul 2002 08:09:45 +0000 (08:09 +0000)] 
From Paul S. Traina: FreeBSD's Frame Relay printer.

Make the code to print a SNAP-encapsulated packet a separate routine,
for use by the Frame Relay code.

22 years agoPut in some casts to squelch compiler warnings.
guy [Thu, 11 Jul 2002 07:44:49 +0000 (07:44 +0000)] 
Put in some casts to squelch compiler warnings.

22 years agoUse EXTRACT_* to be a little more alignment-safe
fenner [Mon, 8 Jul 2002 08:58:37 +0000 (08:58 +0000)] 
Use EXTRACT_* to be a little more alignment-safe
Use ntohs() on the type code instead of defining the type numbers
 based on our endianness.

22 years agoGet rid of no-longer-used "num_or_str()" function.
guy [Sun, 7 Jul 2002 20:55:16 +0000 (20:55 +0000)] 
Get rid of no-longer-used "num_or_str()" function.

22 years agoRemove print-mobility.c - I hadn't re-run configure. Sorry for
fenner [Sat, 6 Jul 2002 18:49:36 +0000 (18:49 +0000)] 
Remove print-mobility.c - I hadn't re-run configure.  Sorry for
 the braino.

22 years agoAdd print-mobility.c
fenner [Fri, 5 Jul 2002 16:08:45 +0000 (16:08 +0000)] 
Add print-mobility.c

22 years agoInclude the ICMP length
fenner [Fri, 5 Jul 2002 15:58:20 +0000 (15:58 +0000)] 
Include the ICMP length

22 years agofinally get rid of all the macros for codepoint to
hannes [Thu, 4 Jul 2002 09:24:43 +0000 (09:24 +0000)] 
finally get rid of all the macros for codepoint to
string conversion and use tok2str() instead;

22 years agoreplace some macros for printing AFI and SAFI information with tok2str()
hannes [Wed, 3 Jul 2002 19:47:53 +0000 (19:47 +0000)] 
replace some macros for printing AFI and SAFI information with tok2str()

22 years agoDon't try to print entries before the first one in subtypes.
fenner [Wed, 3 Jul 2002 16:27:12 +0000 (16:27 +0000)] 
Don't try to print entries before the first one in subtypes.

Submitted by: Anonymous sourceforge user (req ID 576536)

22 years agosome SAFIs for labeled BGP (code still missing)
hannes [Tue, 2 Jul 2002 10:05:09 +0000 (10:05 +0000)] 
some SAFIs for labeled BGP (code still missing)

22 years agoFix up AC_LBL_C_INLINE to put all of the test code into the "inlines"
guy [Tue, 2 Jul 2002 02:22:36 +0000 (02:22 +0000)] 
Fix up AC_LBL_C_INLINE to put all of the test code into the "inlines"
section - the other section gets stuck in the middle of "main()", and,
although GCC lets you define functions inside functions, other C
compilers don't.

Pick a name more likely to be unique to use as the iterator variable in
AC_LBL_C_INLINE.

Make AC_LBL_C_INLINE print "no" rather than "not supported" if inline
isn't supported, to match what AC_C_INLINE does.

22 years agoFix indentation.
guy [Sat, 29 Jun 2002 04:33:31 +0000 (04:33 +0000)] 
Fix indentation.

22 years agoPut variables in quotes when testing them in "test" commands, so that
guy [Sat, 29 Jun 2002 04:24:25 +0000 (04:24 +0000)] 
Put variables in quotes when testing them in "test" commands, so that
the test doesn't get a syntax error if the variable isn't set or is set
to a null string.

22 years agoSome versions of the HP C compiler can handle inlines, but not if they
guy [Fri, 28 Jun 2002 10:45:40 +0000 (10:45 +0000)] 
Some versions of the HP C compiler can handle inlines, but not if they
return a structure pointer.  Check whether the C compiler can handle
inline functions that return a structure pointer, not whether they can
handle inline functions that return an int, as at least some versions of
autoconf's AC_C_INLINE do.

22 years agoFrom Kazushi Sugyo <[email protected]>:
guy [Thu, 27 Jun 2002 08:21:39 +0000 (08:21 +0000)] 
From Kazushi Sugyo <[email protected]>:

Here is a patch for draft-ietf-mobileip-ipv6-17.
- print-mobility.c: Mobility header(MIPv6 defines a new IPv6 protocol)
  printing
- added Routing header type 2
- ICMPv6 Home Agent Address Discovery and Mobile Prefix Sol., Adv.
  message update

22 years agoDocument that -x prints padding too.
fenner [Mon, 24 Jun 2002 21:06:23 +0000 (21:06 +0000)] 
Document that -x prints padding too.

22 years agoGive Andrew Hintz credit for the tcpdump.1 typo fix "-b" -> "-r".
guy [Sun, 16 Jun 2002 21:59:17 +0000 (21:59 +0000)] 
Give Andrew Hintz credit for the tcpdump.1 typo fix "-b" -> "-r".

22 years agoFix a typo.
guy [Sun, 16 Jun 2002 21:51:31 +0000 (21:51 +0000)] 
Fix a typo.

22 years agoavoid trigraph
itojun [Sat, 15 Jun 2002 02:49:54 +0000 (02:49 +0000)] 
avoid trigraph

22 years agoregen from configure.in 1.150
itojun [Fri, 14 Jun 2002 15:48:35 +0000 (15:48 +0000)] 
regen from configure.in 1.150

22 years agodhcpv6 i-d revision 26, by jinmei@kame
itojun [Fri, 14 Jun 2002 15:45:59 +0000 (15:45 +0000)] 
dhcpv6 i-d revision 26, by jinmei@kame

22 years ago__ss_len/family is now nonstandard. standards were clarified to use
itojun [Tue, 11 Jun 2002 17:15:30 +0000 (17:15 +0000)] 
__ss_len/family is now nonstandard.  standards were clarified to use
ss_len/family.

22 years agowhitespace
itojun [Tue, 11 Jun 2002 17:13:36 +0000 (17:13 +0000)] 
whitespace

22 years agowhitespace cleanup
itojun [Tue, 11 Jun 2002 17:08:37 +0000 (17:08 +0000)] 
whitespace cleanup

22 years agoGet rid of unneeded includes of <netinet/in_systm.h> and <netinet/ip.h>.
guy [Sun, 2 Jun 2002 18:24:41 +0000 (18:24 +0000)] 
Get rid of unneeded includes of <netinet/in_systm.h> and <netinet/ip.h>.

22 years agoDon't bother including <netinet/if_ether.h> if we're not using
guy [Sun, 2 Jun 2002 00:07:36 +0000 (00:07 +0000)] 
Don't bother including <netinet/if_ether.h> if we're not using
"ether_ntohost()" - the only reason we include it is to get
"ether_ntohost()" declared.

We only include <net/if.h> to get "struct ifnet" in "struct arpcom"
defined on Solaris, so that we don't get errors when including
<netinet/if_ether.h>, so don't include that unless we're including
<netinet/if_ether.h>.

We only need incomplete definitions for "struct mbuf" and "struct
rtentry" if we're including <net/if.h>, so don't define them unless
we're including <netinet/if_ether.h>.

22 years agoGet rid of unneeded incomplete definitions of "struct mbuf" and "struct
guy [Sat, 1 Jun 2002 23:50:30 +0000 (23:50 +0000)] 
Get rid of unneeded incomplete definitions of "struct mbuf" and "struct
rtentry", and unneded includes of <sys/uio.h>, <sys/file.h>, and
<sys/ioctl.h>.

22 years ago"gmt2local.c" doesn't need "struct timeval", so it doesn't need to
guy [Sat, 1 Jun 2002 23:43:34 +0000 (23:43 +0000)] 
"gmt2local.c" doesn't need "struct timeval", so it doesn't need to
include <sys/time.h>.

22 years agosupport for
hannes [Fri, 31 May 2002 23:23:35 +0000 (23:23 +0000)] 
support for

ES Neighbor(s)     TLV #3
Partition DIS      TLV #4
Prefix Neighbors   TLV #5
Prefix Neighbor(s)
 (variable length) TLV #7

clarified use of SYSTEM_ID_LEN, ETHER_ADDR_LEN, LSP_ID_LEN

plus some cleanups, boundary checks and modularization
 (isis_print_metric_block)

22 years agopedant
itojun [Fri, 31 May 2002 09:51:13 +0000 (09:51 +0000)] 
pedant

22 years agoV3 FSINFO and PATHCONF requests take a file handle as an argument; parse
guy [Fri, 31 May 2002 09:47:23 +0000 (09:47 +0000)] 
V3 FSINFO and PATHCONF requests take a file handle as an argument; parse
the request header and the file handle.

"parsestatus()" should only return NULL if the packet was truncated, so
that its callers can distinguish "packet truncated" from "NFS reply
status reports an error".

NFS-request-or-reply parsing routines that call "parsestatus()" should
not return 0 if "parsestatus()" returns a non-zero NFS reply status, so
that non-truncated packets with a non-zero NFS reply status aren't
printed as truncated NFS packets.

Fix some "TCHECK2()" calls to pass an object, not a pointer to an
object, as the first argument (the TCHECK/TTEST macros take objects, not
addresses, as the test argument).

NFS-request-or-reply parsing routines should return 0 for truncated
packets and 1 for non-truncated packets, not *vice versa*.

22 years agoIn TTEST2(), check to make sure the "l" argument isn't so large that
guy [Fri, 31 May 2002 09:29:07 +0000 (09:29 +0000)] 
In TTEST2(), check to make sure the "l" argument isn't so large that
"snapend - l" underflows; this fixes a buffer overflow with malformed
NFS packets, and may fix other buffer overflows with malformed packets.

22 years agotypo, from openbsd
itojun [Thu, 30 May 2002 22:01:34 +0000 (22:01 +0000)] 
typo, from openbsd

22 years agoMake "-x" and "-X" work with PPPoE interfaces; based on code from Darren
guy [Wed, 29 May 2002 10:32:00 +0000 (10:32 +0000)] 
Make "-x" and "-X" work with PPPoE interfaces; based on code from Darren
Reed, with additions to get the PPP header length from the PPP print
routine.

22 years agoOnly do "-x" printing in the top-level interface print routine; don't do
guy [Wed, 29 May 2002 10:06:24 +0000 (10:06 +0000)] 
Only do "-x" printing in the top-level interface print routine; don't do
it in the routines, called by the top-level routines, to dissect
Ethernet, FDDI, or Token Ring packets, as those routines might also be
called for bridged frames over ATM, and the interface print routine for
ATM will also do "-x" printing.

22 years agoGet rid of an extra newline.
guy [Wed, 29 May 2002 09:59:12 +0000 (09:59 +0000)] 
Get rid of an extra newline.

22 years agoMake static routines, and string buffers, not used outside
guy [Wed, 29 May 2002 09:48:16 +0000 (09:48 +0000)] 
Make static routines, and string buffers, not used outside
"print-isoclns.c".

22 years agoFix a typo.
guy [Wed, 29 May 2002 09:47:04 +0000 (09:47 +0000)] 
Fix a typo.

22 years agoMention the SourceForge site.
guy [Wed, 29 May 2002 07:04:09 +0000 (07:04 +0000)] 
Mention the SourceForge site.

22 years ago when reporting a bad checksum, indicate what it should have been.
mcr [Wed, 29 May 2002 03:09:48 +0000 (03:09 +0000)] 
when reporting a bad checksum, indicate what it should have been.

22 years ago adjusted instructions to include :pserver: in CVS example.
mcr [Wed, 29 May 2002 03:08:29 +0000 (03:08 +0000)] 
adjusted instructions to include :pserver: in CVS example.

23 years agotony has moved a while ago ;-)
hannes [Mon, 27 May 2002 21:30:59 +0000 (21:30 +0000)] 
tony has moved a while ago ;-)

23 years agocosmetic cleanup for the print_nsap routine
hannes [Sat, 25 May 2002 15:11:37 +0000 (15:11 +0000)] 
cosmetic cleanup for the print_nsap routine

23 years agoFrom Rick Watson <[email protected]>: use
guy [Sat, 25 May 2002 09:41:06 +0000 (09:41 +0000)] 
From Rick Watson <[email protected]>: use
unaligned-extraction macros to fetch 16-bit and 32-bit big-endian
quantities.

23 years agofrom Dirk Steinberg: check if the bottom of stack bit is set correct in
hannes [Fri, 24 May 2002 17:49:29 +0000 (17:49 +0000)] 
from Dirk Steinberg: check if the bottom of stack bit is set correct in
RFC3107 BGP labeled unicast NLRI messages

23 years agoExplain, in full painful detail, what you need to do in order to do
guy [Fri, 17 May 2002 09:57:50 +0000 (09:57 +0000)] 
Explain, in full painful detail, what you need to do in order to do
*useful* packet capture on Digital/Tru64 UNIX (and add "Tru64 UNIX" to
the list of OS names).

23 years agoFrom Phil Wood <[email protected]>: if we're exiting due to a "pcap_loop()"
guy [Thu, 16 May 2002 10:25:58 +0000 (10:25 +0000)] 
From Phil Wood <[email protected]>: if we're exiting due to a "pcap_loop()"
error, report statistics and clean up first.

23 years agoFrom Hannes Gredler: support BGP labeled unicast.
guy [Thu, 16 May 2002 10:20:47 +0000 (10:20 +0000)] 
From Hannes Gredler: support BGP labeled unicast.

23 years agoFrom Hannes Gredler: support the IS-IS buffersize TLV #14, and clean up
guy [Thu, 16 May 2002 10:19:23 +0000 (10:19 +0000)] 
From Hannes Gredler: support the IS-IS buffersize TLV #14, and clean up
some names.

Fix a misspelling.

23 years agoIf we run out of data in the when processing tagged parameters, return
guy [Mon, 13 May 2002 08:30:19 +0000 (08:30 +0000)] 
If we run out of data in the when processing tagged parameters, return
"success", not "failure" - there's no special "end of list" parameter.
Get rid of the check for a parameter tag of 0xff, for the same reason.

Take out an extra space between the "[" and the list of rates in a
"supported rates" tagged parameter, and don't print the "[" or the "
Mbit]", or the leading space if there are no supported rates (or there
is no "supported rates" parameter.

Use "fn_print" to print the SSID, in case there are non-printable
characters in it.

Show the channel number in decimal, not hex, as that's how it's given in
the IEEE 802.11 spec.

Show the supported rates in a probe response, if present.

Get rid of random extra trailing space in tagged parameter output.

23 years agoPrint the whole MPLS label stack.
fenner [Tue, 7 May 2002 18:35:39 +0000 (18:35 +0000)] 
Print the whole MPLS label stack.

Submitted by: Kaarthik Sivakumar <[email protected]>

23 years agoCosmetic TCHECK() change.
fenner [Tue, 7 May 2002 18:31:49 +0000 (18:31 +0000)] 
Cosmetic TCHECK() change.

23 years agoHandle old DR-priority and old Bidir-capable option values.
fenner [Tue, 7 May 2002 18:28:38 +0000 (18:28 +0000)] 
Handle old DR-priority and old Bidir-capable option values.

23 years agoFix spacing with -v
fenner [Tue, 7 May 2002 18:27:40 +0000 (18:27 +0000)] 
Fix spacing with -v

23 years agoFrom Juergen Schoenwaelder <[email protected]> - fix for the
guy [Tue, 7 May 2002 07:39:05 +0000 (07:39 +0000)] 
From Juergen Schoenwaelder <[email protected]> - fix for the
following problem:

According to the ASN.1 documents, OIDs of the form 2.100.3 are
correctly encoded as 0x0603813403.  tcpdump fails to properly
decode them - it displays the value 4.20.3 instead of 2.100.3.

23 years agoFix a formatto.
guy [Tue, 7 May 2002 04:00:09 +0000 (04:00 +0000)] 
Fix a formatto.

23 years agoFrom Sami Farin <[email protected]>: put in a missing blank before "NBT
guy [Tue, 30 Apr 2002 09:09:41 +0000 (09:09 +0000)] 
From Sami Farin <[email protected]>: put in a missing blank before "NBT
Packet".

23 years agoFrom Hannes Gredler: support for the IP-Reach-subTLV #2 and
guy [Tue, 30 Apr 2002 09:04:35 +0000 (09:04 +0000)] 
From Hannes Gredler: support for the IP-Reach-subTLV #2 and
IDRP-info-TLV #131.

23 years agoSquelch some compiler warnings caused by passing "char *"s rather than
guy [Tue, 30 Apr 2002 06:45:08 +0000 (06:45 +0000)] 
Squelch some compiler warnings caused by passing "char *"s rather than
"unsigned char *"s to "fn_print()".

23 years agoAdd a cast to squelch a compiler complaint - and remove a potential
guy [Sat, 27 Apr 2002 23:39:25 +0000 (23:39 +0000)] 
Add a cast to squelch a compiler complaint - and remove a potential
problem, if the string in question probably contains any non-ASCII
characters.

23 years agoAnother bug fix from Gert Doering.
guy [Fri, 26 Apr 2002 09:51:34 +0000 (09:51 +0000)] 
Another bug fix from Gert Doering.

23 years agoFrom Gert Doering <[email protected]>:
guy [Fri, 26 Apr 2002 09:13:19 +0000 (09:13 +0000)] 
From Gert Doering <[email protected]>:

The VLAN ID calculation was wrong (either I had a bug in the
switch I tested the original code against, or I was just stupid)
- the "-1" offset doesn't belong there.

In addition, there are some new TLV values that Cisco has
started using.

23 years agoAdd some casts to squelch compiler complaints (and remove potential
guy [Fri, 26 Apr 2002 05:12:40 +0000 (05:12 +0000)] 
Add some casts to squelch compiler complaints (and remove potential
problems, although the string in question probably won't contain any
non-ASCII characters).

23 years agoMake the tag in "rfc1048_print()" a 16-bit variable, as 16-bit
guy [Fri, 26 Apr 2002 04:59:08 +0000 (04:59 +0000)] 
Make the tag in "rfc1048_print()" a 16-bit variable, as 16-bit
quantities are stuffed into it.

Add an unsigned 8-bit variable as well, for 8-bit unsigned quantities.

Stuff unsigned 16-bit quantities into 16-bit variables.

Print unsigned values with "%u".

23 years agoCast the argument to "fn_printn()" to "u_char *", as that's the argument
guy [Thu, 25 Apr 2002 04:57:59 +0000 (04:57 +0000)] 
Cast the argument to "fn_printn()" to "u_char *", as that's the argument
type it expects.

23 years agoConvert some format pointers to "char *" from "u_char *", and some data
guy [Thu, 25 Apr 2002 04:54:02 +0000 (04:54 +0000)] 
Convert some format pointers to "char *" from "u_char *", and some data
pointers from "char *" to "u_char *", to eliminate signed vs. unsigned
complaints from some compilers.

Don't use "++"s in initialization, to avoid warnings from the Sun C
compiler.

23 years agoMake some "u_char *"s "char *"s, to eliminate signed vs. unsigned
guy [Thu, 25 Apr 2002 04:47:42 +0000 (04:47 +0000)] 
Make some "u_char *"s "char *"s, to eliminate signed vs. unsigned
complaints from some compilers.

23 years agoConstify.
guy [Thu, 25 Apr 2002 04:45:59 +0000 (04:45 +0000)] 
Constify.

Make "payloadPtr" a "u_char *" rather than a "char *", to eliminate some
signed vs. unsigned complaints from some compilers.

23 years agoMake "ar_sha()", "ar_spa()", "ar_tha()", and "ar_tpa()" return "const
guy [Thu, 25 Apr 2002 04:37:31 +0000 (04:37 +0000)] 
Make "ar_sha()", "ar_spa()", "ar_tha()", and "ar_tpa()" return "const
u_char *" rather than "const caddr_t", to avoid signed vs. unsigned
complaints from various compilers.

23 years ago"espsecret_xform" and "espsecret_key" are static to "print-esp.c"; don't
guy [Thu, 25 Apr 2002 04:31:42 +0000 (04:31 +0000)] 
"espsecret_xform" and "espsecret_key" are static to "print-esp.c"; don't
declare them in "interface.h".

23 years agoRegenerate.
guy [Thu, 25 Apr 2002 04:26:45 +0000 (04:26 +0000)] 
Regenerate.

23 years ago"-A" flag to print packet data in ASCII, from Jørgen Thomsen
guy [Wed, 24 Apr 2002 06:55:54 +0000 (06:55 +0000)] 
"-A" flag to print packet data in ASCII, from Jørgen Thomsen
<[email protected]>.

23 years agoNobody seemed to know why we preferred sigset() to sigaction(); the
guy [Wed, 24 Apr 2002 06:34:18 +0000 (06:34 +0000)] 
Nobody seemed to know why we preferred sigset() to sigaction(); the
latter is a POSIX standard, and you don't have to include some
additional header file to get it declared, so we'll prefer the it.

23 years agoGet rid of casts of pointers-to-const to pointers-to-nonconst.
guy [Wed, 24 Apr 2002 06:27:05 +0000 (06:27 +0000)] 
Get rid of casts of pointers-to-const to pointers-to-nonconst.

23 years agoProtect includes of <time.h> with "#ifdef TIME_WITH_SYS_TIME".
guy [Sat, 20 Apr 2002 09:42:57 +0000 (09:42 +0000)] 
Protect includes of <time.h> with "#ifdef TIME_WITH_SYS_TIME".