From be4d1aa2c58efa8287bca8795bc4a83cb448993a Mon Sep 17 00:00:00 2001 From: Ping Yu Date: Mon, 19 Aug 2019 07:01:17 -0400 Subject: tls: Add C API for TLS openssl to set engine Type: feature Parameters of the engine can be set by C API. After this patch, it is easier to integrate TLS into CSIT test. Change-Id: I063cabf613aabbfad831727551579328705afb41 Signed-off-by: Ping Yu --- src/plugins/tlsopenssl/tls_openssl_msg_enum.h | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/plugins/tlsopenssl/tls_openssl_msg_enum.h (limited to 'src/plugins/tlsopenssl/tls_openssl_msg_enum.h') diff --git a/src/plugins/tlsopenssl/tls_openssl_msg_enum.h b/src/plugins/tlsopenssl/tls_openssl_msg_enum.h new file mode 100644 index 00000000000..d1f74d0b4dd --- /dev/null +++ b/src/plugins/tlsopenssl/tls_openssl_msg_enum.h @@ -0,0 +1,30 @@ +/* + * tlsopenssl_msg_enum.h - skeleton vpp engine plug-in message enumeration + * + * Copyright (c) 2019 Intel Corportation + * 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. + */ +#ifndef included_tlsopenssl_msg_enum_h +#define included_tlsopenssl_msg_enum_h + +#include + +#define vl_msg_id(n,h) n, +typedef enum { +#include + /* We'll want to know how many messages IDs we need... */ + VL_MSG_FIRST_AVAILABLE, +} vl_msg_id_t; +#undef vl_msg_id + +#endif /* included_tlsopenssl_msg_enum_h*/ -- cgit 1.2.3-korg