FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
cdp_periodic.c File Reference
+ Include dependency graph for cdp_periodic.c:

Go to the source code of this file.

Functions

static void add_device_name_tlv (vnet_hw_interface_t *hw, u8 **t0p)
 
static void add_port_id_tlv (vnet_hw_interface_t *hw, u8 **t0p)
 
static void add_version_tlv (vnet_hw_interface_t *hw, u8 **t0p)
 
static void add_platform_tlv (vnet_hw_interface_t *hw, u8 **t0p)
 
static void add_capability_tlv (vnet_hw_interface_t *hw, u8 **t0p)
 
static void add_tlvs (cdp_main_t *cm, vnet_hw_interface_t *hw, u8 **t0p)
 
static void send_ethernet_hello (cdp_main_t *cm, cdp_neighbor_t *n, int count)
 
static void send_hdlc_hello (cdp_main_t *cm, cdp_neighbor_t *n, int count)
 
static void send_srp_hello (cdp_main_t *cm, cdp_neighbor_t *n, int count)
 
static int pick_packet_template (cdp_main_t *cm, cdp_neighbor_t *n)
 
static void send_hello (cdp_main_t *cm, cdp_neighbor_t *n, int count)
 
static void delete_neighbor (cdp_main_t *cm, cdp_neighbor_t *n, int want_broadcast)
 
void cdp_periodic (vlib_main_t *vm)
 
static clib_error_tcdp_periodic_init (vlib_main_t *vm)
 

Function Documentation

◆ add_capability_tlv()

static void add_capability_tlv ( vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 77 of file cdp_periodic.c.

+ Here is the caller graph for this function:

◆ add_device_name_tlv()

static void add_device_name_tlv ( vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 32 of file cdp_periodic.c.

+ Here is the caller graph for this function:

◆ add_platform_tlv()

static void add_platform_tlv ( vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 66 of file cdp_periodic.c.

+ Here is the caller graph for this function:

◆ add_port_id_tlv()

static void add_port_id_tlv ( vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 44 of file cdp_periodic.c.

+ Here is the caller graph for this function:

◆ add_tlvs()

static void add_tlvs ( cdp_main_t cm,
vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 91 of file cdp_periodic.c.

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

◆ add_version_tlv()

static void add_version_tlv ( vnet_hw_interface_t hw,
u8 **  t0p 
)
static

Definition at line 55 of file cdp_periodic.c.

+ Here is the caller graph for this function:

◆ cdp_periodic()

void cdp_periodic ( vlib_main_t vm)

Definition at line 350 of file cdp_periodic.c.

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

◆ cdp_periodic_init()

static clib_error_t* cdp_periodic_init ( vlib_main_t vm)
static

Definition at line 403 of file cdp_periodic.c.

+ Here is the call graph for this function:

◆ delete_neighbor()

static void delete_neighbor ( cdp_main_t cm,
cdp_neighbor_t n,
int  want_broadcast 
)
static

Definition at line 338 of file cdp_periodic.c.

+ Here is the caller graph for this function:

◆ pick_packet_template()

static int pick_packet_template ( cdp_main_t cm,
cdp_neighbor_t n 
)
static

Definition at line 296 of file cdp_periodic.c.

+ Here is the caller graph for this function:

◆ send_ethernet_hello()

static void send_ethernet_hello ( cdp_main_t cm,
cdp_neighbor_t n,
int  count 
)
static

Definition at line 104 of file cdp_periodic.c.

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

◆ send_hdlc_hello()

static void send_hdlc_hello ( cdp_main_t cm,
cdp_neighbor_t n,
int  count 
)
static

Definition at line 174 of file cdp_periodic.c.

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

◆ send_hello()

static void send_hello ( cdp_main_t cm,
cdp_neighbor_t n,
int  count 
)
static

Definition at line 305 of file cdp_periodic.c.

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

◆ send_srp_hello()

static void send_srp_hello ( cdp_main_t cm,
cdp_neighbor_t n,
int  count 
)
static

Definition at line 233 of file cdp_periodic.c.

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