MINOR: connection: prepare hash calcul for server conns
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 18 Jan 2021 13:57:50 +0000 (14:57 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 12 Feb 2021 11:33:05 +0000 (12:33 +0100)
commit81c6f76d3ebefa95108eeb2fcf7aae042253810b
treeefbce519e9e8c7fc73d8ac58a7383b1176d676f4
parentaa890aef3def1ad03b3bc4708bbf041e19a23a49
MINOR: connection: prepare hash calcul for server conns

This is a preliminary work for the calcul of the backend connection
hash. A structure conn_hash_params is the input for the operation,
containing the various specific parameters of a connection.

The high bits of the hash will reflect the parameters present as input.
A set of macros is written to manipulate the connection hash and extract
the parameters/payload.
include/haproxy/connection-t.h
include/haproxy/connection.h
src/backend.c
src/connection.c