1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-13 07:03:25 +00:00

New option ip-add-source-membership

This commit is contained in:
Gerhard Rieger 2020-12-13 22:21:06 +01:00
parent 13ac417410
commit 583e14d7fa
10 changed files with 195 additions and 2 deletions

7
xio.h
View file

@ -354,6 +354,13 @@ union integral {
#endif
} u_ip_mreq;
#endif
#if HAVE_STRUCT_IP_MREQ_SOURCE
struct {
char *mcaddr;
char *ifaddr; /* address, interface */
char *srcaddr; /* source address */
} u_ip_mreq_source;
#endif
#if WITH_IP4
struct in_addr u_ip4addr;
#endif