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:
parent
d36f78d854
commit
282596dc9d
8 changed files with 297 additions and 235 deletions
16
xio.h
16
xio.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue