]>
git.saurik.com Git - apple/xnu.git/blob - bsd/netiso/tp_events.h
739629b66f93b9d29390e4311e3c999468c29686
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
24 struct timeval e_time
;
26 #define TM_retrans 0x1
27 #define TM_sendack 0x2
28 #define TM_notused 0x3
31 struct { SeqNum e_low
; SeqNum e_high
; int e_retrans
; } EV_TM_reference
;
33 #define TM_reference 0x4
34 struct { SeqNum e_low
; SeqNum e_high
; int e_retrans
; } EV_TM_data_retrans
;
36 #define TM_data_retrans 0x5
42 struct { struct mbuf
*e_data
; /* first field */
43 int e_datalen
; /* 2nd field */
48 struct { struct mbuf
*e_data
; /* first field */
49 int e_datalen
; /* 2nd field */
56 struct { struct mbuf
*e_data
; /* first field */
57 int e_datalen
; /* 2nd field */
70 struct { struct mbuf
*e_data
; /* first field */
71 int e_datalen
; /* 2nd field */
77 struct { struct mbuf
*e_data
; /* first field */
78 int e_datalen
; /* 2nd field */
83 struct { SeqNum e_seq
; } EV_XAK_TPDU
;
86 #define T_CONN_req 0xf
87 struct { u_char e_reason
; } EV_T_DISC_req
;
89 #define T_DISC_req 0x10
90 #define T_LISTEN_req 0x11
91 #define T_DATA_req 0x12
92 #define T_XPD_req 0x13
93 #define T_USR_rcvd 0x14
94 #define T_USR_Xrcvd 0x15
96 #define T_NETRESET 0x17
97 #define T_ACPT_req 0x18
99 };/* end struct event */
101 #define tp_NEVENTS 0x19
103 #define ATTR(X)ev_union.EV_/**/X/**/