LISP: reject remote mappings that have as locators local IPs
[vpp.git] / src / vnet / api_errno.h
index 65e3e59..3288023 100644 (file)
@@ -35,7 +35,7 @@ _(SYSCALL_ERROR_6, -16, "System call error #6")                         \
 _(SYSCALL_ERROR_7, -17, "System call error #7")                         \
 _(SYSCALL_ERROR_8, -18, "System call error #8")                         \
 _(SYSCALL_ERROR_9, -19, "System call error #9")                         \
-_(SYSCALL_ERROR_10, -20, "System call error #9")                        \
+_(SYSCALL_ERROR_10, -20, "System call error #10")                       \
 _(FEATURE_DISABLED, -30, "Feature disabled by configuration")           \
 _(INVALID_REGISTRATION, -31, "Invalid registration")                    \
 _(NEXT_HOP_NOT_IN_FIB, -50, "Next hop not in FIB")                      \
@@ -91,8 +91,11 @@ _(INVALID_ADDRESS_FAMILY, -97, "Invalid address family")                \
 _(INVALID_SUB_SW_IF_INDEX, -98, "Invalid sub-interface sw_if_index")    \
 _(TABLE_TOO_BIG, -99, "Table too big")                                  \
 _(CANNOT_ENABLE_DISABLE_FEATURE, -100, "Cannot enable/disable feature") \
-_(BFD_EEXIST, -101, "Duplicate BFD session") \
-_(BFD_NOENT, -102, "No such BFD session")
+_(BFD_EEXIST, -101, "Duplicate BFD object") \
+_(BFD_ENOENT, -102, "No such BFD object") \
+_(BFD_EINUSE, -103, "BFD object in use") \
+_(BFD_NOTSUPP, -104, "BFD feature not supported") \
+_(LISP_RLOC_LOCAL, -105, "RLOC address is local")
 
 typedef enum
 {