Mercurial > hg > freeDiameter
view extensions/test_sip/CMakeLists.txt @ 1540:407e0a889c7e
SCTP ConnectPeer: sctp_bindx() to local endpoints
When connecting to an SCTP peer using sctp_connectx() with local
addresses configured with ListenOn, bind to the ListenOn addresses
using sctp_bindx() so that the SCTP INIT only contains the
configured local addresses, matching what is advertised in the CER,
and disable SCTP_AUTO_ASCONF.
If no local addresses are configured with ListenOn, the previous
behaviour of sctp_connectx() and enable SCTP_AUTO_ASCONF is used.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Fri, 01 May 2020 18:20:33 +1000 |
parents | 3c0b895d0900 |
children |
line wrap: on
line source
# The test_sip extension PROJECT("Diameter-SIP client Test Application (RFC4740)" C) FIND_PACKAGE(MySQL REQUIRED) INCLUDE_DIRECTORIES(${MySQL_INCLUDE_DIR}) # List of source files SET( TEST_SIP_SRC test_sip.c test_sip.h multimediaauth.c locationinfo.c locationinfosl.c registrationtermination.c userauthorization.c serverassignment.c ) # Compile as a module FD_ADD_EXTENSION(test_sip ${TEST_SIP_SRC}) TARGET_LINK_LIBRARIES(test_sip ${MySQL_LIBRARIES}) #### ## INSTALL section ## INSTALL(TARGETS test_sip LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} COMPONENT freeDiameter-debug-tools)