view usr/src/cmd/cmd-inet/usr.bin/pppdump/pppdump.1m @ 0:c9caec207d52 b86

Initial porting based on b86
author Koji Uno <koji.uno@sun.com>
date Tue, 02 Jun 2009 18:56:50 +0900
parents
children 1a15d5aaf794
line wrap: on
line source

.\" -*- nroff -*-
.\" manual page for pppdump
.\" Copyright (c) 2000 by Sun Microsystems, Inc.
.\"	ident	"@(#)pppdump.1m	1.1	00/12/21 SMI"
.\" All rights reserved.
.\"	@(#) $Id: pppdump.8,v 1.1 1999/04/01 11:44:55 paulus Exp $
.TH PPPDUMP 1M "1 April 1999"
.SH NAME
pppdump \- convert PPP record file to readable format
.SH SYNOPSIS
.B pppdump
[
.B -h
|
.B -p
[
.B -d
]] [
.B -r
] [
.B -m \fImru
] [
.I file \fR...
]
.ti 12
.SH DESCRIPTION
The
.B pppdump
utility converts the files written using the \fIrecord\fR option of
.B pppd
into a human-readable format.  If one or more filenames are specified,
.B pppdump
will read each in turn; otherwise it will read its standard input.  In
each case the result is written to standard output.
.PP
The options are as follows:
.TP
.B -h
Prints the bytes sent and received in hexadecimal.  If neither this
option nor the \fB-p\fR option is specified, the bytes are printed as
the characters themselves, with non-printing and non-ASCII characters
printed as escape sequences.
.TP
.B -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
`.').
.TP
.B -d
With the \fB-p\fR option, this option causes
.B pppdump
to decompress packets which have been compressed with the BSD-Compress
or Deflate methods.
.TP
.B -r
Reverses the direction indicators, so that `sent' is printed for
bytes or packets received, and `rcvd' is printed for bytes or packets
sent.
.TP
.B -m \fImru
Use \fImru\fR as the MRU (maximum receive unit) for both directions of
the link when checking for over-length PPP packets (with the \fB-p\fR
option).
.SH SEE ALSO
pppd(1m)
.SH NOTES
The modified source for this package is available in the SUNWpppgS
package.  You can get the original source from
ftp://linuxcare.com.au/pub/ppp.