SCTP_FREEPADDRS(3) Library Functions Manual SCTP_FREEPADDRS(3)

sctp_freepaddrs, sctp_freeladdrs
release the memory returned from a previous call

Standard C Library (libc, -lc)

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/sctp.h>

void
sctp_freepaddrs(struct sockaddr *);

void
sctp_freeladdrs(struct sockaddr *);

The sctp_freepaddrs() and sctp_freeladdrs() functions are used to release the memory allocated by previous calls to sctp_getpaddrs(3) or sctp_getladdrs(3) respectively.

none.

sctp_getladdrs(3), sctp_getpaddrs(3), sctp(4)

Sockets API Extensions for the Stream Control Transmission Protocol (SCTP), RFC, 6458, December 2011.

These functions first appeared in NetBSD 9.0.
August 1, 2018 NetBSD 9.0