TCPStatusInfo

Namespace inet

TCPStatusInfo

class

Sent with message kind TCP_I_STATUS, in response to command TCP_C_STATUS. For explanation of variables, see RFC 793 or TCPStateVariables in TCPConnection.h.

See also: TcpStatusInd, TcpCommandCode, ITCP

Extends

Name Type Description
TCPCommand (unknown -- not in documented files)

Fields

Name Type Description
state int
stateName string
localAddr L3Address
remoteAddr L3Address
localPort int
remotePort int
snd_mss unsigned int
snd_una unsigned int
snd_nxt unsigned int
snd_max unsigned int
snd_wnd unsigned int
snd_up unsigned int
snd_wl1 unsigned int
snd_wl2 unsigned int
iss unsigned int
rcv_nxt unsigned int
rcv_wnd unsigned int
rcv_up unsigned int
irs unsigned int
fin_ack_rcvd bool

Source code

//
// Sent with message kind TCP_I_STATUS, in response to command TCP_C_STATUS.
// For explanation of variables, see RFC 793 or TCPStateVariables in
// TCPConnection.h.
//
// @see ~TcpStatusInd, ~TcpCommandCode, ~ITCP
//
class TCPStatusInfo extends TCPCommand
{
    int state;
    string stateName;

    L3Address localAddr;
    L3Address remoteAddr;
    int localPort;
    int remotePort;

    unsigned int snd_mss;

    unsigned int snd_una;
    unsigned int snd_nxt;
    unsigned int snd_max;
    unsigned int snd_wnd;
    unsigned int snd_up;
    unsigned int snd_wl1;
    unsigned int snd_wl2;
    unsigned int iss;

    unsigned int rcv_nxt;
    unsigned int rcv_wnd;
    unsigned int rcv_up;
    unsigned int irs;

    bool fin_ack_rcvd;
}

File: src/inet/transportlayer/contract/tcp/TCPCommand.msg