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

Go to the source code of this file.

Functions

void fnConnectCallback (PNETSIM_SOCKET s)
 
void fnListenCallback (PNETSIM_SOCKET s, NetSim_PACKET *)
 
void init_anysockaddr ()
 
PSOCKETADDRESS get_anysockaddr ()
 
void tcp_init (NETSIM_ID d)
 
int packet_arrive_from_application_layer ()
 
void send_to_application (PNETSIM_SOCKET s, NetSim_PACKET *p)
 

Variables

PSOCKETADDRESS anySocketAddr = NULL
 

Function Documentation

◆ fnConnectCallback()

void fnConnectCallback ( PNETSIM_SOCKET  s)

◆ fnListenCallback()

void fnListenCallback ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)

Definition at line 141 of file TCP_ApplicationInterface.c.

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

◆ get_anysockaddr()

PSOCKETADDRESS get_anysockaddr ( )

Definition at line 41 of file TCP_ApplicationInterface.c.

Here is the caller graph for this function:

◆ init_anysockaddr()

void init_anysockaddr ( )

Definition at line 34 of file TCP_ApplicationInterface.c.

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

◆ packet_arrive_from_application_layer()

int packet_arrive_from_application_layer ( )

Definition at line 76 of file TCP_ApplicationInterface.c.

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

◆ send_to_application()

void send_to_application ( PNETSIM_SOCKET  s,
NetSim_PACKET p 
)

Definition at line 147 of file TCP_ApplicationInterface.c.

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

◆ tcp_init()

void tcp_init ( NETSIM_ID  d)

Definition at line 46 of file TCP_ApplicationInterface.c.

Here is the call graph for this function:

Variable Documentation

◆ anySocketAddr

PSOCKETADDRESS anySocketAddr = NULL

Definition at line 32 of file TCP_ApplicationInterface.c.