FD.io VPP
v18.10-34-gcce845e
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_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) |
#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_NODE | |
IP_NEIGHBOR_FLAG_STATIC | |
IP_NEIGHBOR_FLAG_NO_ADJ_FIB |
Definition at line 38 of file ip_neighbor.h.
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.
Definition at line 101 of file ip_neighbor.c.
void ip_neighbor_scan_enable_disable | ( | ip_neighbor_scan_arg_t * | arg | ) |