33#define _CRT_SECURE_NO_DEPRECATE
37#define TRANSPORT_UDP_OVERHEADS 8
38#define isUDPConfigured(d) (DEVICE_TRXLayer(d) && DEVICE_TRXLayer(d)->isUDP)
#define _declspec(dllexport)
This function is used to trigger the update.
int fn_NetSim_UDP_Check_ApplicationMetrics(NETSIM_ID, NETSIM_ID, NETSIM_ID, NETSIM_IPAddress, NETSIM_IPAddress, UDP_METRICS **)
int fn_NetSim_UDP_Create_ApplicationMetrics(NETSIM_ID, unsigned short, unsigned short, NETSIM_IPAddress, NETSIM_IPAddress, UDP_METRICS **)
int fn_NetSim_UDP_Send_User_Datagram()
int fn_NetSim_UDP_Metrics_F(PMETRICSWRITER metricsWriter)
int fn_NetSim_UDP_FreePacket_F(NetSim_PACKET *)
int fn_NetSim_UDP_Configure_F(void **var)
int fn_NetSim_UDP_Metrics(PMETRICSWRITER metricsWriter)
Function to write UDP Metrics into Metrics.txt.
int fn_NetSim_UDP_CopyPacket_F(NetSim_PACKET *, NetSim_PACKET *)
int fn_NetSim_UDP_FreePacket(NetSim_PACKET *)
Function to free the allocated memory for the UDP packet.
int fn_NetSim_UDP_CopyPacket(NetSim_PACKET *, NetSim_PACKET *)
Function to copy the UDP packet from source to destination.
char * fn_NetSim_UDP_Trace_F(int nSubEvent)
int fn_NetSim_UDP_Receive_User_Datagram()
int fn_NetSim_UDP_Finish()
Function to free the UDP protocol variable and Unload the primitives.
int fn_NetSim_UDP_Configure(void **var)
char * fn_NetSim_UDP_Trace(int nSubEvent)
Return the subevent name with respect to the subevent number for writting event trace.
int fn_NetSim_UDP_Init_F()
int fn_NetSim_UDP_Finish_F()
unsigned short int usnSourcePort
NETSIM_IPAddress szDestIP
struct stru_UDP_Metrics * pstruNextUPD_Metrics
unsigned short int usnDestinationPort