FD.io VPP  v20.05.1-6-gf53edbc3b
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_scan_arg_t
 
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 IP_SCAN_DISABLED   0
 
#define IP_SCAN_V4_NEIGHBORS   (1 << 0)
 
#define IP_SCAN_V6_NEIGHBORS   (1 << 1)
 
#define IP_SCAN_V46_NEIGHBORS   (IP_SCAN_V4_NEIGHBORS | IP_SCAN_V6_NEIGHBORS)
 
#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 struct ip_neighbor_event_t_ ip_neighbor_event_t
 

Enumerations

enum  ip_neighbor_flags_t_ { IP_NEIGHBOR_FLAG_NONE = 0, foreach_ip_neighbor_flag }
 

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)
 

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 40 of file ip_neighbor_types.h.

◆ IP_SCAN_DISABLED

#define IP_SCAN_DISABLED   0

Definition at line 25 of file ip_neighbor_types.h.

◆ IP_SCAN_V46_NEIGHBORS

#define IP_SCAN_V46_NEIGHBORS   (IP_SCAN_V4_NEIGHBORS | IP_SCAN_V6_NEIGHBORS)

Definition at line 28 of file ip_neighbor_types.h.

◆ IP_SCAN_V4_NEIGHBORS

#define IP_SCAN_V4_NEIGHBORS   (1 << 0)

Definition at line 26 of file ip_neighbor_types.h.

◆ IP_SCAN_V6_NEIGHBORS

#define IP_SCAN_V6_NEIGHBORS   (1 << 1)

Definition at line 27 of file ip_neighbor_types.h.

Typedef Documentation

◆ 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_flags_t_

Enumerator
IP_NEIGHBOR_FLAG_NONE 
foreach_ip_neighbor_flag 

Definition at line 47 of file ip_neighbor_types.h.

Function Documentation

◆ format_ip_neighbor()

u8* format_ip_neighbor ( u8 s,
va_list *  args 
)

Definition at line 55 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 21 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 34 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 45 of file ip_neighbor_types.c.

+ Here is the call graph for this function:

◆ ip_neighbor_get()

ip_neighbor_t* ip_neighbor_get ( index_t  ipni)

Definition at line 88 of file ip_neighbor.c.

+ Here is the caller graph for this function: