Go to the source code of this file.
|
| enum | chassis_id_type_t {
C_CHASSIS_COMPONENT,
C_INTERFACE_ALIAS,
C_PORT_COMPONENT,
C_MAC_ADDRESS,
C_NETWORK_ADDRESS,
C_INTERFACE_NAME,
C_LOCAL
} |
| | yang_lldp ieee:chassis_id_subtype_type More...
|
| |
| enum | port_id_type_t {
P_INTERFACE_ALIAS,
P_PORT_COMPONENT,
P_MAC_ADDRESS,
P_NETWORK_ADDRESS,
P_INTERFACE_NAME,
P_AGENT_CIRCUIT_ID,
P_LOCAL
} |
| | yang_lldp ieee:port_id_subtype_type More...
|
| |
| enum | tlvs_tx_enable_bits_t { port_desc = 0,
sys_name = 1,
sys_desc,
sys_cap
} |
| | TX enable bit position. Once the position is set to 1, lldpd will send the corresponding tlv info. More...
|
| |
| enum | address_subtype_t { ipv4 = 1,
ipv6,
nsap
} |
| | Address subtype. More...
|
| |
| enum | man_addr_if_subtype_t { unknown = 1,
port_ref = 2,
system_port_number = 3
} |
| | If subtype. More...
|
| |
| enum | admin_status_t { tx_only = 1,
rx_only,
tx_and_rx,
disabled
} |
| | We can enable/disable tx/rx of one interface. More...
|
| |
◆ LLDP_MAX_LOCAL_INTERFACES
| #define LLDP_MAX_LOCAL_INTERFACES (8) |
◆ LLDP_STRING_MAX_LEN
| #define LLDP_STRING_MAX_LEN (256) |
◆ MAX_ADDRESS_LEN
| #define MAX_ADDRESS_LEN (64) |
Local manament address of a port. 1 port can have IPV4, IPV6, ...
◆ MAX_PORT_MANAGEMENT_ADDRESS
| #define MAX_PORT_MANAGEMENT_ADDRESS (4) |
◆ MAX_UNKNOW_TLV_LEN
| #define MAX_UNKNOW_TLV_LEN (8) |
◆ MAX_TLV_INFO_LEN
| #define MAX_TLV_INFO_LEN (512) |
◆ MAX_REMOTE_ORG_DEFINE_LEN
| #define MAX_REMOTE_ORG_DEFINE_LEN (8) |
◆ MAX_REMOTE_INFO_LEN
| #define MAX_REMOTE_INFO_LEN (508) |
◆ MAX_REMOTE_SYSTEM_DATA_LEN
| #define MAX_REMOTE_SYSTEM_DATA_LEN (8) |
◆ PORT_MAX_NAME_LEN
| #define PORT_MAX_NAME_LEN (16) |
Represent an interface with interface name and MAC address as keys 1 lldpd system consists of multiple ports.
◆ timestamp_t
yang_lldp remote_statistics
◆ timeticks
◆ chassis_id_type_t
yang_lldp ieee:chassis_id_subtype_type
| Enumerator |
|---|
| C_CHASSIS_COMPONENT | |
| C_INTERFACE_ALIAS | |
| C_PORT_COMPONENT | |
| C_MAC_ADDRESS | |
| C_NETWORK_ADDRESS | |
| C_INTERFACE_NAME | |
| C_LOCAL | |
◆ port_id_type_t
yang_lldp ieee:port_id_subtype_type
| Enumerator |
|---|
| P_INTERFACE_ALIAS | |
| P_PORT_COMPONENT | |
| P_MAC_ADDRESS | |
| P_NETWORK_ADDRESS | |
| P_INTERFACE_NAME | |
| P_AGENT_CIRCUIT_ID | |
| P_LOCAL | |
◆ tlvs_tx_enable_bits_t
TX enable bit position. Once the position is set to 1, lldpd will send the corresponding tlv info.
| Enumerator |
|---|
| port_desc | |
| sys_name | |
| sys_desc | |
| sys_cap | |
◆ address_subtype_t
◆ man_addr_if_subtype_t
If subtype.
| Enumerator |
|---|
| unknown | |
| port_ref | |
| system_port_number | |
◆ admin_status_t
We can enable/disable tx/rx of one interface.
| Enumerator |
|---|
| tx_only | |
| rx_only | |
| tx_and_rx | |
| disabled | |
◆ ydbi_get_item_abk1vk0()
| int ydbi_get_item_abk1vk0 |
( |
yang_db_item_access_t * |
ydbia, |
|
|
void ** |
rval, |
|
|
uint8_t |
k1, |
|
|
bool |
status |
|
) |
| |
◆ ydbi_get_item_abk2vk0()
| int ydbi_get_item_abk2vk0 |
( |
yang_db_item_access_t * |
ydbia, |
|
|
void ** |
rval, |
|
|
uint8_t |
k1, |
|
|
uint8_t |
k2, |
|
|
bool |
status |
|
) |
| |
◆ ydbi_load_lldp_db()
| int ydbi_load_lldp_db |
( |
yang_db_item_access_t * |
ydbia, |
|
|
yang_lldp_t * |
lldp |
|
) |
| |