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