Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
LISP: L2 ARP handling
[vpp.git]
/
src
/
vnet
/
lisp-cp
/
control.h
diff --git
a/src/vnet/lisp-cp/control.h
b/src/vnet/lisp-cp/control.h
index
cb98eb0
..
feb8cfa
100644
(file)
--- a/
src/vnet/lisp-cp/control.h
+++ b/
src/vnet/lisp-cp/control.h
@@
-87,6
+87,12
@@
typedef struct
miss_packet_type_t type;
} miss_packet_t;
miss_packet_type_t type;
} miss_packet_t;
+typedef struct
+{
+ u8 mac[6];
+ u32 ip4;
+} lisp_api_l2_arp_entry_t;
+
typedef enum
{
MR_MODE_DST_ONLY = 0,
typedef enum
{
MR_MODE_DST_ONLY = 0,
@@
-112,6
+118,12
@@
typedef enum lisp_flags
#undef _
} lisp_flags_e;
#undef _
} lisp_flags_e;
+typedef struct
+{
+ ip_address_t addr;
+ u32 bd;
+} lisp_l2_arp_key_t;
+
typedef struct
{
u32 flags;
typedef struct
{
u32 flags;
@@
-338,6
+350,9
@@
int vnet_lisp_rloc_probe_enable_disable (u8 is_enable);
int vnet_lisp_map_register_enable_disable (u8 is_enable);
u8 vnet_lisp_map_register_state_get (void);
u8 vnet_lisp_rloc_probe_state_get (void);
int vnet_lisp_map_register_enable_disable (u8 is_enable);
u8 vnet_lisp_map_register_state_get (void);
u8 vnet_lisp_rloc_probe_state_get (void);
+int vnet_lisp_add_del_l2_arp_entry (gid_address_t * key, u8 * mac, u8 is_add);
+u32 *vnet_lisp_l2_arp_bds_get (void);
+lisp_api_l2_arp_entry_t *vnet_lisp_l2_arp_entries_get_by_bd (u32 bd);
map_records_arg_t *parse_map_reply (vlib_buffer_t * b);
map_records_arg_t *parse_map_reply (vlib_buffer_t * b);