lldp.h revision 2
339d2a4d4b3b2e0be9e43afec6e84fe468edfaeeAutomatic Updater * CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * The contents of this file are subject to the terms of the
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater * Common Development and Distribution License (the "License").
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews * You may not use this file except in compliance with the License.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * If applicable, add the following below this CDDL HEADER, with the
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews * fields enclosed by brackets "[]" replaced with your own identifying
82d05588933a3c765aa8518fe455d6477d640b99Mark Andrews * information: Portions Copyright [yyyy] [name of copyright owner]
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence * CDDL HEADER END
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark Andrews * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley * The interfaces defined in this file are private to the implementation
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley * of Solaris and are subject to change at any time without notice.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * Applications using these interfaces may fail to run on future releases.
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt * Multicast addresses used by LLDP agents. These MAC addresses define the
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt * transmission scope of the LLDPDU packets sent.
b4d8192d210290112e07b0e22b491c45c50ba696Evan Hunt#define LLDP_GROUP_ADDRESS { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x0e }
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence/* LLDP Agent operation modes */
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrencetypedef enum {
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence /* types 9-126 are reserved */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeintypedef enum {
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrencetypedef enum {
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence LLDP_PORT_ID_IFALIAS = 1, /* RFC 2863 - DisplayString */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein LLDP_PORT_ID_PORT_COMPONENT, /* RFC 4133 - DisplayString */
2680c1bb61f5b8084ab023dc11057c3350ecf0cfAndreas Gustafsson LLDP_PORT_ID_MACADDRESS, /* IEEE Std 802 */
2680c1bb61f5b8084ab023dc11057c3350ecf0cfAndreas Gustafsson LLDP_PORT_ID_IPADDRESS, /* IPv4 or IPv6 address */
2680c1bb61f5b8084ab023dc11057c3350ecf0cfAndreas Gustafsson LLDP_PORT_ID_IFNAME, /* RFC 2863 - DisaplayString */
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley LLDP_PORT_ID_AGENT_CICRUITID, /* RFC 3046 - NumericString */
#define LLDP_MAX_MSAPLEN \
typedef struct lldp_tlv_s {
} lldp_tlv_t;
typedef struct lldp_chassid_s {
typedef struct lldp_portid_s {
typedef struct lldp_syscapab_s {
typedef struct lldp_vlan_info_s {
typedef struct lldp_vnic_info_s {
typedef struct lldp_aggr_s {
} lldp_aggr_t;
typedef struct lldp_pfc_s {
} lldp_pfc_t;
typedef struct lldp_appln_s {
} lldp_appln_t;
typedef struct lldp_evb_s {
} lldp_evb_t;
#define LLDP_EVB_UNKNOWN 0
typedef struct lldp_ets_s {
} lldp_ets_t;
/* ETS configuration/recommendation TLV information string length */
typedef struct lldp_mgmtaddr_s {
typedef enum dcbx_protocol_type_s {
#ifdef __cplusplus