]> git.saurik.com Git - apple/xnu.git/blob - bsd/net/ieee8023ad.h
7497714889fb95ac02abecc7eb63fa667abfc2d7
[apple/xnu.git] / bsd / net / ieee8023ad.h
1 /*
2 * Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23
24 /*
25 * ieee8023ad.h
26 */
27
28 /*
29 * Modification History
30 *
31 * May 14, 2004 Dieter Siegmund (dieter@apple.com)
32 * - created
33 */
34
35
36 #ifndef _NET_IEEE8023AD_H_
37 #define _NET_IEEE8023AD_H_
38
39 #include <sys/types.h>
40
41 #define IEEE8023AD_SLOW_PROTO_ETHERTYPE 0x8809
42 #define IEEE8023AD_SLOW_PROTO_MULTICAST { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x02 }
43
44 #define IEEE8023AD_SLOW_PROTO_SUBTYPE_LACP 1
45 #define IEEE8023AD_SLOW_PROTO_SUBTYPE_LA_MARKER_PROTOCOL 2
46 #define IEEE8023AD_SLOW_PROTO_SUBTYPE_RESERVED_START 3
47 #define IEEE8023AD_SLOW_PROTO_SUBTYPE_RESERVED_END 10
48 #endif _NET_IEEE8023AD_H_