From: Amaury Denoyelle Date: Tue, 25 Jan 2022 16:47:09 +0000 (+0100) Subject: MINOR: listener: add flags field X-Git-Tag: v2.6-dev1~73 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=31ea9177ac41d214d81ad679a983efa73b7f6793;p=haproxy.git MINOR: listener: add flags field Define a new field in listener structure named flags. For the moment, no flag is defined. This will be notably useful to differentiate QUIC listeners with the implementation of a QUIC conn accept queue. --- diff --git a/include/haproxy/listener-t.h b/include/haproxy/listener-t.h index ebdeb7ca6..6fffc4a4e 100644 --- a/include/haproxy/listener-t.h +++ b/include/haproxy/listener-t.h @@ -201,6 +201,7 @@ struct listener { short int nice; /* nice value to assign to the instantiated tasks */ int luid; /* listener universally unique ID, used for SNMP */ int options; /* socket options : LI_O_* */ + int flags; /* LI_F_* flags */ __decl_thread(HA_SPINLOCK_T lock); struct fe_counters *counters; /* statistics counters */