#include "main.h"
#include "UDP.h"
Go to the source code of this file.
◆ fn_NetSim_UDP_ConfigPacketTrace()
| char * fn_NetSim_UDP_ConfigPacketTrace |
( |
| ) |
|
This function will return the string to wrie packet trace heading
Definition at line 91 of file UDP.c.
◆ fn_NetSim_UDP_Configure()
| int fn_NetSim_UDP_Configure |
( |
void ** |
var | ) |
|
This function is called by NetworkStack.dll, while configuring the device TRANSPORT layer for UDP protocol.
Definition at line 63 of file UDP.c.
◆ fn_NetSim_UDP_CopyPacket()
Function to copy the UDP packet from source to destination.
This function is called by NetworkStack.dll, to free the packet of UDP protocol
Definition at line 121 of file UDP.c.
◆ fn_NetSim_UDP_Finish()
| int fn_NetSim_UDP_Finish |
( |
| ) |
|
Function to free the UDP protocol variable and Unload the primitives.
This function is called by NetworkStack.dll, once simulation end to free the allocated memory for the network.
Definition at line 79 of file UDP.c.
◆ fn_NetSim_UDP_FreePacket()
Function to free the allocated memory for the UDP packet.
Definition at line 114 of file UDP.c.
◆ fn_NetSim_UDP_Init()
| int fn_NetSim_UDP_Init |
( |
| ) |
|
This functon initializes the UDP parameters.
Definition at line 71 of file UDP.c.
◆ fn_NetSim_UDP_Metrics()
Function to write UDP Metrics into Metrics.txt.
This function write the Metrics in Metrics.txt
Definition at line 126 of file UDP.c.
◆ fn_NetSim_UDP_Run()
| int fn_NetSim_UDP_Run |
( |
| ) |
|
This function is called by NetworkStack.dll, whenever the event gets triggered
inside the NetworkStack.dll for the Transport layer UDP protocol
Definition at line 32 of file UDP.c.
◆ fn_NetSim_UDP_Trace()
| char * fn_NetSim_UDP_Trace |
( |
int |
nSubEvent | ) |
|
Return the subevent name with respect to the subevent number for writting event trace.
This function is called by NetworkStack.dll, while writing the evnt trace to get the sub event as a string.
Definition at line 109 of file UDP.c.
◆ fn_NetSim_UDP_WritePacketTrace()
| int fn_NetSim_UDP_WritePacketTrace |
( |
NetSim_PACKET * |
pstruPacket, |
|
|
char ** |
ppszTrace |
|
) |
| |
Definition at line 99 of file UDP.c.