summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-28 16:56:34 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-24 10:34:47 +0100
commit5915a900af86db8625caa77a02fd50cf9a3b3e1b (patch)
treee5b1eb84756d90e850855f3452cbbd2827e7e7bb /include
parentfca44cfc1c930afab94fac08ad5a3a303f1724fe (diff)
QUIC QSM: Allow QSM to know if we are in the server role
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20856)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_stream_map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/internal/quic_stream_map.h b/include/internal/quic_stream_map.h
index 1af0c57d1e..7d2356c22d 100644
--- a/include/internal/quic_stream_map.h
+++ b/include/internal/quic_stream_map.h
@@ -255,6 +255,7 @@ typedef struct quic_stream_map_st {
void *get_stream_limit_cb_arg;
QUIC_RXFC *max_streams_bidi_rxfc;
QUIC_RXFC *max_streams_uni_rxfc;
+ int is_server;
} QUIC_STREAM_MAP;
/*
@@ -274,7 +275,8 @@ int ossl_quic_stream_map_init(QUIC_STREAM_MAP *qsm,
uint64_t (*get_stream_limit_cb)(int uni, void *arg),
void *get_stream_limit_cb_arg,
QUIC_RXFC *max_streams_bidi_rxfc,
- QUIC_RXFC *max_streams_uni_rxfc);
+ QUIC_RXFC *max_streams_uni_rxfc,
+ int is_server);
/*
* Any streams still in the map will be released as though