Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
nghttp2_huff_decode Struct Reference

Represents the current state of an incremental HPACK Huffman decoder. More...

#include <nghttp2_hd_huffman.h>

Public Attributes

uint16_t fstate
 
uint8_t sym
 

Detailed Description

Represents the current state of an incremental HPACK Huffman decoder.

The FSA has 256 internal nodes [1..255] inclusive. Node 256 is a special terminal error state indicating decoding failure. Leaf nodes are identical to their corresponding internal nodes except that they emit a symbol via the NGHTTP2_HUFF_SYM flag. fstate encodes both the node ID and any active nghttp2_huff_decode_flag bits via bitwise OR.

Member Data Documentation

◆ fstate

uint16_t nghttp2_huff_decode::fstate

Current FSA node ID OR-ed with nghttp2_huff_decode_flag bits; node 256 indicates a decoding failure

◆ sym

uint8_t nghttp2_huff_decode::sym

Decoded symbol byte; valid only when fstate has NGHTTP2_HUFF_SYM set


The documentation for this struct was generated from the following file: