FD.io VPP  v21.01.1
Vector Packet Processing
arp_api.c File Reference
+ Include dependency graph for arp_api.c:

Go to the source code of this file.

Data Structures

struct  proxy_arp_walk_ctx_t_
 

Macros

#define REPLY_MSG_ID_BASE   arp_base_msg_id
 

Typedefs

typedef struct proxy_arp_walk_ctx_t_ proxy_arp_walk_ctx_t
 

Functions

static void vl_api_proxy_arp_add_del_t_handler (vl_api_proxy_arp_add_del_t *mp)
 
static walk_rc_t send_proxy_arp_details (const ip4_address_t *lo_addr, const ip4_address_t *hi_addr, u32 fib_index, void *data)
 
static void vl_api_proxy_arp_dump_t_handler (vl_api_proxy_arp_dump_t *mp)
 
static walk_rc_t send_proxy_arp_intfc_details (u32 sw_if_index, void *data)
 
static void vl_api_proxy_arp_intfc_dump_t_handler (vl_api_proxy_arp_intfc_dump_t *mp)
 
static void vl_api_proxy_arp_intfc_enable_disable_t_handler (vl_api_proxy_arp_intfc_enable_disable_t *mp)
 
static clib_error_tarp_api_init (vlib_main_t *vm)
 

Variables

static u32 arp_base_msg_id
 Base message ID fot the plugin. More...
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   arp_base_msg_id

Definition at line 37 of file arp_api.c.

Typedef Documentation

◆ proxy_arp_walk_ctx_t

Function Documentation

◆ arp_api_init()

static clib_error_t* arp_api_init ( vlib_main_t vm)
static

Definition at line 174 of file arp_api.c.

+ Here is the call graph for this function:

◆ send_proxy_arp_details()

static walk_rc_t send_proxy_arp_details ( const ip4_address_t lo_addr,
const ip4_address_t hi_addr,
u32  fib_index,
void *  data 
)
static

Definition at line 76 of file arp_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ send_proxy_arp_intfc_details()

static walk_rc_t send_proxy_arp_intfc_details ( u32  sw_if_index,
void *  data 
)
static

Definition at line 117 of file arp_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_api_proxy_arp_add_del_t_handler()

static void vl_api_proxy_arp_add_del_t_handler ( vl_api_proxy_arp_add_del_t mp)
static

Definition at line 42 of file arp_api.c.

+ Here is the call graph for this function:

◆ vl_api_proxy_arp_dump_t_handler()

static void vl_api_proxy_arp_dump_t_handler ( vl_api_proxy_arp_dump_t mp)
static

Definition at line 100 of file arp_api.c.

+ Here is the call graph for this function:

◆ vl_api_proxy_arp_intfc_dump_t_handler()

static void vl_api_proxy_arp_intfc_dump_t_handler ( vl_api_proxy_arp_intfc_dump_t mp)
static

Definition at line 136 of file arp_api.c.

+ Here is the call graph for this function:

◆ vl_api_proxy_arp_intfc_enable_disable_t_handler()

static void vl_api_proxy_arp_intfc_enable_disable_t_handler ( vl_api_proxy_arp_intfc_enable_disable_t mp)
static

Definition at line 154 of file arp_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ arp_base_msg_id

u32 arp_base_msg_id
static

Base message ID fot the plugin.

Definition at line 36 of file arp_api.c.