diff options
Diffstat (limited to 'src/vnet/session/transport.c')
-rw-r--r-- | src/vnet/session/transport.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c index 0f86f9e916a..df5282cc43a 100644 --- a/src/vnet/session/transport.c +++ b/src/vnet/session/transport.c @@ -271,6 +271,19 @@ transport_protocol_tx_fn_type (transport_proto_t tp) return tp_vfts[tp].tx_type; } +transport_connection_t * +transport_get_connection (transport_proto_t tp, u32 conn_index, + u8 thread_index) +{ + return tp_vfts[tp].get_connection (conn_index, thread_index); +} + +transport_connection_t * +transport_get_listener (transport_proto_t tp, u32 conn_index) +{ + return tp_vfts[tp].get_listener (conn_index); +} + u8 transport_protocol_is_cl (transport_proto_t tp) { |