versadac  1
versadac - Scalable Recorder Firmware
8023tlv.h
1 /*---------------------------------------------------------------------------*/
2 /* Copyright (C) 2006 Woodhead Software & Electonics. All rights reserved. */
3 /*---------------------------------------------------------------------------*/
4 /* This program is protected by international copyright. */
5 /* */
6 /* The use of this software including but not limited to its Source Code */
7 /* is subject to restrictions as agreed in the license agreement between */
8 /* you and Woodhead. */
9 /* Copying or distribution is not allowed unless expressly permitted */
10 /* according to your license agreement with Woodhead. */
11 /*---------------------------------------------------------------------------*/
12 /* */
13 /* Project : STACK PROFINET Controller */
14 /* Component : LLDP */
15 /* $Workfile:: 8023tlv.h $*/
16 /* $Revision:: 1 $*/
17 /* $Date:: 9/07/09 4:45p $*/
18 /* */
19 /*---------------------------------------------------------------------------*/
20 /* */
21 /* D e s c r i p t i o n : */
22 /* - LLDP 802.3 TLV header */
23 /*---------------------------------------------------------------------------*/
24 #ifndef _8023_TLV_H
25 #define _8023_TLV_H
26 
27 
28 
29 /* 8023 TLV */
30 #define OUI_8023 {0x00, 0x12, 0x0F}
31 
32 
33 #define LLDP_8023_SUBTYPE_MacPhyConfStatus 1
34 #define LLDP_8023_SUBTYPE_PowerViaMDI 2
35 #define LLDP_8023_SUBTYPE_LinkAggregation 3
36 #define LLDP_8023_SUBTYPE_MaxFrameSize 4
37 
38 #define LLDP_8023_AUTONEG_ENABLED_MASK 1
39 #define LLDP_8023_AUTONEG_SUPPORTED_MASK 2
40 
41 
42 
43 APP_VOID Create8023MacPhyConfTLV(LPST_LLDP_PORT lpPort);
44 
45 #endif
Definition: lmib.h:118