TCP header definition. More...
#include <tcp.h>
Data Fields | |
| network_uint16_t | src_port | 
| Source port, in network byte order.   | |
| network_uint16_t | dst_port | 
| Destination port, in network byte order.   | |
| network_uint32_t | seq_num | 
| Sequence number, in network byte order.   | |
| network_uint32_t | ack_num | 
| Acknowledgement number, in network byte order.   | |
| network_uint16_t | off_ctl | 
| Data Offset and control Bits in network byte order.   | |
| network_uint16_t | window | 
| Window, in network byte order.   | |
| network_uint16_t | checksum | 
| Checksum, in network byte order.   | |
| network_uint16_t | urgent_ptr | 
| Urgent pointer, in network byte order.   | |
| network_uint32_t tcp_hdr_t::ack_num | 
| network_uint16_t tcp_hdr_t::checksum | 
| network_uint16_t tcp_hdr_t::dst_port | 
| network_uint16_t tcp_hdr_t::off_ctl | 
| network_uint32_t tcp_hdr_t::seq_num | 
| network_uint16_t tcp_hdr_t::src_port | 
| network_uint16_t tcp_hdr_t::urgent_ptr | 
| network_uint16_t tcp_hdr_t::window |