]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
e5568f75 A |
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. | |
1c79356b | 11 | * |
e5568f75 A |
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 | |
1c79356b A |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
e5568f75 A |
16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the |
17 | * License for the specific language governing rights and limitations | |
18 | * under the License. | |
1c79356b A |
19 | * |
20 | * @APPLE_LICENSE_HEADER_END@ | |
21 | */ | |
22 | /* | |
23 | * Copyright (c) 1988, 1989 Apple Computer, Inc. | |
24 | */ | |
25 | ||
26 | /* Definitions for generic access to AppleTalk link level protocols. | |
27 | */ | |
28 | ||
29 | #ifndef _NETAT_LAP_H_ | |
30 | #define _NETAT_LAP_H_ | |
9bccf70c | 31 | #include <sys/appleapiopts.h> |
1c79356b | 32 | |
91447636 A |
33 | #ifdef __APPLE_API_OBSOLETE |
34 | ||
1c79356b A |
35 | #define AT_MID_ELAP 202 |
36 | ||
37 | /* elap ioctl's */ | |
38 | ||
39 | #define ELAP_IOC_MYIOCTL(i) ((i>>8) == AT_MID_ELAP) | |
40 | #define ELAP_IOC_GET_STATS ((AT_MID_ELAP<<8) | 2) | |
41 | ||
42 | #define AT_MID_LAP 214 | |
43 | ||
44 | /* Generic LAP ioctl's. Each LAP may implement other ioctl's specific to | |
45 | * its functionality. | |
46 | */ | |
47 | #define LAP_IOC_MYIOCTL(i) ((i>>8) == AT_MID_LAP) | |
48 | #define LAP_IOC_ADD_ROUTE ((AT_MID_LAP<<8) | 9) | |
49 | #define LAP_IOC_GET_ZONE ((AT_MID_LAP<<8) | 12) | |
50 | #define LAP_IOC_GET_ROUTE ((AT_MID_LAP<<8) | 13) | |
51 | #define LAP_IOC_SNMP_GET_CFG ((AT_MID_LAP<<8) | 21) | |
52 | #define LAP_IOC_SNMP_GET_AARP ((AT_MID_LAP<<8) | 22) | |
53 | #define LAP_IOC_SNMP_GET_RTMP ((AT_MID_LAP<<8) | 23) | |
54 | #define LAP_IOC_SNMP_GET_ZIP ((AT_MID_LAP<<8) | 24) | |
55 | #define LAP_IOC_SNMP_GET_DDP ((AT_MID_LAP<<8) | 25) | |
56 | #define LAP_IOC_SNMP_GET_NBP ((AT_MID_LAP<<8) | 26) | |
57 | #define LAP_IOC_SNMP_GET_PORTS ((AT_MID_LAP<<8) | 27) | |
58 | ||
59 | #ifdef NOT_USED | |
60 | ||
61 | #define ELAP_IOC_GET_CFG ((AT_MID_ELAP<<8) | 1) /* not used */ | |
62 | #define ELAP_IOC_SET_CFG ((AT_MID_ELAP<<8) | 3) /* not used */ | |
63 | #define ELAP_IOC_SET_ZONE ((AT_MID_ELAP<<8) | 4) /* not used */ | |
64 | #define ELAP_IOC_SWITCHZONE ((AT_MID_ELAP<<8) | 5) /* not used */ | |
65 | ||
66 | #define LAP_IOC_ONLINE ((AT_MID_LAP<<8) | 1) /* not used */ | |
67 | #define LAP_IOC_OFFLINE ((AT_MID_LAP<<8) | 2) /* not used */ | |
68 | #define LAP_IOC_GET_IFS_STAT ((AT_MID_LAP<<8) | 3) /* not used */ | |
69 | #define LAP_IOC_ADD_ZONE ((AT_MID_LAP<<8) | 4) /* not used */ | |
70 | #define LAP_IOC_ROUTER_START ((AT_MID_LAP<<8) | 5) /* not used */ | |
71 | #define LAP_IOC_ROUTER_SHUTDOWN ((AT_MID_LAP<<8) | 6) /* not used */ | |
72 | #define LAP_IOC_ROUTER_INIT ((AT_MID_LAP<<8) | 7) /* not used */ | |
73 | #define LAP_IOC_GET_IFID ((AT_MID_LAP<<8) | 8) /* not used */ | |
74 | #define LAP_IOC_GET_DBG ((AT_MID_LAP<<8) | 10) /* not used */ | |
75 | #define LAP_IOC_SET_DBG ((AT_MID_LAP<<8) | 11) /* not used */ | |
76 | #define LAP_IOC_ADD_IFNAME ((AT_MID_LAP<<8) | 14) /* not used */ | |
77 | #define LAP_IOC_DO_DEFER ((AT_MID_LAP<<8) | 15) /* not used */ | |
78 | #define LAP_IOC_DO_DELAY ((AT_MID_LAP<<8) | 16) /* not used */ | |
79 | #define LAP_IOC_SHUT_DOWN ((AT_MID_LAP<<8) | 17) /* not used */ | |
80 | #define LAP_IOC_CHECK_STATE ((AT_MID_LAP<<8) | 18) /* not used */ | |
81 | #define LAP_IOC_DEL_IFNAME ((AT_MID_LAP<<8) | 19) /* not used */ | |
82 | #define LAP_IOC_SET_MIX ((AT_MID_LAP<<8) | 20) /* not used */ | |
83 | #define LAP_IOC_SET_LOCAL_ZONES ((AT_MID_LAP<<8) | 28) /* not used */ | |
84 | #define LAP_IOC_GET_LOCAL_ZONE ((AT_MID_LAP<<8) | 29) /* not used */ | |
85 | #define LAP_IOC_IS_ZONE_LOCAL ((AT_MID_LAP<<8) | 30) /* not used */ | |
86 | #define LAP_IOC_GET_MODE ((AT_MID_LAP<<8) | 31) /* not used */ | |
87 | #define LAP_IOC_GET_IF_NAMES ((AT_MID_LAP<<8) | 32) /* not used */ | |
88 | #define LAP_IOC_GET_DEFAULT_ZONE ((AT_MID_LAP<<8) | 33) /* not used */ | |
89 | #define LAP_IOC_SET_DEFAULT_ZONES ((AT_MID_LAP<<8) | 34) /* not used */ | |
90 | ||
91 | #endif /* NOT_USED */ | |
92 | ||
91447636 | 93 | #endif /* __APPLE_API_OBSOLETE */ |
1c79356b A |
94 | #endif /* _NETAT_LAP_H_ */ |
95 |