2 * Copyright (c) 1990,1991 Regents of The University of Michigan.
6 # if defined( ultrix ) || defined( BSD4_4 )
7 #include <net/if_llc.h>
10 #if defined( sun ) && !defined( __svr4__ )
11 #include <net/if_ieee802.h>
15 * Copyright (c) 1988 Regents of the University of California.
16 * All rights reserved.
18 * @(#)if_llc.h 7.2 (Berkeley) 6/28/90
22 * IEEE 802.2 Link Level Control headers, for use in conjunction with
23 * 802.{3,4,5} media access control methods.
25 * Headers here do not use bit fields due to shortcommings in many
54 #define llc_control llc_un.type_u.control
55 #define llc_fid llc_un.type_u.format_id
56 #define llc_class llc_un.type_u.class
57 #define llc_window llc_un.type_u.window_x2
58 #define llc_org_code llc_un.type_snap.org_code
59 #define llc_ether_type llc_un.type_snap.ether_type
64 #define LLC_XID_P 0xbf
66 #define LLC_TEST_P 0xf3
68 #define LLC_ISO_LSAP 0xfe
69 #define LLC_SNAP_LSAP 0xaa
73 #if defined( sun ) || defined( ibm032 )
74 #define SIOCPHASE1 _IOW(i, 100, struct ifreq) /* AppleTalk phase 1 */
75 #define SIOCPHASE2 _IOW(i, 101, struct ifreq) /* AppleTalk phase 2 */
78 #if defined( ultrix ) || defined( BSD4_4 ) || defined( _IBMR2 )
79 #define SIOCPHASE1 _IOW('i', 100, struct ifreq) /* AppleTalk phase 1 */
80 #define SIOCPHASE2 _IOW('i', 101, struct ifreq) /* AppleTalk phase 2 */
81 #endif ultrix BSD4_4 _IBMR2