]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sock: introduce sock_inet and sock_unix
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2020 13:10:11 +0000 (15:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2020 16:51:36 +0000 (18:51 +0200)
commit0d06df64487bc225763ab294e67c40b98f99566b
tree636a071a3dfc06e20ea41132c540bcc596069db9
parent18b7df7a2bbc513d58414cd1afd3ec00340a644c
MINOR: sock: introduce sock_inet and sock_unix

These files will regroup everything specific to AF_INET, AF_INET6 and
AF_UNIX socket definitions and address management. Some code there might
be agnostic to the socket type and could later move to af_xxxx.c but for
now we only support regular sockets so no need to go too far.

The files are quite poor at this step, they only contain the address
comparison function for each address family.
Makefile
include/haproxy/sock_inet.h [new file with mode: 0644]
include/haproxy/sock_unix.h [new file with mode: 0644]
src/sock_inet.c [new file with mode: 0644]
src/sock_unix.c [new file with mode: 0644]