1 .\" Copyright (c) 1985, 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 .\" @(#)trsp.8 8.1 (Berkeley) 6/6/93
39 .Nd transliterate sequenced packet protocol trace
46 .Op Fl p Ar hex-address
52 interrogates the buffer of
55 when a socket is marked for
59 and prints a readable description of these records.
60 When no options are supplied,
62 prints all the trace records found in the system
65 connection protocol control
68 The following options may be used to
72 In addition to the normal output,
73 print the values of the source and destination
74 addresses for each packet recorded.
76 Just give a list of the protocol control block
77 addresses for which there are trace records.
79 Show only trace records associated with the protocol
80 control block at the given address,
83 in addition to the normal output,
84 print a detailed description of the packet
85 sequencing information.
87 in addition to the normal output,
88 print the values for all timers at each
92 The recommended use of
95 Isolate the problem and enable debugging on the
96 socket(s) involved in the connection.
97 Find the address of the protocol control blocks
98 associated with the sockets using the
106 option, supplying the associated
107 protocol control block addresses. If there are
108 many sockets using the debugging option, the
110 option may be useful in checking to see if
111 any trace records are present for the socket in
114 If debugging is being performed on a system or
115 core file other than the default, the last two
116 arguments may be used to supplant the defaults.
118 .Bl -tag -width /dev/kmem -compact
128 When the system image doesn't
129 contain the proper symbols to find the trace buffer;
130 others which should be self explanatory.
132 Should also print the data for each input or output,
133 but this is not saved in the race record.
135 The output format is inscrutable and should be described