summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-04-09 11:36:40 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-04-16 17:54:24 +0000
commit39d04099467414175803273433c95a96c0276252 (patch)
treed1a0be5d758b4388316e6683d59c28d84b4b7c96 /src/vnet/session
parentb3b267cf59682560846847c96dbd62b453ad0d01 (diff)
QUIC: Initial multi stream support
To connect a stream, apps should call connect while passing the id of the QUIC connection in the new transport_opts field in session_endpoint_cfg_t. Apps are notified of new streams with their accept callback, which is called each time a peer opens a stream. Change-Id: I0f82ec344db58008d54641553eddec2973768435 Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h
index 02dc40ab0cf..32a13cf94f9 100644
--- a/src/vnet/session/session_types.h
+++ b/src/vnet/session/session_types.h
@@ -42,6 +42,7 @@ typedef struct _session_endpoint_cfg
u32 ns_index;
u8 original_tp;
u8 *hostname;
+ u64 transport_opts;
} session_endpoint_cfg_t;
#define SESSION_IP46_ZERO \