sce
static void sce(void);
sce();
mib2_sctpConnEntry_t sce;
sce.sctpAssocRemHostName.o_length = 0;
sce.sctpAssocRemHostName.o_bytes[0] = 0;
sce.sctpAssocId = ntohl(sctp->sctp_lvtag);
sce.sctpAssocLocalPort = ntohs(sctp->sctp_connp->conn_lport);
sce.sctpAssocRemPort = ntohs(sctp->sctp_connp->conn_fport);
sce.sctpAssocRemPrimAddrType =
sce.sctpAssocRemPrimAddrType =
sce.sctpAssocRemPrimAddr = fp->sf_faddr;
sce.sctpAssocLocPrimAddr = fp->sf_saddr;
sce.sctpAssocHeartBeatInterval = TICK_TO_MSEC(
sce.sctpAssocRemPrimAddrType = MIB2_SCTP_ADDR_V4;
bzero(&sce.sctpAssocRemPrimAddr,
sizeof (sce.sctpAssocRemPrimAddr));
bzero(&sce.sctpAssocLocPrimAddr,
sizeof (sce.sctpAssocLocPrimAddr));
sce.sctpAssocHeartBeatInterval =
sce.sctpAssocState = sctp_snmp_state(sctp);
sce.sctpAssocInStreams = sctp->sctp_num_istr;
sce.sctpAssocOutStreams = sctp->sctp_num_ostr;
sce.sctpAssocMaxRetr = sctp->sctp_pa_max_rxt;
sce.sctpAssocPrimProcess = 0;
sce.sctpAssocT1expired = sctp->sctp_T1expire;
sce.sctpAssocT2expired = sctp->sctp_T2expire;
sce.sctpAssocRtxChunks = sctp->sctp_T3expire;
sce.sctpAssocStartTime = sctp->sctp_assoc_start_time;
sce.sctpConnEntryInfo.ce_sendq = sctp->sctp_unacked +
sce.sctpConnEntryInfo.ce_recvq = sctp->sctp_rxqueued;
sce.sctpConnEntryInfo.ce_swnd = sctp->sctp_frwnd;
sce.sctpConnEntryInfo.ce_rwnd = sctp->sctp_rwnd;
sce.sctpConnEntryInfo.ce_mss = sctp->sctp_mss;
(char *)&sce, sizeof (sce));