]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: protocol: add a family lookup
authorWilly Tarreau <w@1wt.eu>
Fri, 9 Aug 2024 18:30:31 +0000 (20:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Aug 2024 14:46:15 +0000 (16:46 +0200)
commitba4a416c66cee8f33bc4d877868e69470901ebad
tree6dc9a64c21a6cf01ce4953970c1ce4f71e7135e2
parent732913f848127fd990bbfb912a6e004d27b45fd0
MINOR: protocol: add a family lookup

At plenty of places we have access to an address family which may
include some custom addresses but we cannot simply convert them to
the real families without performing some random protocol lookups.

Let's simply add a proto_fam table like we have for the protocols.
The protocols could even be indexed there, but for now it's not worth
it.
include/haproxy/protocol.h
src/protocol.c