# 2.11BSD#431 - /usr/src/sys/netinet/tcp_debug.h

##### Variables

    tanames           X
    tcp_debug         X
    tcp_debx          X

##### Macros

    TA_DROP           X
    TA_INPUT          X
    TA_OUTPUT         X
    TA_RESPOND        X
    TA_USER           X
    TCP_NDEBUG        X

##### struct's

    tcp_debug         X

       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

- in /usr/src/sys/netinet/tcp_debug.c line 86
- in /usr/src/usr.sbin/trpt/trpt.c line 246

tcp_debug defined in line 37; used 10 times

- in /usr/src/sys/netinet/tcp_debug.c line 62
- in /usr/src/usr.sbin/trpt/trpt.c line 139(3), 152, 193, 203, 224(3)

tcp_debx defined in line 38; used 16 times

- in /usr/src/sys/netinet/tcp_debug.c line 62-65(3)
- in /usr/src/usr.sbin/trpt/trpt.c line 134(3), 187-191(3), 199-202(2), 212, 218-222(4)

#### Defined struct's

tcp_debug defined in line 15; used 10 times

- in line 37(2)
- in /usr/src/sys/netinet/tcp_debug.c line 62(2)
- in /usr/src/usr.sbin/trpt/trpt.c line 62(2), 152(2), 186(2)

#### Defined macros

TA_DROP defined in line 29; used 1 times

- in /usr/src/sys/netinet/tcp_input.c line 1158

TA_INPUT defined in line 25; used 1 times

- in /usr/src/sys/netinet/tcp_input.c line 1105

TA_OUTPUT defined in line 26; used 5 times

- in /usr/src/sys/netinet/tcp_debug.c line 97-102(2)
- in /usr/src/sys/netinet/tcp_output.c line 385
- in /usr/src/usr.sbin/trpt/trpt.c line 262, 268

TA_RESPOND defined in line 28; never used
TA_USER defined in line 27; used 1 times

- in /usr/src/sys/netinet/tcp_usrreq.c line 315

TCP_NDEBUG defined in line 36; used 11 times

- in line 37
- in /usr/src/sys/netinet/tcp_debug.c line 64
- in /usr/src/usr.sbin/trpt/trpt.c line 62-63(2), 101, 150, 191-192(3), 202, 213

#### Usage of this include

tcp_debug.h used 8 times

- in /usr/src/new/crash/inet.c line 32
- in /usr/src/sys/netinet/tcp_debug.c line 45
- in /usr/src/sys/netinet/tcp_input.c line 38
- in /usr/src/sys/netinet/tcp_output.c line 38
- in /usr/src/sys/netinet/tcp_usrreq.c line 39
- in /usr/src/ucb/PORT/systat/netstat.c line 35
- in /usr/src/ucb/netstat/inet.c line 43
- in /usr/src/usr.sbin/trpt/trpt.c line 42

Last modified: 1988-04-27 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1097 |