FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
ip_neighbor.h File Reference
+ 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
 

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
 

Enumerations

enum  ip_neighbor_flags_t_ { IP_NEIGHBOR_FLAG_NODE = 0, IP_NEIGHBOR_FLAG_STATIC = (1 << 0), IP_NEIGHBOR_FLAG_NO_ADJ_FIB = (1 << 1) }
 

Functions

void ip_neighbor_scan_enable_disable (ip_neighbor_scan_arg_t *arg)
 
int ip_neighbor_add (const ip46_address_t *ip, u8 is_ip6, const u8 *mac, u32 sw_if_index, ip_neighbor_flags_t flags, u32 *stats_index)
 
int ip_neighbor_del (const ip46_address_t *ip, u8 is_ip6, u32 sw_if_index)
 

Macro Definition Documentation

#define IP_SCAN_DISABLED   0

Definition at line 21 of file ip_neighbor.h.

#define IP_SCAN_V46_NEIGHBORS   (IP_SCAN_V4_NEIGHBORS | IP_SCAN_V6_NEIGHBORS)

Definition at line 24 of file ip_neighbor.h.

#define IP_SCAN_V4_NEIGHBORS   (1 << 0)

Definition at line 22 of file ip_neighbor.h.

#define IP_SCAN_V6_NEIGHBORS   (1 << 1)

Definition at line 23 of file ip_neighbor.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator
IP_NEIGHBOR_FLAG_NODE 
IP_NEIGHBOR_FLAG_STATIC 
IP_NEIGHBOR_FLAG_NO_ADJ_FIB 

Definition at line 38 of file ip_neighbor.h.

Function Documentation

int ip_neighbor_add ( const ip46_address_t *  ip,
u8  is_ip6,
const u8 mac,
u32  sw_if_index,
ip_neighbor_flags_t  flags,
u32 stats_index 
)

Definition at line 51 of file ip_neighbor.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ip_neighbor_del ( const ip46_address_t *  ip,
u8  is_ip6,
u32  sw_if_index 
)

Definition at line 101 of file ip_neighbor.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ip_neighbor_scan_enable_disable ( ip_neighbor_scan_arg_t arg)

Definition at line 124 of file ip_neighbor.c.

+ Here is the caller graph for this function: