summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r--src/vnet/session/transport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h
index 61a2b7b8aa6..12b6a0551d8 100644
--- a/src/vnet/session/transport.h
+++ b/src/vnet/session/transport.h
@@ -70,6 +70,7 @@ typedef enum _transport_proto
{
TRANSPORT_PROTO_TCP,
TRANSPORT_PROTO_UDP,
+ TRANSPORT_PROTO_SCTP,
TRANSPORT_N_PROTO
} transport_proto_t;
@@ -110,7 +111,7 @@ transport_endpoint_fib_proto (transport_endpoint_t * tep)
always_inline u8
transport_is_stream (u8 proto)
{
- return (proto == TRANSPORT_PROTO_TCP);
+ return ((proto == TRANSPORT_PROTO_TCP) || (proto == TRANSPORT_PROTO_SCTP));
}
always_inline u8