TCPHDR Struct Reference


Detailed Description

Definition at line 144 of file tcp.h.


Data Fields

uint16_t th_sport
 Source port.
uint16_t th_dport
 Destination port.
uint32_t th_seq
 Sequence number of first octet in this segment.
uint32_t th_ack
 Expected sequence number of next octet.
uint8_t th_x2:4
 Unused.
uint8_t th_off:4
 Data offset.
uint8_t th_flags
 Control flags.
uint16_t th_win
 Number of acceptable octects.
uint16_t th_sum
 96 byte pseudo header checksum.
uint16_t th_urp
 Urgent data pointer.

Field Documentation

uint16_t TCPHDR::th_sport

Source port.

Definition at line 145 of file tcp.h.

Referenced by NutTcpOutput(), and NutTcpSm().

uint16_t TCPHDR::th_dport

Destination port.

Definition at line 146 of file tcp.h.

Referenced by NutTcpOutput(), and NutTcpSm().

uint32_t TCPHDR::th_seq

Sequence number of first octet in this segment.

Definition at line 147 of file tcp.h.

Referenced by NutDumpTcpHeader(), and NutTcpOutput().

uint32_t TCPHDR::th_ack

Expected sequence number of next octet.

Definition at line 148 of file tcp.h.

Referenced by NutDumpTcpHeader(), and NutTcpOutput().

uint8_t TCPHDR::th_x2

Unused.

Definition at line 154 of file tcp.h.

Referenced by NutTcpOutput().

uint8_t TCPHDR::th_off

Data offset.

Definition at line 154 of file tcp.h.

Referenced by NutTcpInput(), and NutTcpOutput().

uint8_t TCPHDR::th_flags

Control flags.

Definition at line 161 of file tcp.h.

Referenced by NutDumpTcpHeader(), and NutTcpOutput().

uint16_t TCPHDR::th_win

Number of acceptable octects.

Definition at line 162 of file tcp.h.

Referenced by NutTcpOutput().

uint16_t TCPHDR::th_sum

96 byte pseudo header checksum.

Definition at line 163 of file tcp.h.

Referenced by NutTcpOutput().

uint16_t TCPHDR::th_urp

Urgent data pointer.

Definition at line 164 of file tcp.h.

Referenced by NutTcpOutput().


The documentation for this struct was generated from the following file:
© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/