home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / netinet / h / tcp_debug < prev    next >
Encoding:
Text File  |  1995-01-11  |  1.3 KB  |  57 lines

  1. /*
  2.  * $Header: /ax/networking:include/netinet/tcp_debug.h:networking  1.1  $
  3.  * $Source: /ax/networking:include/netinet/tcp_debug.h: $
  4.  *
  5.  * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
  6.  *
  7.  * $Log:    tcp_debug.h,v $
  8.  * Revision 1.1  95/01/11  10:17:01  kwelton
  9.  * Initial revision
  10.  * 
  11.  * Revision 1.3  88/06/17  20:27:25  beta
  12.  * Acorn Unix initial beta version
  13.  * 
  14.  */
  15. /* @(#)tcp_debug.h    1.1 87/07/01 3.2/4.3NFSSRC */
  16. /*
  17.  * Copyright (c) 1982, 1986 Regents of the University of California.
  18.  * All rights reserved.  The Berkeley software License Agreement
  19.  * specifies the terms and conditions for redistribution.
  20.  *
  21.  *    @(#)tcp_debug.h    7.1 (Berkeley) 6/5/86
  22.  */
  23.  
  24. struct    tcp_debug {
  25.     n_time    td_time;
  26.     short    td_act;
  27.     short    td_ostate;
  28.     caddr_t    td_tcb;
  29.     struct    tcpiphdr td_ti;
  30. #ifndef arm
  31.     short    td_req;
  32. #else   arm
  33.     int    td_req; /* For debugging this stores a char* */
  34. #endif  arm
  35.     struct    tcpcb td_cb;
  36. };
  37.  
  38. #define    TA_INPUT     0
  39. #define    TA_OUTPUT    1
  40. #define    TA_USER        2
  41. #define    TA_RESPOND    3
  42. #define    TA_DROP        4
  43. #define TA_DEBUG        5  /* KDR special just for debugging */
  44.  
  45. #ifdef TANAMES
  46. char    *tanames[] =
  47.     { "input", "output", "user", "respond", "drop", "debug" };
  48. #endif
  49.  
  50. #define    TCP_NDEBUG 100
  51. #ifdef  KERNEL
  52. struct    tcp_debug tcp_debug[TCP_NDEBUG];
  53. int    tcp_debx;
  54. #endif  KERNEL
  55.  
  56. /* EOF tcp_debug.h */
  57.