The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netiso/tp_events.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: tp_events.h,v 1.5 1996/02/13 22:10:58 christos Exp $   */
    2 
    3 struct tp_event {
    4         int             ev_number;
    5         struct timeval  e_time;
    6 #define TM_inact 0x0
    7 #define TM_retrans 0x1
    8 #define TM_sendack 0x2
    9 #define TM_notused 0x3
   10 
   11         union {
   12                 struct {
   13                         SeqNum          e_low;
   14                         SeqNum          e_high;
   15                         int             e_retrans;
   16                 }               EV_TM_reference;
   17 
   18 #define TM_reference 0x4
   19                 struct {
   20                         SeqNum          e_low;
   21                         SeqNum          e_high;
   22                         int             e_retrans;
   23                 }               EV_TM_data_retrans;
   24 
   25 #define TM_data_retrans 0x5
   26                 struct {
   27                         u_char          e_reason;
   28                 }               EV_ER_TPDU;
   29 
   30 #define ER_TPDU 0x6
   31                 struct {
   32                         struct mbuf    *e_data; /* first field */
   33                         int             e_datalen;      /* 2nd field */
   34                         u_int           e_cdt;
   35                 }               EV_CR_TPDU;
   36 
   37 #define CR_TPDU 0x7
   38                 struct {
   39                         struct mbuf    *e_data; /* first field */
   40                         int             e_datalen;      /* 2nd field */
   41                         u_short         e_sref;
   42                         u_char          e_reason;
   43                 }               EV_DR_TPDU;
   44 
   45 #define DR_TPDU 0x8
   46 #define DC_TPDU 0x9
   47                 struct {
   48                         struct mbuf    *e_data; /* first field */
   49                         int             e_datalen;      /* 2nd field */
   50                         u_short         e_sref;
   51                         u_int           e_cdt;
   52                 }               EV_CC_TPDU;
   53 
   54 #define CC_TPDU 0xa
   55                 struct {
   56                         u_int           e_cdt;
   57                         SeqNum          e_seq;
   58                         SeqNum          e_subseq;
   59                         u_char          e_fcc_present;
   60                 }               EV_AK_TPDU;
   61 
   62 #define AK_TPDU 0xb
   63                 struct {
   64                         struct mbuf    *e_data; /* first field */
   65                         int             e_datalen;      /* 2nd field */
   66                         u_int           e_eot;
   67                         SeqNum          e_seq;
   68                 }               EV_DT_TPDU;
   69 
   70 #define DT_TPDU 0xc
   71                 struct {
   72                         struct mbuf    *e_data; /* first field */
   73                         int             e_datalen;      /* 2nd field */
   74                         SeqNum          e_seq;
   75                 }               EV_XPD_TPDU;
   76 
   77 #define XPD_TPDU 0xd
   78                 struct {
   79                         SeqNum          e_seq;
   80                 }               EV_XAK_TPDU;
   81 
   82 #define XAK_TPDU 0xe
   83 #define T_CONN_req 0xf
   84                 struct {
   85                         u_char          e_reason;
   86                 }               EV_REQ_TPDU;
   87 
   88 #define T_DISC_req 0x10
   89 #define T_LISTEN_req 0x11
   90 #define T_DATA_req 0x12
   91 #define T_XPD_req 0x13
   92 #define T_USR_rcvd 0x14
   93 #define T_USR_Xrcvd 0x15
   94 #define T_DETACH 0x16
   95 #define T_NETRESET 0x17
   96 #define T_ACPT_req 0x18
   97         }               ev_union;
   98 };                              /* end struct event */
   99 
  100 #define tp_NEVENTS 0x19

Cache object: 7c6582e939f78f18bd4e7eff62d62c95


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.