sctpsinfo_t Structure
The sctpsinfo_t structure contains informations about stable SCTP details from sctp_t.
typedef struct sctpsinfo {
uintptr_t sctps_addr; /* pointer to sctp_t */
int sctps_num_raddrs; /* number of remote addresses*/
uintptr_t sctps_raddrs; /* pointer to sctp_faddrs */
int sctps_num_laddrs;
uintptr_t sctps_laddrs; /* pointer to sctp_saddrs */
uint16_t sctps_lport; /* local port */
uint16_t sctps_rport; /* remote port */
string sctps_laddr; /* local address, as a string */
string sctps_raddr; /* remote address, as a string */
int32_t sctps_state;
} sctpsinfo_t;It might seem redundant to supply the local and remote ports and addresses here and in the sctpinfo_t, but the sctp:::state-change probes do not have associated sctpinfo_t data. To map the state change to a specific port, we need the associated sctpinfo_t data.
The following table contains the members of scptsinfo_t structure:
Table 11-63 sctpsinfo_t Members
| Member | Description |
|---|---|
|
|
Address of translated |
|
|
Number of remote addresses. |
|
|
Pointer to first |
|
|
Number of local addresses. |
|
|
Pointer to |
|
|
Local port associated with the SCTP connection. |
|
|
Remote port associated with the SCTP connection. |
|
|
Local address associated with the SCTP connection, as a string. |
|
|
Remote address associated with the SCTP connection, as a string. |
|
|
SCTP state. Inline definitions are provided for the various SCTP states such as |