versadac
1
versadac - Scalable Recorder Firmware
Main Page
Classes
Files
File List
File Members
core
profinet_io
include
lldp.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:: lldp.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 general header */
23
/*---------------------------------------------------------------------------*/
24
#ifndef _LLDP_H
25
#define _LLDP_H
26
27
28
29
#define LLDP_MC {0x01, 0x80, 0xC2, 0x00, 0x00, 0x0E }
30
#define LLDP_FRAMEID 0x88CC
31
32
33
34
#define LENGTH_MASK 0x01FF
35
36
#define LLDP_OUI_LEN 3
37
38
/* TLV type definition 802.1AB 9.4.1 */
39
#define LLDP_TLV_ENDOFLLDPDU 0
40
#define LLDP_TLV_CHASSISID 1
41
#define LLDP_TLV_PORTID 2
42
#define LLDP_TLV_TTL 3
43
#define LLDP_TLV_PORTDESC 4
44
#define LLDP_TLV_SYSNAME 5
45
#define LLDP_TLV_SYSDESC 6
46
#define LLDP_TLV_SYSCAP 7
47
#define LLDP_TLV_MGTADDR 8
48
#define LLDP_TLV_ORG 127
49
50
51
#define LLDP_BEGIN_RESERVED_TLV 9
52
#define LLDP_END_RESERVED_TLV 126
53
#endif
Generated on Wed Aug 19 2020 10:33:44 for versadac by
1.8.9.1