AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
tcp_hdr Struct Reference

A TCP segment's header. More...

#include <tcp.h>

Data Fields

uint16_t src
uint16_t dst
uint32_t seq
uint32_t ack
uint8_t off
uint8_t flags
uint16_t win
uint16_t checksum
uint16_t urg

Detailed Description

A TCP segment's header.

Definition at line 16 of file tcp.h.

Field Documentation

◆ ack

uint32_t tcp_hdr::ack

Definition at line 18 of file tcp.h.

Referenced by segment(), tcp_input(), and tcp_reply_rst().

◆ checksum

uint16_t tcp_hdr::checksum

Definition at line 22 of file tcp.h.

Referenced by segment(), and tcp_reply_rst().

◆ dst

uint16_t tcp_hdr::dst

Definition at line 17 of file tcp.h.

Referenced by listen_input(), segment(), tcp_input(), and tcp_reply_rst().

◆ flags

uint8_t tcp_hdr::flags

Definition at line 20 of file tcp.h.

Referenced by segment(), tcp_input(), tcp_output(), tcp_reply_rst(), and tcp_send_syn().

◆ off

uint8_t tcp_hdr::off

Definition at line 19 of file tcp.h.

Referenced by segment(), tcp_input(), and tcp_reply_rst().

◆ seq

uint32_t tcp_hdr::seq

Definition at line 18 of file tcp.h.

Referenced by segment(), tcp_input(), tcp_output(), and tcp_reply_rst().

◆ src

uint16_t tcp_hdr::src

Definition at line 17 of file tcp.h.

Referenced by listen_input(), segment(), tcp_input(), and tcp_reply_rst().

◆ urg

uint16_t tcp_hdr::urg

Definition at line 23 of file tcp.h.

Referenced by segment().

◆ win

uint16_t tcp_hdr::win

Definition at line 21 of file tcp.h.

Referenced by segment(), and tcp_input().


The documentation for this struct was generated from the following file:
  • kernel/include/net/tcp.h