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

Moved multicast related code from xioopts.c to xio-ip.c and xio-ip6.c

This commit is contained in:
Gerhard Rieger 2023-06-24 10:21:44 +02:00
parent d36f78d854
commit 282596dc9d
8 changed files with 297 additions and 235 deletions

16
xio.h
View file

@ -375,22 +375,6 @@ union integral {
#if HAVE_STRUCT_TIMESPEC
struct timespec u_timespec;
#endif /* HAVE_STRUCT_TIMESPEC */
#if HAVE_STRUCT_IP_MREQ || HAVE_STRUCT_IP_MREQN
struct {
char *multiaddr;
char *param2; /* address, interface */
#if HAVE_STRUCT_IP_MREQN
char ifindex[IF_NAMESIZE+1];
#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