MINOR: tools: Add net_addr structure describing a network addess
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Feb 2021 17:50:02 +0000 (18:50 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 26 Feb 2021 12:32:17 +0000 (13:32 +0100)
commit01f02a4d84d155ef9480ccb8cf8cf97ce0918b25
tree56caf429d92029ac64a8da4a312f06be0c88eb41
parentcccded98c7b3f2281fe4481895b1392e78cc5df0
MINOR: tools: Add net_addr structure describing a network addess

The net_addr structure describes a IPv4 or IPv6 address. Its ip and mask are
represented. Among other things, this structure will be used to add support
of IPv6 for "except" parameter of "forwardfor" and "originalto" options.
include/haproxy/tools-t.h