--- src/iperf_sctp.c_orig	2025-04-01 23:47:20.139200888 -0500
+++ src/iperf_sctp.c	2025-04-01 23:49:39.971320047 -0500
@@ -745,7 +745,7 @@
 iperf_sctp_get_info(struct iperf_stream *sp, struct iperf_sctp_info *sctp_info)
 {
 #if defined(HAVE_SCTP_H)
-    struct sctp_status status;
+    struct sctp_paddrinfo status;
     socklen_t len;
     sctp_assoc_t assoc_id;
     int rc = 0;
@@ -759,15 +759,15 @@
 	assoc_id = 0;
 #endif
         len = sizeof(status);
-        rc = sctp_opt_info(sp->socket, assoc_id, SCTP_STATUS, &status, &len);
+        rc = sctp_opt_info(sp->socket, assoc_id, SCTP_GET_PEER_ADDR_INFO, &status, &len);
         if (rc < 0) {
             if (sp->test->debug_level >= DEBUG_LEVEL_ERROR)
                 iperf_err(sp->test, "sctp_opt_info get SCTP_STATUS for socket %d failed with errno %d - %s", sp->socket, errno, strerror(errno));
         } else {
-            sctp_info->wnd = status.sstat_rwnd;
-            sctp_info->rtt = status.sstat_primary.spinfo_srtt;
-            sctp_info->pmtu = status.sstat_primary.spinfo_mtu;
-            sctp_info->cwnd = status.sstat_primary.spinfo_cwnd;
+            sctp_info->wnd = 0;
+            sctp_info->rtt = status.spinfo_srtt;
+            //sctp_info->pmtu = status.sstat_primary.spinfo_mtu; Not supported in AIX. Check file netinet/sctp.h
+            sctp_info->cwnd = status.spinfo_cwnd;
         }
     }
 
