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 - Bug fix, can`t remove static remote mapping
[vpp.git]
/
vnet
/
vnet
/
lisp-cp
/
lisp_types.h
diff --git
a/vnet/vnet/lisp-cp/lisp_types.h
b/vnet/vnet/lisp-cp/lisp_types.h
index
ef86f71
..
e3a0eb7
100644
(file)
--- a/
vnet/vnet/lisp-cp/lisp_types.h
+++ b/
vnet/vnet/lisp-cp/lisp_types.h
@@
-57,6
+57,8
@@
typedef CLIB_PACKED(struct ip_prefix
#define ip_prefix_v4(_a) ip_addr_v4(&ip_prefix_addr(_a))
#define ip_prefix_v6(_a) ip_addr_v6(&ip_prefix_addr(_a))
+void ip_prefix_normalize(ip_prefix_t * a);
+
typedef enum
{
/* NOTE: ip addresses are left out on purpose. Use max masked ip-prefixes