ttNtTcpEntry

Jump to: navigation, search
typedef struct tsNtTcpEntry
{
    ttUser16Bit             ntTcpSockDesc;            
    ttUser32Bit             ntTcpBytesInRecvQ;
    ttUser32Bit             ntTcpBytesInSendQ;  
    ttUser32Bit             ntTcpRecvQSize;
    ttUser32Bit             ntTcpSendQSize;
    struct sockaddr_storage ntTcpLocalSockAddr;
    ttUser16Bit             ntTcpOwnerCount;        
    struct sockaddr_storage ntTcpPeerSockAddr;
    ttUser16Bit             ntTcpFlags;
    ttUser32Bit             ntTcpRto;
    ttUser32Bit             ntTcpReXmitCnt;
    ttUser32Bit             ntTcpSndUna;
    ttUser32Bit             ntTcpIss;
    ttUser32Bit             ntTcpSndNxt;
    ttUser32Bit             ntTcpMaxSndNxt;
    ttUser32Bit             ntTcpIrs;
    ttUser32Bit             ntTcpSndWL1;
    ttUser32Bit             ntTcpSndWL2;
    ttUser32Bit             ntTcpMaxSndWnd;
    ttUser32Bit             ntTcpRcvNxt;
    ttUser32Bit             ntTcpRcvWnd;
    ttUser32Bit             ntTcpRcvAdv;
    ttUser32Bit             ntTcpCwnd;
    ttUser32Bit             ntTcpSsthresh;
    ttUser16Bit             ntTcpBackLog;
    ttUser8Bit              ntTcpDupAck;
    ttUser8Bit              ntTcpAcksAfterRexmit;
    ttUser8Bit              ntTcpState;
    ttUser8Bit              ntTcpFiller[3];
} ttNtTcpEntry;
typedef ttNtTcpEntry  * ttNtTcpEntryPtr;

Many of this structure's members follow RFC 793 section 3.2, "Terminology". Where applicable, the original name used in the RFC is indicated. Users are referred to RFC 793 for more information on these variables.


Members

  • ntTcpSockDesc
    Socket descriptor.
  • ntTcpBytesInRecvQ
    Data in the receive queue, in bytes.
  • ntTcpBytesInSendQ
    Data in the send queue, in bytes.
  • ntTcpRecvQSize
    Size of the receive queue, in bytes.
  • ntTcpSendQSize
    Size of the send queue, in bytes.
  • ntTcpLocalSockAddr
    Local address, port and protocol family information of the socket.
  • ntTcpOwnerCount
    Owner count of the socket.
  • ntTcpPeerSockAddr
    Peer's address, port and protocol family information of the socket.
  • ntTcpFlags
    TCP flags.
  • ntTcpRto
    Retransmission timeout.
  • ntTcpReXmitCnt
    number of retransmitted segments.
  • ntTcpSndUna
    Send Sequence Variables: SND.UNA - send unacknowledged.
  • ntTcpIss
    Send Sequence Variables: ISS - initial send sequence number.
  • ntTcpSndNxt
    Send Sequence Variables: SND.NXT - send next.
  • ntTcpMaxSndNxt
    Highest sequence number sent (used because of retransmit).
  • ntTcpIrs
    Receive Sequence Variables:IRS - initial receive sequence number.
  • ntTcpSndWL1
    Send Sequence Variables: SND.WL1 - segment sequence number used for last window update SND.
  • ntTcpSndWL2
    Send Sequence Variables: SND.WL2 - segment acknowledgment number used for last window update.
  • ntTcpMaxSndWnd
    Maximum send window seen so far.
  • ntTcpRcvNxt
    Receive Sequence VariablesRCV.NXT - receive next.
  • ntTcpRcvWnd
    Receive Sequence Variables:RCV.WND - receive window.
  • ntTcpRcvAdv
    Sequence number of right edge of advertized window. (Could be smaller than Rcv.Nxt+Rcv.Wnd to avoid silly window syndrome. Also used to prevent shrinkage of our receive window.)
  • ntTcpCwnd
    Send congestion window.
  • ntTcpSsthresh
    Send slow start threshold size.
  • ntTcpBackLog
    Back logs.
  • ntTcpDupAck
    Duplicate ACK's.
  • ntTcpAcksAfterRexmit
    Number of non duplicate ACK's after duplicate ACK(s).
  • ntTcpState
    One of the following:
  • TM_NT_TCPS_CLOSED
  • TM_NT_TCPS_LISTEN
  • TM_NT_TCPS_SYN_SENT
  • TM_NT_TCPS_SYN_RECEIVED
  • TM_NT_TCPS_ESTABLISHED
  • TM_NT_TCPS_CLOSE_WAIT
  • TM_NT_TCPS_FIN_WAIT_1
  • TM_NT_TCPS_CLOSING
  • TM_NT_TCPS_LAST_ACK
  • TM_NT_TCPS_FIN_WAIT_2
  • TM_NT_TCPS_TIME_WAIT
  • TM_NT_TCPS_INVALID