From 81f9e9e971e615e9f1f18d1509168b56bb7360c0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Jan 2017 18:43:35 +0100 Subject: introduce buffering options on the route level --- src/cadet/cadet_protocol.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/cadet/cadet_protocol.h') diff --git a/src/cadet/cadet_protocol.h b/src/cadet/cadet_protocol.h index e2d6f9d0b..d2426addb 100644 --- a/src/cadet/cadet_protocol.h +++ b/src/cadet/cadet_protocol.h @@ -67,9 +67,12 @@ struct GNUNET_CADET_ConnectionCreateMessage struct GNUNET_MessageHeader header; /** - * For alignment. + * Connection options in network byte order. + * #GNUNET_CADET_OPTION_DEFAULT for buffered; + * #GNUNET_CADET_OPTION_NOBUFFER for unbuffered. + * Other flags are ignored and should not be set at this level. */ - uint32_t reserved GNUNET_PACKED; + uint32_t options GNUNET_PACKED; /** * ID of the connection -- cgit v1.2.3