summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
AgeCommit message (Expand)AuthorFilesLines
2019-11-27misc: add address sanitizer heap instrumentationBenoƮt Ganne1-0/+11
2019-11-22build: add build types helpstring to cmake projectDamjan Marion1-0/+9
2019-11-08build: use cmake build typesDamjan Marion1-8/+33
2019-03-28AppImage packagingDave Barach1-1/+1
2019-03-18Fix build with newer linux headersDamjan Marion1-1/+1
2019-01-29cmake: fix out-of-git-tree buildDamjan Marion1-10/+1
2019-01-26cmake: add support for linking with DPDK shared libsDamjan Marion1-1/+1
2019-01-20Rework of debian packagingDamjan Marion1-1/+1
2019-01-18cmake: print all flagsDamjan Marion1-8/+19
2019-01-18Look for plugins in target triplet subdirDamjan Marion1-0/+1
2019-01-17cmake: initial cross-compilation supportDamjan Marion1-0/+11
2018-09-20rename vpp-dpdk-dev to vpp-ext-depsDamjan Marion1-0/+1
2018-09-14cpack: add deb/rpm packaging to VPP moduleDamjan Marion1-0/+9
2018-09-12cmake: create cmake VPP module, update sample-plugin so it uses itDamjan Marion1-1/+2
2018-09-12Always use 'lib' instead of 'lib64'Damjan Marion1-1/+1
2018-09-03Compile vppinfra on macOSDamjan Marion1-6/+12
2018-09-02Switch to cmakeDamjan Marion1-0/+1
2018-08-31cmake: detect vpp version, set soversion, pretty config printDamjan Marion1-5/+41
2018-08-30cmake: a bit of packaging workDamjan Marion1-1/+1
2018-08-28cmake: Add perftool to cmake buildMohsin Kazmi1-1/+1
2018-08-28cmake: add g2 and elftool toolsDamjan Marion1-1/+1
2018-08-28cmake: install vppapigenDamjan Marion1-3/+7
2018-08-27cmake: fix clang build and few minor fixesDamjan Marion1-0/+5
2018-08-27CMake: fix install lib and iOMA missing symbolNeale Ranns1-1/+1
2018-08-27cmake: add vapi buildDamjan Marion1-1/+1
2018-08-26cmake: add add_vpp_library and add_vpp_executable macrosDamjan Marion1-10/+2
2018-08-26cmake: move functions to src/cmakeDamjan Marion1-151/+7
2018-08-25cmake: add more headers to the install listDamjan Marion1-1/+1
2018-08-23CMake: Add Cmake support for VatMohsin Kazmi1-3/+1
2018-08-22CMake: install .json files in ROOT/share/... for papi.Neale Ranns1-4/+11
2018-08-20CMake: generate .json from .api filesNeale Ranns1-3/+20
2018-08-20Detect support for memfd_create at compilationPierre Pfister1-1/+14
2018-08-20CMakeLists file for vpp-apiNeale Ranns1-1/+1
2018-08-18cmake: highlight warning and error messagesDamjan Marion1-0/+23
2018-08-17CMake as an alternative to autotools (experimental)Damjan Marion1-0/+161
(SAME_SRC_DST, -82, "Source and destination are the same") \ _(IP6_MULTICAST_ADDRESS_NOT_PRESENT, -83, "IP6 multicast address required") \ _(SR_POLICY_NAME_NOT_PRESENT, -84, "Segment routing policy name required") \ _(NOT_RUNNING_AS_ROOT, -85, "Not running as root") \ _(ALREADY_CONNECTED, -86, "Connection to the data plane already exists") \ _(UNSUPPORTED_JNI_VERSION, -87, "Unsupported JNI version") \ _(IP_PREFIX_INVALID, -88, "IP prefix invalid (masked bits set in address") \ _(INVALID_WORKER, -89, "Invalid worker thread") \ _(LISP_DISABLED, -90, "LISP is disabled") \ _(CLASSIFY_TABLE_NOT_FOUND, -91, "Classify table not found") \ _(INVALID_EID_TYPE, -92, "Unsupported LISP 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") \ _(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") \ _(ADDRESS_IN_USE, -105, "Address in use") \ _(ADDRESS_NOT_IN_USE, -106, "Address not in use") \ _(QUEUE_FULL, -107, "Queue full") \ _(APP_UNSUPPORTED_CFG, -108, "Unsupported application config") \ _(URI_FIFO_CREATE_FAILED, -109, "URI FIFO segment create failed") \ _(LISP_RLOC_LOCAL, -110, "RLOC address is local") \ _(BFD_EAGAIN, -111, "BFD object cannot be manipulated at this time") \ _(INVALID_GPE_MODE, -112, "Invalid GPE mode") \ _(LISP_GPE_ENTRIES_PRESENT, -113, "LISP GPE entries are present") \ _(ADDRESS_FOUND_FOR_INTERFACE, -114, "Address found for interface") \ _(SESSION_CONNECT, -115, "Session failed to connect") \ _(ENTRY_ALREADY_EXISTS, -116, "Entry already exists") \ _(SVM_SEGMENT_CREATE_FAIL, -117, "Svm segment create fail") \ _(APPLICATION_NOT_ATTACHED, -118, "Application not attached") \ _(BD_ALREADY_EXISTS, -119, "Bridge domain already exists") \ _(BD_IN_USE, -120, "Bridge domain has member interfaces") \ _(BD_NOT_MODIFIABLE, -121, "Bridge domain 0 can't be deleted/modified") \ _(BD_ID_EXCEED_MAX, -122, "Bridge domain ID exceeds 16M limit") \ _(SUBIF_DOESNT_EXIST, -123, "Subinterface doesn't exist") \ _(L2_MACS_EVENT_CLINET_PRESENT, -124, "Client already exist for L2 MACs events") \ _(INVALID_QUEUE, -125, "Invalid queue") \ _(UNSUPPORTED, -126, "Unsupported") \ _(DUPLICATE_IF_ADDRESS, -127, "Address already present on another interface") \ _(APP_INVALID_NS, -128, "Invalid application namespace") \ _(APP_WRONG_NS_SECRET, -129, "Wrong app namespace secret") \ _(APP_CONNECT_SCOPE, -130, "Connect scope") \ _(APP_ALREADY_ATTACHED, -131, "App already attached") \ _(SESSION_REDIRECT, -132, "Redirect failed") \ _(ILLEGAL_NAME, -133, "Illegal name") \ _(NO_NAME_SERVERS, -134, "No name servers configured") \ _(NAME_SERVER_NOT_FOUND, -135, "Name server not found") \ _(NAME_RESOLUTION_NOT_ENABLED, -136, "Name resolution not enabled") \ _(NAME_SERVER_FORMAT_ERROR, -137, "Server format error (bug!)") \ _(NAME_SERVER_NO_SUCH_NAME, -138, "No such name") \ _(NAME_SERVER_NO_ADDRESSES, -139, "No addresses available") \ _(NAME_SERVER_NEXT_SERVER, -140, "Retry with new server") \ _(APP_CONNECT_FILTERED, -141, "Connect was filtered") \ _(ACL_IN_USE_INBOUND, -142, "Inbound ACL in use") \ _(ACL_IN_USE_OUTBOUND, -143, "Outbound ACL in use") \ _(INIT_FAILED, -144, "Initialization Failed") \ _(NETLINK_ERROR, -145, "Netlink error") \ _(BIER_BSL_UNSUP, -146, "BIER bit-string-length unsupported") \ _(INSTANCE_IN_USE, -147, "Instance in use") \ _(INVALID_SESSION_ID, -148, "Session ID out of range") \ _(ACL_IN_USE_BY_LOOKUP_CONTEXT, -149, "ACL in use by a lookup context") \ _(INVALID_VALUE_3, -150, "Invalid value #3") \ _(NON_ETHERNET, -151, "Interface is not an Ethernet interface") \ _(BD_ALREADY_HAS_BVI, -152, "Bridge domain already has a BVI interface") \ _(INVALID_PROTOCOL, -153, "Invalid Protocol") \ _(INVALID_ALGORITHM, -154, "Invalid Algorithm") \ _(RSRC_IN_USE, -155, "Resource In Use") \ _(KEY_LENGTH, -156, "invalid Key Length") \ _(FIB_PATH_UNSUPPORTED_NH_PROTO, -157, "Unsupported FIB Path protocol") \ _(API_ENDIAN_FAILED, -159, "Endian mismatch detected") \ _(NO_CHANGE, -160, "No change in table") \ _(MISSING_CERT_KEY, -161, "Missing certifcate or key") \ _(LIMIT_EXCEEDED, -162, "limit exceeded") \ _(IKE_NO_PORT, -163, "port not managed by IKE") \ _(UDP_PORT_TAKEN, -164, "UDP port already taken") \ _(EAGAIN, -165, "Retry stream call with cursor") \ _(INVALID_VALUE_4, -166, "Invalid value #4") \ typedef enum { #define _(a,b,c) VNET_API_ERROR_##a = (b), foreach_vnet_api_error #undef _ VNET_API_N_ERROR, } vnet_api_error_t; /* *INDENT-OFF* */ static inline u8 * format_vnet_api_errno (u8 * s, va_list * args) { vnet_api_error_t api_error = va_arg (*args, vnet_api_error_t); #ifdef _ #undef _ #endif #define _(a, b, c) \ case b: \ s = format (s, "%s", c); \ break; switch (api_error) { foreach_vnet_api_error default: s = format (s, "UNKNOWN"); break; } return s; #undef _ } /* *INDENT-ON* */ #endif /* included_vnet_api_errno_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */