• Robert Schmidt's avatar
    Rewrite sctp_create_new_listener() to handle DNS, IPv6 · dfa01216
    Robert Schmidt authored
    Rewrite sctp_create_new_listener() to use getaddrinfo() to look up
    IPv4/IPv6 addresses via a common interface. This allows to use e.g. DNS,
    and enables the SCTP library to listen on IPv6 ports.
    
    To support the above, the corresponding message is changed to not take
    an IPv4 address on 4 bytes (and separate IPv6), but a single name that
    will be resolved via getaddrinfo()
    
    The previous init message used to allow multiple IPv4/IPv6 addresses;
    since this is not used anywhere, remove the corresponding functionality.
    
    Modify all uses of this ITTI message to copy te SCTP init bind addr into
    ITTI message.
    dfa01216
m3ap_MME.c 28.5 KB