X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vnet%2Fvnet%2Fapi_errno.h;h=50d6f731035e01d39b32ec59433b45dface89a6b;hb=7490a752814187ed03c0deca4d836b0dca09fb4b;hp=bf49c0a27c7ad49b19d7a877d66b93b8baf8ad62;hpb=20c90f765dd0350892421e1dea544752108f4ce9;p=vpp.git diff --git a/vnet/vnet/api_errno.h b/vnet/vnet/api_errno.h index bf49c0a27c7..50d6f731035 100644 --- a/vnet/vnet/api_errno.h +++ b/vnet/vnet/api_errno.h @@ -81,13 +81,31 @@ _(UNSUPPORTED_JNI_VERSION, -87, "Unsupported JNI version") \ _(FAILED_TO_ATTACH_TO_JAVA_THREAD, -88, "Failed to attach to Java thread") \ _(INVALID_WORKER, -89, "Invalid worker thread") \ _(LISP_DISABLED, -90, "LISP is disabled") \ -_(CLASSIFY_TABLE_NOT_FOUND, -91, "Classify table not found") +_(CLASSIFY_TABLE_NOT_FOUND, -91, "Classify table not found") \ +_(INVALID_EID_TYPE, -92, "Unsupported LSIP EID type") \ +_(CANNOT_CREATE_PCAP_FILE, -93, "Cannot create pcap file") \ +_(INCORRECT_ADJACENCY_TYPE, -94, "Invalid adjacency type for this operation") \ +_(EXCEEDED_NUMBER_OF_RANGES_CAPACITY, -95, "Operation would exceed configured capacity of ranges") \ +_(EXCEEDED_NUMBER_OF_PORTS_CAPACITY, -96, "Operation would exceed capacity of number of ports") \ +_(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") -typedef enum { +typedef enum +{ #define _(a,b,c) VNET_API_ERROR_##a = (b), - foreach_vnet_api_error + foreach_vnet_api_error #undef _ VNET_API_N_ERROR, } vnet_api_error_t; #endif /* included_vnet_api_errno_h */ + +/* + * fd.io coding-style-patch-verification: ON + * + * Local Variables: + * eval: (c-set-style "gnu") + * End: + */