#include <tcp.h>
Data Fields | |
uint16_t | tcp_src |
Source port. | |
uint16_t | tcp_dst |
Destination port. | |
uint32_t | tcp_seq_num |
Sequence number. | |
uint32_t | tcp_ack_num |
ACK number. | |
uint8_t | tcp_res1:4 |
Reserved (bit 0..3). | |
uint8_t | tcp_hdr_len:4 |
Header length. | |
uint8_t | tcp_fin:1 |
FIN flag. | |
uint8_t | tcp_syn:1 |
SYN flag. | |
uint8_t | tcp_rst:1 |
RST flag. | |
uint8_t | tcp_psh:1 |
PSH flag. | |
uint8_t | tcp_ack:1 |
ACK flag. | |
uint8_t | tcp_urg:1 |
URG flag. | |
uint8_t | tcp_res2:2 |
Reserved (bit 4..6). | |
uint16_t | tcp_win_size |
Window size. | |
uint16_t | tcp_chk |
TCP checksum. | |
uint16_t | tcp_urg_ptr |
Urgent pointer. |
Definition at line 53 of file tcp.h.
|
ACK flag.
|
|
ACK number.
|
|
TCP checksum.
|
|
Destination port.
|
|
FIN flag.
|
|
Header length.
|
|
PSH flag.
|
|
Reserved (bit 0..3).
|
|
Reserved (bit 4..6).
|
|
RST flag.
|
|
Sequence number.
|
|
Source port.
|
|
SYN flag.
|
|
URG flag.
|
|
Urgent pointer.
|
|
Window size.
|