From 31ea9177ac41d214d81ad679a983efa73b7f6793 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Tue, 25 Jan 2022 17:47:09 +0100 Subject: [PATCH] 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. --- include/haproxy/listener-t.h | 1 + 1 file changed, 1 insertion(+) 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 */