]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: listener: add flags field
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 25 Jan 2022 16:47:09 +0000 (17:47 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 26 Jan 2022 14:25:45 +0000 (15:25 +0100)
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

index ebdeb7ca6e12b0b7c4eff14512310d0d671b6b4b..6fffc4a4ecefa9ea0f436b16d3ca730ded6b20d0 100644 (file)
@@ -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 */