FD.io VPP
v19.04.1-1-ge4a0f9f
Vector Packet Processing
|
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_NONE = 0, IP_NEIGHBOR_FLAG_STATIC = (1 << 0), IP_NEIGHBOR_FLAG_DYNAMIC = (1 << 1), IP_NEIGHBOR_FLAG_NO_FIB_ENTRY = (1 << 2) } |
Functions | |
void | ip_neighbor_scan_enable_disable (ip_neighbor_scan_arg_t *arg) |
u8 * | format_ip_neighbor_flags (u8 *s, va_list *args) |
int | ip_neighbor_add (const ip46_address_t *ip, ip46_type_t type, const mac_address_t *mac, u32 sw_if_index, ip_neighbor_flags_t flags, u32 *stats_index) |
int | ip_neighbor_del (const ip46_address_t *ip, ip46_type_t type, u32 sw_if_index) |
#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 enum ip_neighbor_flags_t_ ip_neighbor_flags_t |
enum ip_neighbor_flags_t_ |
Enumerator | |
---|---|
IP_NEIGHBOR_FLAG_NONE | |
IP_NEIGHBOR_FLAG_STATIC | |
IP_NEIGHBOR_FLAG_DYNAMIC | |
IP_NEIGHBOR_FLAG_NO_FIB_ENTRY |
Definition at line 38 of file ip_neighbor.h.
int ip_neighbor_add | ( | const ip46_address_t * | ip, |
ip46_type_t | type, | ||
const mac_address_t * | mac, | ||
u32 | sw_if_index, | ||
ip_neighbor_flags_t | flags, | ||
u32 * | stats_index | ||
) |
Definition at line 51 of file ip_neighbor.c.
int ip_neighbor_del | ( | const ip46_address_t * | ip, |
ip46_type_t | type, | ||
u32 | sw_if_index | ||
) |
Definition at line 94 of file ip_neighbor.c.
void ip_neighbor_scan_enable_disable | ( | ip_neighbor_scan_arg_t * | arg | ) |