WAND Trace processing  4.0.5
libtrace_tcp Struct Reference

Generic TCP header structure. More...

Data Fields

uint16_t source
 Source Port. More...
 
uint16_t dest
 Destination port. More...
 
uint32_t seq
 Sequence number. More...
 
uint32_t ack_seq
 Acknowledgement Number. More...
 
LT_BITFIELD8 ecn_ns:1
 ECN Nonce Sum. More...
 
LT_BITFIELD8 res1:3
 Reserved bits. More...
 
LT_BITFIELD8 doff:4
 Data Offset. More...
 
LT_BITFIELD8 fin:1
 FIN. More...
 
LT_BITFIELD8 syn:1
 SYN flag. More...
 
LT_BITFIELD8 rst:1
 RST flag. More...
 
LT_BITFIELD8 psh:1
 PuSH flag. More...
 
LT_BITFIELD8 ack:1
 ACK flag. More...
 
LT_BITFIELD8 urg:1
 URG flag. More...
 
LT_BITFIELD8 ece:1
 ECN Echo. More...
 
LT_BITFIELD8 cwr:1
 ECN CWR. More...
 
uint16_t window
 Window Size. More...
 
uint16_t check
 Checksum. More...
 
uint16_t urg_ptr
 Urgent Pointer. More...
 

Detailed Description

Generic TCP header structure.

Field Documentation

LT_BITFIELD8 libtrace_tcp::ack

ACK flag.

uint32_t libtrace_tcp::ack_seq

Acknowledgement Number.

uint16_t libtrace_tcp::check

Checksum.

Referenced by trace_checksum_transport().

LT_BITFIELD8 libtrace_tcp::cwr

ECN CWR.

uint16_t libtrace_tcp::dest

Destination port.

LT_BITFIELD8 libtrace_tcp::doff
LT_BITFIELD8 libtrace_tcp::ece

ECN Echo.

LT_BITFIELD8 libtrace_tcp::ecn_ns

ECN Nonce Sum.

LT_BITFIELD8 libtrace_tcp::fin

FIN.

LT_BITFIELD8 libtrace_tcp::psh

PuSH flag.

LT_BITFIELD8 libtrace_tcp::res1

Reserved bits.

LT_BITFIELD8 libtrace_tcp::rst

RST flag.

uint32_t libtrace_tcp::seq

Sequence number.

uint16_t libtrace_tcp::source

Source Port.

LT_BITFIELD8 libtrace_tcp::syn

SYN flag.

LT_BITFIELD8 libtrace_tcp::urg

URG flag.

uint16_t libtrace_tcp::urg_ptr

Urgent Pointer.

uint16_t libtrace_tcp::window

Window Size.


The documentation for this struct was generated from the following file: