diff options
author | Florin Coras <fcoras@cisco.com> | 2019-02-05 15:51:15 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-02-06 16:56:39 +0000 |
commit | 1ee7830e9ee8a62800822b6f5224d66243b916d4 (patch) | |
tree | 4629a50ea18dd0185f5a5de7d57a8120b1913be1 /src/vnet/tls | |
parent | 696d760865980d8191d11b562a5e431e4c4665af (diff) |
transport: cleanup
- move transport specific types to transport_types
- add transport wrapper functions for interaction with transport
protocol vfts
Change-Id: I93f70d884585fc2f41c4a605e310c80e8a8972f2
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tls')
-rw-r--r-- | src/vnet/tls/tls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c index 3f21e6e3cb2..ed12378862d 100644 --- a/src/vnet/tls/tls.c +++ b/src/vnet/tls/tls.c @@ -739,12 +739,12 @@ format_tls_half_open (u8 * s, va_list * args) /* *INDENT-OFF* */ const static transport_proto_vft_t tls_proto = { - .open = tls_connect, + .connect = tls_connect, .close = tls_disconnect, - .bind = tls_start_listen, + .start_listen = tls_start_listen, + .stop_listen = tls_stop_listen, .get_connection = tls_connection_get, .get_listener = tls_listener_get, - .unbind = tls_stop_listen, .tx_type = TRANSPORT_TX_INTERNAL, .service_type = TRANSPORT_SERVICE_APP, .format_connection = format_tls_connection, |