FD.io VPP  v18.01.2-1-g9b554f3
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

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:

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:

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:

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:

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:

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:

void cdp_periodic ( vlib_main_t vm)

Definition at line 344 of file cdp_periodic.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* cdp_periodic_init ( vlib_main_t vm)
static

Definition at line 397 of file cdp_periodic.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 332 of file cdp_periodic.c.

+ Here is the caller graph for this function:

static int pick_packet_template ( cdp_main_t cm,
cdp_neighbor_t n 
)
static

Definition at line 290 of file cdp_periodic.c.

+ Here is the caller graph for this function:

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:

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:

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

Definition at line 299 of file cdp_periodic.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 230 of file cdp_periodic.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: