summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/transport.c
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-06-19 13:42:37 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-06-27 17:24:10 +0000
commite971bc9bab2d1be9e129caa585448bb81dc6541f (patch)
tree5911a1dfb5905c6169d6798b2b1dca21e84c6862 /src/vnet/session/transport.c
parent706079c92abe2c218da15c13d2c933914af18d18 (diff)
session: Add transport vft protocol options
Type: refactor Change-Id: I4e0afc206e4871596c2ed8a6ca00914a379f1526 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/session/transport.c')
-rw-r--r--src/vnet/session/transport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c
index bbd9c3555f4..f971288f90c 100644
--- a/src/vnet/session/transport.c
+++ b/src/vnet/session/transport.c
@@ -291,13 +291,13 @@ transport_protocol_get_vft (transport_proto_t transport_proto)
transport_service_type_t
transport_protocol_service_type (transport_proto_t tp)
{
- return tp_vfts[tp].service_type;
+ return tp_vfts[tp].transport_options.service_type;
}
transport_tx_fn_type_t
transport_protocol_tx_fn_type (transport_proto_t tp)
{
- return tp_vfts[tp].tx_type;
+ return tp_vfts[tp].transport_options.tx_type;
}
void
@@ -334,7 +334,7 @@ transport_stop_listen (transport_proto_t tp, u32 conn_index)
u8
transport_protocol_is_cl (transport_proto_t tp)
{
- return (tp_vfts[tp].service_type == TRANSPORT_SERVICE_CL);
+ return (tp_vfts[tp].transport_options.service_type == TRANSPORT_SERVICE_CL);
}
always_inline void