FD.io VPP  v21.06
Vector Packet Processing
ip_neighbor_types.h File Reference
+ Include dependency graph for ip_neighbor_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ip_neighbor_watcher_t_
 
struct  ip_neighbor_key_t_
 
struct  ip_neighbor_t_
 A representation of an IP neighbour/peer. More...
 
struct  ip_neighbor_learn_t_
 
struct  ip_neighbor_event_t_
 

Macros

#define foreach_ip_neighbor_flag
 

Typedefs

typedef enum ip_neighbor_flags_t_ ip_neighbor_flags_t
 
typedef struct ip_neighbor_watcher_t_ ip_neighbor_watcher_t
 
typedef struct ip_neighbor_key_t_ ip_neighbor_key_t
 
typedef struct ip_neighbor_t_ ip_neighbor_t
 A representation of an IP neighbour/peer. More...
 
typedef struct ip_neighbor_learn_t_ ip_neighbor_learn_t
 
typedef enum ip_neighbor_event_flags_t_ ip_neighbor_event_flags_t
 
typedef struct ip_neighbor_event_t_ ip_neighbor_event_t
 

Enumerations

enum  ip_neighbor_flags_t_ { IP_NEIGHBOR_FLAG_NONE = 0, foreach_ip_neighbor_flag }
 
enum  ip_neighbor_event_flags_t_ { IP_NEIGHBOR_EVENT_ADDED = (1 << 0), IP_NEIGHBOR_EVENT_REMOVED = (1 << 1) }
 

Functions

u8format_ip_neighbor_watcher (u8 *s, va_list *args)
 
u8format_ip_neighbor_flags (u8 *s, va_list *args)
 
u8format_ip_neighbor_key (u8 *s, va_list *args)
 
u8format_ip_neighbor (u8 *s, va_list *args)
 
ip_neighbor_tip_neighbor_get (index_t ipni)
 
void ip_neighbor_clone (const ip_neighbor_t *ipn, ip_neighbor_t *clone)
 
void ip_neighbor_free (ip_neighbor_t *ipn)
 

Macro Definition Documentation

◆ foreach_ip_neighbor_flag

#define foreach_ip_neighbor_flag
Value:
_(STATIC, 1 << 0, "static", "S") \
_(DYNAMIC, 1 << 1, "dynamic", "D") \
_(NO_FIB_ENTRY, 1 << 2, "no-fib-entry", "N") \
_(PENDING, 1 << 3, "pending", "P") \
_(STALE, 1 << 4, "stale", "A") \

Definition at line 25 of file ip_neighbor_types.h.

Typedef Documentation

◆ ip_neighbor_event_flags_t

◆ ip_neighbor_event_t

◆ ip_neighbor_flags_t

◆ ip_neighbor_key_t

◆ ip_neighbor_learn_t

◆ ip_neighbor_t

typedef struct ip_neighbor_t_ ip_neighbor_t

A representation of an IP neighbour/peer.

◆ ip_neighbor_watcher_t

Enumeration Type Documentation

◆ ip_neighbor_event_flags_t_

Enumerator
IP_NEIGHBOR_EVENT_ADDED 
IP_NEIGHBOR_EVENT_REMOVED 

Definition at line 105 of file ip_neighbor_types.h.

◆ ip_neighbor_flags_t_

Enumerator
IP_NEIGHBOR_FLAG_NONE 
foreach_ip_neighbor_flag 

Definition at line 32 of file ip_neighbor_types.h.

Function Documentation

◆ format_ip_neighbor()

u8* format_ip_neighbor ( u8 s,
va_list *  args 
)

Definition at line 69 of file ip_neighbor_types.c.

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

◆ format_ip_neighbor_flags()

u8* format_ip_neighbor_flags ( u8 s,
va_list *  args 
)

Definition at line 36 of file ip_neighbor_types.c.

+ Here is the caller graph for this function:

◆ format_ip_neighbor_key()

u8* format_ip_neighbor_key ( u8 s,
va_list *  args 
)

Definition at line 49 of file ip_neighbor_types.c.

+ Here is the call graph for this function:

◆ format_ip_neighbor_watcher()

u8* format_ip_neighbor_watcher ( u8 s,
va_list *  args 
)

Definition at line 59 of file ip_neighbor_types.c.

◆ ip_neighbor_clone()

void ip_neighbor_clone ( const ip_neighbor_t ipn,
ip_neighbor_t clone 
)

Definition at line 21 of file ip_neighbor_types.c.

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

◆ ip_neighbor_free()

void ip_neighbor_free ( ip_neighbor_t ipn)

Definition at line 30 of file ip_neighbor_types.c.

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

◆ ip_neighbor_get()

ip_neighbor_t* ip_neighbor_get ( index_t  ipni)

Definition at line 89 of file ip_neighbor.c.

+ Here is the caller graph for this function: