FD.io VPP  v20.01-48-g3e0dafb74
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)
 

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, IP_NEIGHBOR_FLAG_STATIC = (1 << 0), IP_NEIGHBOR_FLAG_DYNAMIC = (1 << 1), IP_NEIGHBOR_FLAG_NO_FIB_ENTRY = (1 << 2),
  IP_NEIGHBOR_FLAG_PENDING = (1 << 3)
}
 

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

◆ 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 
IP_NEIGHBOR_FLAG_STATIC 
IP_NEIGHBOR_FLAG_DYNAMIC 
IP_NEIGHBOR_FLAG_NO_FIB_ENTRY 
IP_NEIGHBOR_FLAG_PENDING 

Definition at line 40 of file ip_neighbor_types.h.

Function Documentation

◆ format_ip_neighbor()

u8* format_ip_neighbor ( u8 s,
va_list *  args 
)

Definition at line 60 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 call graph for this function:
+ 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 39 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 50 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: