Turnstone Operating System
Loading...
Searching...
No Matches
network_tcpv4.h File Reference

TCPv4 header. More...

#include <types.h>
#include <network.h>
#include <network/network_protocols.h>
#include <hashmap.h>

Classes

struct  network_tcpv4_header_t
 
struct  network_tcpv4_connection_t
 
struct  network_tcpv4_listener_t
 

Macros

#define ___NETWORK_TCPV4_H   0
 

Typedefs

typedef struct network_tcpv4_header_t network_tcpv4_header_t
 
typedef enum network_tcp_connection_state_t network_tcp_connection_state_t
 
typedef struct network_tcpv4_connection_t network_tcpv4_connection_t
 
typedef struct network_tcpv4_listener_t network_tcpv4_listener_t
 

Enumerations

enum  network_tcp_connection_state_t {
  NETWORK_TCP_CONNECTION_STATE_CLOSED , NETWORK_TCP_CONNECTION_STATE_LISTEN , NETWORK_TCP_CONNECTION_STATE_SYN_SENT , NETWORK_TCP_CONNECTION_STATE_SYN_RECEIVED ,
  NETWORK_TCP_CONNECTION_STATE_ESTABLISHED , NETWORK_TCP_CONNECTION_STATE_FIN_WAIT_1 , NETWORK_TCP_CONNECTION_STATE_FIN_WAIT_2 , NETWORK_TCP_CONNECTION_STATE_CLOSE_WAIT ,
  NETWORK_TCP_CONNECTION_STATE_CLOSING , NETWORK_TCP_CONNECTION_STATE_LAST_ACK , NETWORK_TCP_CONNECTION_STATE_TIME_WAIT
}
 

Functions

uint8_tnetwork_tcpv4_process_packet (network_ipv4_address_t dip, network_ipv4_address_t sip, network_tcpv4_header_t *recv_tcpv4_packet, void *network_info, uint16_t packet_len, uint16_t *return_packet_len)
 

Detailed Description

TCPv4 header.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.