BSD 4_3 release
[unix-history] / usr / src / sys / netns / spp_debug.h
CommitLineData
8ae0e4b4 1/*
0880b18e 2 * Copyright (c) 1984, 1986 Regents of the University of California.
8ae0e4b4
KM
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
95f51977 6 * @(#)spp_debug.h 7.1 (Berkeley) 6/5/86
8ae0e4b4 7 */
13cf97fd
KS
8
9struct spp_debug {
10 u_long sd_time;
11 short sd_act;
12 short sd_ostate;
13 caddr_t sd_cb;
14 short sd_req;
15 struct spidp sd_si;
16 struct sppcb sd_sp;
17};
18
19#define SA_INPUT 0
20#define SA_OUTPUT 1
21#define SA_USER 2
22#define SA_RESPOND 3
23#define SA_DROP 4
24
25#ifdef SANAMES
26char *sanames[] =
27 { "input", "output", "user", "respond", "drop" };
28#endif
29
30#define SPP_NDEBUG 100
31struct spp_debug spp_debug[SPP_NDEBUG];
32int spp_debx;