FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
lldp.h File Reference

LLDP external definition. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum lldp_cfg_err lldp_cfg_err_t
 

Enumerations

enum  lldp_cfg_err { lldp_ok, lldp_not_supported, lldp_invalid_arg, lldp_internal_error }
 

Functions

lldp_cfg_err_t lldp_cfg_intf_set (u32 hw_if_index, u8 **port_desc, u8 **mgmt_ip4, u8 **mgmt_ip6, u8 **mgmt_oid, int enable)
 
lldp_cfg_err_t lldp_cfg_set (u8 **host, int hold_time, int tx_interval)
 

Variables

const u8 lldp_mac_addr [6]
 

Detailed Description

LLDP external definition.

Definition in file lldp.h.

Typedef Documentation

◆ lldp_cfg_err_t

Enumeration Type Documentation

◆ lldp_cfg_err

Enumerator
lldp_ok 
lldp_not_supported 
lldp_invalid_arg 
lldp_internal_error 

Definition at line 22 of file lldp.h.

Function Documentation

◆ lldp_cfg_intf_set()

lldp_cfg_err_t lldp_cfg_intf_set ( u32  hw_if_index,
u8 **  port_desc,
u8 **  mgmt_ip4,
u8 **  mgmt_ip6,
u8 **  mgmt_oid,
int  enable 
)

Definition at line 49 of file lldp_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lldp_cfg_set()

lldp_cfg_err_t lldp_cfg_set ( u8 **  host,
int  hold_time,
int  tx_interval 
)

Definition at line 202 of file lldp_cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ lldp_mac_addr

const u8 lldp_mac_addr[6]

Definition at line 269 of file lldp_output.c.