1 .\" Copyright (c) 1983, 1991, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)trpt.8 8.2 (Berkeley) 12/11/93
39 .Nd transliterate protocol trace
45 .Op Fl p Ar hex-address
53 interrogates the buffer of
56 when a socket is marked for
60 and prints a readable description of these records.
61 When no options are supplied,
63 prints all the trace records found in the system
66 connection protocol control
69 The following options may be used to
73 In addition to the normal output,
74 print the values of the source and destination
75 addresses for each packet recorded.
77 Follow the trace as it occurs, waiting a short time for additional records
78 each time the end of the log is reached.
80 Just give a list of the protocol control block
81 addresses for which there are trace records.
83 Show only trace records associated with the protocol
84 control block at the given address
87 In addition to the normal output,
88 print a detailed description of the packet
89 sequencing information.
91 in addition to the normal output,
92 print the values for all timers at each
96 The recommended use of
99 Isolate the problem and enable debugging on the
100 socket(s) involved in the connection.
101 Find the address of the protocol control blocks
102 associated with the sockets using the
110 option, supplying the associated
111 protocol control block addresses.
114 option can be used to follow the trace log once the trace is located.
116 many sockets using the debugging option, the
118 option may be useful in checking to see if
119 any trace records are present for the socket in
122 If debugging is being performed on a system or
123 core file other than the default, the last two
124 arguments may be used to supplant the defaults.
126 .Bl -tag -width /dev/kmem -compact
137 When the system image doesn't
138 contain the proper symbols to find the trace buffer;
139 others which should be self explanatory.
142 Should also print the data for each input or output,
143 but this is not saved in the race record.
145 The output format is inscrutable and should be described