The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tlv_valuetypes.h File Reference

Defines a set of value types - used for semi-intelligent dumping of TLV data. More...

Go to the source code of this file.

Macros

#define TLV_DTYPE_BINARY   1
 Just raw binary - no special meaning. More...
 
#define TLV_DTYPE_UINT8   2
 8-bit unsigned integer More...
 
#define TLV_DTYPE_UINT16   3
 16-bit unsigned integer - network byte order More...
 
#define TLV_DTYPE_UINT32   4
 32-bit unsigned integer - network byte order More...
 
#define TLV_DTYPE_UINT64   5
 64-bit unsigned integer - network byte order More...
 
#define TLV_DTYPE_OUI   6
 IEEE 3-byte Organizationally Unique Identifier. More...
 
#define TLV_DTYPE_MACADDR   7
 Variable-length MAC address. More...
 
#define TLV_DTYPE_IPV4ADDR   8
 IPV4 address. More...
 
#define TLV_DTYPE_IPV6ADDR   9
 IPV6 address. More...
 
#define TLV_DTYPE_GENADDR   10
 Network address prefixed with address type. More...
 
#define TLV_DTYPE_LLCHASSIS   11
 LLDP Chassis ID. More...
 
#define TLV_DTYPE_LLPORTID   12
 LLDP Port ID. More...
 
#define TLV_DTYPE_LLCAPS   13
 LLDP Capabilities. More...
 
#define TLV_DTYPE_LLMGMTADDR   14
 LLDP Management address. More...
 
#define TLV_DTYPE_LL8021_VLANID   15
 LLDP 802.1 Port VLAN ID. More...
 
#define TLV_DTYPE_LL8021_PPVLANID   16
 LLDP 802.1 Port and Protocol VLAN ID. More...
 
#define TLV_DTYPE_LL8021_VLANNAME   17
 LLDP 802.1 VLAN Name. More...
 
#define TLV_DTYPE_LL8021_PROTOID   18
 LLDP 802.1 Protocol Identity. More...
 
#define TLV_DTYPE_LL8023_MACPHY   19
 LLDP 802.3 MAC/PHY Config/Status. More...
 
#define TLV_DTYPE_LL8023_POWER   20
 LLDP 802.3 MAC/PHY Config/Status. More...
 
#define TLV_DTYPE_LL8023_LINKAGGR   21
 LLDP 802.3 Link Aggregation. More...
 
#define TLV_DTYPE_LL8023_MTU   22
 LLDP 802.3 Maximum Frame Size. More...
 
#define TLV_DTYPE_FSTYPE   23
 Our Frameset types. More...
 
#define TLV_DTYPE_FSFLAGS   24
 Our Frameset flags. More...
 
#define TLV_DTYPE_FRAMETYPE   25
 Our Frame types. More...
 
#define TLV_DTYPE_FR_REQTYPE   26
 Our Frame request type. More...
 

Detailed Description

Defines a set of value types - used for semi-intelligent dumping of TLV data.

It defines a set of data types. Each TLV type is an object of a certain data type. We define those common sets of data types here. BUT THIS HEADER DOESN'T SEEM TO BE USED! - and I think the concept has changed since I wrote it. (?)

This file is part of the Assimilation Project.

Author
Copyright © 2011, 2012 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file tlv_valuetypes.h.