haproxy/dev/flags
Willy Tarreau 799e5410b4 MINOR: flags/fd: decode FD flags states
The new function is fd_show_flags() and it reports known FD flags:

  $ ./dev/flags/flags fd 0x000121
  fd->flags = FD_POLL_IN | FD_EV_READY_W | FD_EV_ACTIVE_R
2022-09-12 19:33:07 +02:00
..
flags.c MINOR: flags/fd: decode FD flags states 2022-09-12 19:33:07 +02:00
README DEV: flags: use "sc" for stream conns instead of "cs" 2022-05-27 19:33:35 +02:00
show-fd-to-flags.sh

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.