switch (cid.chunk) { case SCTP_CID_ASCONF: return"ASCONF";
case SCTP_CID_ASCONF_ACK: return"ASCONF_ACK";
case SCTP_CID_FWD_TSN: return"FWD_TSN";
case SCTP_CID_AUTH: return"AUTH";
case SCTP_CID_RECONF: return"RECONF";
case SCTP_CID_I_DATA: return"I_DATA";
case SCTP_CID_I_FWD_TSN: return"I_FWD_TSN";
default: break;
}
return"unknown chunk";
}
/* These are printable forms of the states. */ constchar *const sctp_state_tbl[SCTP_STATE_NUM_STATES] = { "STATE_CLOSED", "STATE_COOKIE_WAIT", "STATE_COOKIE_ECHOED", "STATE_ESTABLISHED", "STATE_SHUTDOWN_PENDING", "STATE_SHUTDOWN_SENT", "STATE_SHUTDOWN_RECEIVED", "STATE_SHUTDOWN_ACK_SENT",
};
/* Events that could change the state of an association. */ constchar *const sctp_evttype_tbl[] = { "EVENT_T_unknown", "EVENT_T_CHUNK", "EVENT_T_TIMEOUT", "EVENT_T_OTHER", "EVENT_T_PRIMITIVE"
};
/* Return value of a state function */ constchar *const sctp_status_tbl[] = { "DISPOSITION_DISCARD", "DISPOSITION_CONSUME", "DISPOSITION_NOMEM", "DISPOSITION_DELETE_TCB", "DISPOSITION_ABORT", "DISPOSITION_VIOLATION", "DISPOSITION_NOT_IMPL", "DISPOSITION_ERROR", "DISPOSITION_BUG"
};
/* Printable forms of primitives */ staticconstchar *const sctp_primitive_tbl[SCTP_NUM_PRIMITIVE_TYPES] = { "PRIMITIVE_ASSOCIATE", "PRIMITIVE_SHUTDOWN", "PRIMITIVE_ABORT", "PRIMITIVE_SEND", "PRIMITIVE_REQUESTHEARTBEAT", "PRIMITIVE_ASCONF",
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.