7c4b2ec09d
The new functions h1c_show_flags() and h1s_show_flags() decode the flags state into a string, and are used by dev/flags: $ /dev/flags/flags h1c 0x2200 h1c->flags = H1C_F_ST_READY | H1C_F_ST_ATTACHED ./dev/flags/flags h1s 0x190 h1s->flags = H1S_F_BODYLESS_RESP | H1S_F_NOT_FIRST | H1S_F_WANT_KAL |
||
---|---|---|
.. | ||
README | ||
flags.c | ||
show-fd-to-flags.sh |
README
This needs to be built from the top makefile, for example : make dev/flags/flags Then the executable is usable either one value at a time from the command line, either with values coming from stdin with "-" passed alone instead of the value. It is possible to restrict the decoding to certain fields only by specifying one of "ana", "chn", "conn", "sc", "si", "sierr", "strm", "task", or "txn" before the value.