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

Go to the source code of this file.

Functions

static void add_new_dest (NetSim_PACKET *packet, NETSIM_IPAddress ip)
 
static void remove_dest (NetSim_PACKET *packet)
 
int fn_NetSim_NAT_NetworkOut (NETSIM_ID ndev, NetSim_PACKET *packet)
 
int fn_NetSim_NAT_NetworkIn (NETSIM_ID ndev, NetSim_PACKET *packet)
 

Function Documentation

◆ add_new_dest()

static void add_new_dest ( NetSim_PACKET packet,
NETSIM_IPAddress  ip 
)
static

Definition at line 16 of file NAT.c.

Here is the caller graph for this function:

◆ fn_NetSim_NAT_NetworkIn()

int fn_NetSim_NAT_NetworkIn ( NETSIM_ID  ndev,
NetSim_PACKET packet 
)

Definition at line 116 of file NAT.c.

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

◆ fn_NetSim_NAT_NetworkOut()

int fn_NetSim_NAT_NetworkOut ( NETSIM_ID  ndev,
NetSim_PACKET packet 
)

Definition at line 47 of file NAT.c.

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

◆ remove_dest()

static void remove_dest ( NetSim_PACKET packet)
static

Definition at line 29 of file NAT.c.

Here is the caller graph for this function: