xref: /titanic_52/usr/src/man/man1m/pppdump.1m (revision 7aa76ffc594f84c1c092911a84f85a79ddb44c73)
-*- nroff -*-
manual page for pppdump
Copyright (c) 2000 by Sun Microsystems, Inc.
All rights reserved.
@(#) $Id: pppdump.8,v 1.1 1999/04/01 11:44:55 paulus Exp $
PPPDUMP 1M "1 April 1999"
NAME
pppdump - convert PPP record file to readable format
SYNOPSIS
pppdump [ -h | -p [ -d ]] [ -r ] [ -m mru ] [ file ... ]
DESCRIPTION
The pppdump utility converts the files written using the record option of pppd into a human-readable format. If one or more filenames are specified, pppdump will read each in turn; otherwise it will read its standard input. In each case the result is written to standard output.

The options are as follows:

-h Prints the bytes sent and received in hexadecimal. If neither this option nor the -p option is specified, the bytes are printed as the characters themselves, with non-printing and non-ASCII characters printed as escape sequences.

-p Collects the bytes sent and received into PPP packets, interpreting the async HDLC framing and escape characters and checking the FCS (frame check sequence) of each packet. The packets are printed as hex values and as characters (non-printable characters are printed as `.').

-d With the -p option, this option causes pppdump to decompress packets which have been compressed with the BSD-Compress or Deflate methods.

-r Reverses the direction indicators, so that `sent' is printed for bytes or packets received, and `rcvd' is printed for bytes or packets sent.

-m mru Use mru as the MRU (maximum receive unit) for both directions of the link when checking for over-length PPP packets (with the -p option).

SEE ALSO
pppd(1m)