mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 15:23:24 +00:00
New option ip-add-source-membership
This commit is contained in:
parent
13ac417410
commit
583e14d7fa
10 changed files with 195 additions and 2 deletions
13
configure.ac
13
configure.ac
|
@ -1176,6 +1176,19 @@ if test $sc_cv_struct_ipv6_mreq = yes; then
|
|||
fi
|
||||
AC_MSG_RESULT($sc_cv_struct_ipv6_mreq)
|
||||
|
||||
# struct ip_mreq_source (for multicasting options)
|
||||
AC_MSG_CHECKING(for struct ip_mreq_source)
|
||||
AC_CACHE_VAL(sc_cv_struct_ip_mreq_source,
|
||||
[AC_TRY_COMPILE([#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/ip.h>],[struct ip_mreq_source s;],
|
||||
[sc_cv_struct_ip_mreq_source=yes],
|
||||
[sc_cv_struct_ip_mreq_source=no])])
|
||||
if test $sc_cv_struct_ip_mreq_source = yes; then
|
||||
AC_DEFINE(HAVE_STRUCT_IP_MREQ_SOURCE)
|
||||
fi
|
||||
AC_MSG_RESULT($sc_cv_struct_ip_mreqn)
|
||||
|
||||
|
||||
# struct ifreq (for network interfaces)
|
||||
AC_MSG_CHECKING(for struct ifreq)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue