1: /*
   2:  * Copyright (c) 1982, 1986 Regents of the University of California.
   3:  * All rights reserved.
   4:  *
   5:  * Redistribution and use in source and binary forms are permitted
   6:  * provided that this notice is preserved and that due credit is given
   7:  * to the University of California at Berkeley. The name of the University
   8:  * may not be used to endorse or promote products derived from this
   9:  * software without specific prior written permission. This software
  10:  * is provided ``as is'' without express or implied warranty.
  11:  *
  12:  *	@(#)tcp_debug.h	7.2 (Berkeley) 12/7/87
  13:  */
  14: 
  15: struct  tcp_debug {
  16:     n_time  td_time;
  17:     short   td_act;
  18:     short   td_ostate;
  19:     caddr_t td_tcb;
  20:     struct  tcpiphdr td_ti;
  21:     short   td_req;
  22:     struct  tcpcb td_cb;
  23: };
  24: 
  25: #define TA_INPUT    0
  26: #define TA_OUTPUT   1
  27: #define TA_USER     2
  28: #define TA_RESPOND  3
  29: #define TA_DROP     4
  30: 
  31: #ifdef TANAMES
  32: char    *tanames[] =
  33:     { "input", "output", "user", "respond", "drop" };
  34: #endif
  35: 
  36: #define TCP_NDEBUG 2
  37: struct  tcp_debug tcp_debug[TCP_NDEBUG];
  38: int tcp_debx;

Defined variables

tanames defined in line 32; used 2 times
tcp_debug defined in line 37; used 10 times
tcp_debx defined in line 38; used 16 times

Defined struct's

tcp_debug defined in line 15; used 10 times

Defined macros

TA_DROP defined in line 29; used 1 times
TA_INPUT defined in line 25; used 1 times
TA_RESPOND defined in line 28; never used
TA_USER defined in line 27; used 1 times
TCP_NDEBUG defined in line 36; used 11 times

Usage of this include

Last modified: 1988-04-27
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 3104
Valid CSS Valid XHTML 1.0 Strict