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

Go to the source code of this file.

Functions

static void send_syn (PNETSIM_SOCKET s)
 
void tcp_active_open (PNETSIM_SOCKET s)
 
void tcp_passive_open (PNETSIM_SOCKET s, PNETSIM_SOCKET ls)
 
void resend_syn (PNETSIM_SOCKET s)
 
void process_syn (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
void rcv_SYN (PNETSIM_SOCKET s, NetSim_PACKET *syn)
 
void send_rst (PNETSIM_SOCKET s, NetSim_PACKET *p, UINT c)
 
void send_ack (PNETSIM_SOCKET s, double time, UINT32 seqNo, UINT32 ackNo)
 
void send_fin_ack (PNETSIM_SOCKET s, double time, UINT32 seqNo, UINT32 ackNo)
 
void packet_arrive_at_closed_state (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
void packet_arrives_at_listen_state (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
void packet_arrives_at_synsent_state (PNETSIM_SOCKET s, NetSim_PACKET *p)
 
void send_fin (PNETSIM_SOCKET s)
 

Function Documentation

◆ packet_arrive_at_closed_state()

void packet_arrive_at_closed_state ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)

Definition at line 206 of file TCP_Connection.c.

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

◆ packet_arrives_at_listen_state()

void packet_arrives_at_listen_state ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)

Definition at line 231 of file TCP_Connection.c.

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

◆ packet_arrives_at_synsent_state()

void packet_arrives_at_synsent_state ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)

Definition at line 259 of file TCP_Connection.c.

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

◆ process_syn()

void process_syn ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)

Definition at line 113 of file TCP_Connection.c.

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

◆ rcv_SYN()

void rcv_SYN ( PNETSIM_SOCKET  s,
NetSim_PACKET syn 
)

Definition at line 136 of file TCP_Connection.c.

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

◆ resend_syn()

void resend_syn ( PNETSIM_SOCKET  s)

Definition at line 64 of file TCP_Connection.c.

Here is the call graph for this function:

◆ send_ack()

void send_ack ( PNETSIM_SOCKET  s,
double  time,
UINT32  seqNo,
UINT32  ackNo 
)

Definition at line 188 of file TCP_Connection.c.

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

◆ send_fin()

void send_fin ( PNETSIM_SOCKET  s)

Definition at line 341 of file TCP_Connection.c.

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

◆ send_fin_ack()

void send_fin_ack ( PNETSIM_SOCKET  s,
double  time,
UINT32  seqNo,
UINT32  ackNo 
)

Definition at line 196 of file TCP_Connection.c.

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

◆ send_rst()

void send_rst ( PNETSIM_SOCKET  s,
NetSim_PACKET p,
UINT  c 
)

Definition at line 181 of file TCP_Connection.c.

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

◆ send_syn()

static void send_syn ( PNETSIM_SOCKET  s)
static

Definition at line 48 of file TCP_Connection.c.

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

◆ tcp_active_open()

void tcp_active_open ( PNETSIM_SOCKET  s)

Definition at line 32 of file TCP_Connection.c.

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

◆ tcp_passive_open()

void tcp_passive_open ( PNETSIM_SOCKET  s,
PNETSIM_SOCKET  ls 
)

Definition at line 40 of file TCP_Connection.c.

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