NetSim Source Code Help
Loading...
Searching...
No Matches
TCP_Incoming.c File Reference
#include "main.h"
#include "TCP.h"
#include "TCP_Header.h"
Include dependency graph for TCP_Incoming.c:

Go to the source code of this file.

Functions

static bool Validate_segment (PNETSIM_SOCKET s)
 
static void process_rst_packet (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
static void process_syn_packet (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
static bool process_ack_in_establishedState (PNETSIM_SOCKET s, PTCP_SEGMENT_HDR hdr)
 
static void process_ack_packet (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
static void process_fin_packet (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
static bool check_segment (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
static bool process_segment_text (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
void packet_arrives_at_incoming_tcp (PNETSIM_SOCKET s, NetSim_PACKET *p)
 

Function Documentation

◆ check_segment()

static bool check_segment ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)
static

Definition at line 333 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ packet_arrives_at_incoming_tcp()

void packet_arrives_at_incoming_tcp ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)

Definition at line 427 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_ack_in_establishedState()

static bool process_ack_in_establishedState ( PNETSIM_SOCKET  s,
PTCP_SEGMENT_HDR  hdr 
)
static

Definition at line 143 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_ack_packet()

static void process_ack_packet ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)
static

Definition at line 210 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_fin_packet()

static void process_fin_packet ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)
static

Definition at line 284 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_rst_packet()

static void process_rst_packet ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)
static

Definition at line 71 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_segment_text()

static bool process_segment_text ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)
static

Definition at line 360 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_syn_packet()

static void process_syn_packet ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)
static

Definition at line 116 of file TCP_Incoming.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Validate_segment()

static bool Validate_segment ( PNETSIM_SOCKET  s)
static

Definition at line 34 of file TCP_Incoming.c.

Here is the caller graph for this function: