mostly make EON route mtu reflect size of underlying IP route mtu
[unix-history] / usr / src / sys / netiso / tp_meas.h
CommitLineData
af457dd6 1/***********************************************************
7b25382f 2 Copyright IBM Corporation 1987
af457dd6
KS
3
4 All Rights Reserved
5
6Permission to use, copy, modify, and distribute this software and its
7documentation for any purpose and without fee is hereby granted,
8provided that the above copyright notice appear in all copies and that
9both that copyright notice and this permission notice appear in
10supporting documentation, and that the name of IBM not be
11used in advertising or publicity pertaining to distribution of the
12software without specific, written prior permission.
13
14IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20SOFTWARE.
21
22******************************************************************/
23
24/*
25 * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
26 */
7b25382f
KS
27/* @(#)tp_meas.h 7.4 (Berkeley) %G% */
28#ifdef TP_PERF_MEAS
a50e2bc0
KS
29#define tpmeas(a, b, t, c, d, e) \
30 Tpmeas((u_int)(a), (u_int)(b), t, (u_int)(c), (u_int)(d), (u_int)(e))
af457dd6
KS
31
32struct tp_Meas {
33 int tpm_tseq;
34 u_char tpm_kind;
35 u_short tpm_ref;
36 u_short tpm_size;
37 u_short tpm_window;
38 u_int tpm_seq;
39 struct timeval tpm_time;
40};
41
42#define TPMEASN 4000
43extern int tp_Measn;
44extern struct tp_Meas tp_Meas[];
45
46/*
47 * the kinds of events for packet tracing are:
48 */
49#define TPtime_from_session 0x01
50#define TPtime_to_session 0x02
51#define TPtime_ack_rcvd 0x03
52#define TPtime_ack_sent 0x04
53#define TPtime_from_ll 0x05
54#define TPtime_to_ll 0x06
55#define TPsbsend 0x07
56#define TPtime_open 0x08
57#define TPtime_open_X 0x28 /* xtd format */
58#define TPtime_close 0x09
59
60#endif TP_PERF_MEAS