TcpStatusInd¶
Namespace: inet
enum TcpStatusInd
TCP indications, sent by TCP to the application. TCP will set these constants as message kind on messages it sends to the application.
See also: TcpCommand, TcpStatusInfo, ITcp
Source code¶
//
// TCP indications, sent by TCP to the application. TCP will set these
// constants as message kind on messages it sends to the application.
//
// @see ~TcpCommand, ~TcpStatusInfo, ~ITcp
//
enum TcpStatusInd
{
TCP_I_DATA = 1; // data packet (set on data packet)
TCP_I_URGENT_DATA = 2; // urgent data (set on data packet)
TCP_I_AVAILABLE = 3; // conncetion available
TCP_I_ESTABLISHED = 4; // connection established
TCP_I_PEER_CLOSED = 5; // FIN received from remote TCP
TCP_I_CLOSED = 6; // connection closed normally (via FIN exchange)
TCP_I_CONNECTION_REFUSED = 7; // connection refused
TCP_I_CONNECTION_RESET = 8; // connection reset
TCP_I_TIMED_OUT = 9; // conn-estab timer went off, or max retransm. count reached
TCP_I_STATUS = 10; // status info (will carry ~TcpStatusInfo)
TCP_I_SEND_MSG = 11; // send queue abated, send more messages
TCP_I_ICMPv4_ERROR = 12; // ICMPv4 error received (carries ~Icmpv4ErrorInd tag)
TCP_I_ICMPv6_ERROR = 13; // ICMPv6 error received (carries ~Icmpv6ErrorInd tag)
}