diff options
Diffstat (limited to 'sys/netinet/sctp_uio.h')
-rw-r--r-- | sys/netinet/sctp_uio.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h index 8532b4f..6bd26b3 100644 --- a/sys/netinet/sctp_uio.h +++ b/sys/netinet/sctp_uio.h @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #endif #include <sys/types.h> #include <sys/socket.h> +#include <netinet/in.h> typedef uint32_t sctp_assoc_t; @@ -871,6 +872,17 @@ struct sctpstat { #define SCTP_STAT_DECR_COUNTER64(_x) SCTP_STAT_DECR(_x) #define SCTP_STAT_DECR_GAUGE32(_x) SCTP_STAT_DECR(_x) +union sctp_sockstore { +#ifdef AF_INET + struct sockaddr_in sin; +#endif +#ifdef AF_INET6 + struct sockaddr_in6 sin6; +#endif + struct sockaddr sa; +}; + + /* * Kernel defined for sctp_send */ |