X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fapi%2Fvpe_types.api;h=7bd4b29e84691f525fbff35cc64ec001792130d8;hb=a47a5f20a3b5bb2191d40c47fc0a9976376680c8;hp=f1d6e5456cd163d964e0bced6f459c2a4caf84a2;hpb=07f87546c2b29ac07ec652420c8c3aef6a7faec6;p=vpp.git diff --git a/src/vpp/api/vpe_types.api b/src/vpp/api/vpe_types.api index f1d6e5456cd..7bd4b29e846 100644 --- a/src/vpp/api/vpe_types.api +++ b/src/vpp/api/vpe_types.api @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2016 Cisco and/or its affiliates. + * Copyright (c) 2019 Vinci Consulting Corp. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ typeonly define version { @@ -11,3 +26,17 @@ typeonly define version u8 build_metadata[17]; /* 16 + "\0" */ }; + typedef f64 timestamp; + typedef f64 timedelta; + + enum log_level { + VPE_API_LOG_LEVEL_EMERG = 0, /* emerg */ + VPE_API_LOG_LEVEL_ALERT = 1, /* alert */ + VPE_API_LOG_LEVEL_CRIT = 2, /* crit */ + VPE_API_LOG_LEVEL_ERR = 3, /* err */ + VPE_API_LOG_LEVEL_WARNING = 4, /* warn */ + VPE_API_LOG_LEVEL_NOTICE = 5, /* notice */ + VPE_API_LOG_LEVEL_INFO = 6, /* info */ + VPE_API_LOG_LEVEL_DEBUG = 7, /* debug */ + VPE_API_LOG_LEVEL_DISABLED = 8, /* disabled */ +};