TCP packet header. More...
#include <gnunet_tun_lib.h>
Data Fields | |
uint16_t | source_port |
Source port (in NBO). More... | |
uint16_t | destination_port |
Destination port (in NBO). More... | |
uint32_t | seq |
Sequence number. More... | |
uint32_t | ack |
Acknowledgement number. More... | |
unsigned int | reserved: 4 |
Reserved. More... | |
unsigned int | off: 4 |
Number of 32-bit words in TCP header. More... | |
uint8_t | flags |
Flags (SYN, FIN, ACK, etc.) More... | |
uint16_t | window_size |
Window size. More... | |
uint16_t | crc |
Checksum. More... | |
uint16_t | urgent_pointer |
Urgent pointer. More... | |
TCP packet header.
Definition at line 215 of file gnunet_tun_lib.h.
uint16_t GNUNET_TUN_TcpHeader::source_port |
Source port (in NBO).
Definition at line 220 of file gnunet_tun_lib.h.
Referenced by prepare_ipv4_packet(), prepare_ipv6_packet(), and tcp_from_helper().
uint16_t GNUNET_TUN_TcpHeader::destination_port |
Destination port (in NBO).
Definition at line 225 of file gnunet_tun_lib.h.
Referenced by prepare_ipv4_packet(), prepare_ipv6_packet(), and tcp_from_helper().
uint32_t GNUNET_TUN_TcpHeader::seq |
Sequence number.
Definition at line 230 of file gnunet_tun_lib.h.
uint32_t GNUNET_TUN_TcpHeader::ack |
Acknowledgement number.
Definition at line 235 of file gnunet_tun_lib.h.
unsigned int GNUNET_TUN_TcpHeader::reserved |
unsigned int GNUNET_TUN_TcpHeader::off |
Number of 32-bit words in TCP header.
Definition at line 244 of file gnunet_tun_lib.h.
uint8_t GNUNET_TUN_TcpHeader::flags |
Flags (SYN, FIN, ACK, etc.)
Definition at line 261 of file gnunet_tun_lib.h.
uint16_t GNUNET_TUN_TcpHeader::window_size |
Window size.
Definition at line 266 of file gnunet_tun_lib.h.
uint16_t GNUNET_TUN_TcpHeader::crc |
uint16_t GNUNET_TUN_TcpHeader::urgent_pointer |
Urgent pointer.
Definition at line 276 of file gnunet_tun_lib.h.