tcpinfo_t
Structure
The tcpinfo_t
structure is a DTrace translated version of the TCP header.
typedef struct tcpinfo { uint16_t tcp_sport; /* source port */ uint16_t tcp_dport; /* destination port */ uint32_t tcp_seq; /* sequence number */ uint32_t tcp_ack; /* acknowledgment number */ uint8_t tcp_offset; /* data offset, in bytes */ uint8_t tcp_flags; /* flags */ uint16_t tcp_window; /* window size */ uint16_t tcp_checksum; /* checksum */ uint16_t tcp_urgent; /* urgent data pointer */ tcph_t *tcp_hdr; /* raw TCP header */ } tcpinfo_t;
Table 11-69 tcpinfo_t
Members
Member | Description |
---|---|
|
TCP source port. |
|
TCP destination port. |
|
TCP sequence number. |
|
TCP acknowledgment number. |
|
Payload data offset, in bytes not 32-bit words. |
|
TCP flags. See the |
|
TCP window size, bytes. |
|
Checksum of TCP header and payload. |
|
TCP urgent data pointer, bytes. |
|
Pointer to raw TCP header at time of tracing. |
Table 11-70 tcp_flags
Values
Value | Description |
---|---|
|
No more data from sender (finish). |
|
Synchronize sequence numbers (connect). |
|
Reset the connection. |
|
TCP push function. |
|
Acknowledgment field is set. |
|
Urgent pointer field is set. |
|
Explicit congestion notification echo. For more information, see RFC 3168. |
|
Congestion window reduction. |
See RFC 793 for a detailed explanation of the standard TCP header fields and flags.