Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::protocols::quic::stream_flags Namespace Reference

STREAM frame type flags (bits 0-2 of type byte) More...

Variables

constexpr uint8_t fin = 0x01
 Stream is finished.
 
constexpr uint8_t len = 0x02
 Length field present.
 
constexpr uint8_t off = 0x04
 Offset field present.
 
constexpr uint8_t mask = 0x07
 Mask for all flags.
 
constexpr uint8_t base = 0x08
 Base type for STREAM frames.
 

Detailed Description

STREAM frame type flags (bits 0-2 of type byte)

When the frame type is in range 0x08-0x0f:

  • Bit 0 (0x01): FIN - Stream is complete
  • Bit 1 (0x02): LEN - Length field is present
  • Bit 2 (0x04): OFF - Offset field is present

Variable Documentation

◆ base

uint8_t kcenon::network::protocols::quic::stream_flags::base = 0x08
constexpr

Base type for STREAM frames.

Definition at line 67 of file frame_types.h.

Referenced by kcenon::network::protocols::quic::make_stream_type().

◆ fin

uint8_t kcenon::network::protocols::quic::stream_flags::fin = 0x01
constexpr

◆ len

uint8_t kcenon::network::protocols::quic::stream_flags::len = 0x02
constexpr

◆ mask

uint8_t kcenon::network::protocols::quic::stream_flags::mask = 0x07
constexpr

Mask for all flags.

Definition at line 66 of file frame_types.h.

Referenced by kcenon::network::protocols::quic::get_stream_flags().

◆ off

uint8_t kcenon::network::protocols::quic::stream_flags::off = 0x04
constexpr