2 * Copyright (C) 2001 Mike McCormack
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 #define NCBADDNAME 0x30
31 #define NCBADDGRNAME 0x36
32 #define NCBDELNAME 0x31
35 #define NCBHANGUP 0x12
36 #define NCBCANCEL 0x35
37 #define NCBLISTEN 0x11
50 UCHAR ncb_callname
[NCBNAMSZ
];
51 UCHAR ncb_name
[NCBNAMSZ
];
54 VOID (*ncb_post
)(struct _NCB
*);
57 UCHAR ncb_reserved
[10];
61 typedef struct _ADAPTER_STATUS
63 UCHAR adapter_address
[6];
71 WORD iframe_recv_error
;
75 WORD iframe_xmit_error
;
76 WORD recv_buffer_unavail
;
83 WORD xmit_buf_unavail
;
88 WORD max_sess_pktsize
;
90 } ADAPTER_STATUS
, *PADAPTER_STATUS
;
92 typedef struct _LANA_ENUM
95 UCHAR lana
[MAX_LANA
+1];
96 } LANA_ENUM
, *PLANA_ENUM
;
98 #define NRC_GOODRET 0x00
99 #define NRC_BUFLEN 0x01
100 #define NRC_ILLCMD 0x03
101 #define NRC_CMDTMO 0x05
102 #define NRC_INCOMP 0x06
103 #define NRC_INVADDRESS 0x39
104 #define NRC_PENDING 0xff
105 #define NRC_OPENERROR 0x3f
111 #endif /* NCB_INCLUDED */