NetSim Source Code Help
Loading...
Searching...
No Matches
Application.h
Go to the documentation of this file.
1/************************************************************************************
2* Copyright (C) 2021 *
3* TETCOS, Bangalore. India *
4* *
5* Tetcos owns the intellectual property rights in the Product and its content. *
6* The copying, redistribution, reselling or publication of any or all of the *
7* Product or its content without express prior written consent of Tetcos is *
8* prohibited. Ownership and / or any other right relating to the software and all *
9* intellectual property rights therein shall remain at all times with Tetcos. *
10* *
11* This source code is licensed per the NetSim license agreement. *
12* *
13* No portion of this source code may be used as the basis for a derivative work, *
14* or used, for any purpose other than its intended use per the NetSim license *
15* agreement. *
16* *
17* This source code and the algorithms contained within it are confidential trade *
18* secrets of TETCOS and may not be used as the basis for any other software, *
19* hardware, product or service. *
20* *
21* Author: Shashi Kant Suman *
22* *
23* ----------------------------------------------------------------------------------*/
24#ifndef _NETSIM_APPLICATION_H_
25#define _NETSIM_APPLICATION_H_
26
27 //#define AES_ENCRYPT
28 //#define DES_ENCRYPT
29
30
31#include "main.h"
32#include "Stack.h"
33#define roundoff(d) ((long)(d+0.5))
34#define MAX_TTL 255
35#define MAX_PORT 65535
36
37#define VANET_APP_RANDOM_WAIT_TIME_DEFAULT 5*MILLISECOND // SAE j2735
38#define RANDOM_STARTUP_DELAY 0.1*SECOND
39
40unsigned int nApplicationCount;
41
51/// Enumeration for application events
52typedef enum
53{
58
59typedef enum
60{
67
68/// Enumeration for application control packets
69typedef enum
70{
74
75/// Enumeration for application state.
76typedef enum
77{
82
83/// Structure to store socket information
85{
93};
94#define SOCKETINFO_ALLOC() (struct stru_SocketInfo*)list_alloc(sizeof(struct stru_SocketInfo),offsetof(struct stru_SocketInfo,ele))
95/// Structure to store application information
97{
98 //config variable
103 unsigned int nSourceCount;
104 unsigned int nDestCount;
108 double dEndTime;
110 char* name;
115
116 unsigned long long int nPacketId;
121 void* appData;
122
125
126 //Broadcast Application
128 unsigned int* recvPort;
129
130 //Startup delay
132
133 //Multicast application
137
138/// Structure for Data information such as packet size and inter arrival time,this is applicable for custom,FTP,Database Traffic
140{
142 double* dPacketSize;
144 double* dIAT;
145};
146
147/// Structure for Data information such as packet size and inter arrival time,this is applicable for Vanet application
149{
151 double* dPacketSize;
153 double* dIAT;
156
157/// Structure for voice information such as packet size, inter arrival time and service type,this is applicable for voice traffic
159{
163 double dIAT;
166 /*for Deterministic*/
168 /*For Markov*/
169 int nTSL;//Talk spurt length
170 double dSAF;//Speech activity factor
171};
172
173/* Enumerator for video model*/
174typedef enum
175{
193static const char* strVIDEOMODEL[] = {"","INDEPENDENT_GAUSSIAN",
194"FIRST_ORDER_DEPENDENT_GAUSSIAN", "H_261", "H_263","MPEG1_Low_Res",
195"MPEG1_High_Res","MPEG2_Low_Res","MPEG2_High_Res","BUFFERED_VIDEO_STREAMING_1",
196"BUFFERED_VIDEO_STREAMING_2","BUFFERED_VIDEO_STREAMING_3",
197"BUFFERED_VIDEO_STREAMING_4","BUFFERED_VIDEO_STREAMING_5",
198"BUFFERED_VIDEO_STREAMING_6","Unknown"};
199
200/// structure to store the video application information
202{
204 int fps;
205 int ppf;
206 double mu;
207 double sigma;
208 double const_a;
209 double const_b;
210 double eta;
211
213 double* dPacketSizeArgs; /* Mean packet size for Exponential and constant distribution
214 * Scale and Shape parameter for Weibull distrinution
215 */
216
218 double dIATArgs; // Mean IAT for Exponential and constant distribution
219};
220///Structure to store the emulation application information
222{
234
235 //Only for fast emulation
236 char* protocol;
239};
240/// Structure to store the HTTP application information
242{
243 double pageIAT;
245 unsigned int pageCount;
246 double pageSize;
248};
249
250/// Structure to store the COAP application information
251
253{
254 double pageIAT;
256 double pageSize;
260 int variableResponseTime; //in miliseconds
261 int piggybackedTime; //in miliseconds
262 int ackResponseTime; //in milliseconds
263 int ackTimeOut; //in milliseconds
269
271};
272
273/// Structure to store email application information
275{
277 {
278 double dDuration;
283};
284
285/// Structure for Seeder list of peer_to_peer traffic
287{
289 unsigned int nSeederCount;
292/// Structure for peer list of peer_to_peer traffic
294{
296 unsigned int yetToReceiveCount;
297 unsigned int* flag;
299/// Structure fot peer_to_peer application
301{
302 double dFileSize;
305
306 unsigned int nPieceCount; //Pieces count
308 SEEDER_LIST** seederList; //For each pieces
309 PEER_LIST** peerList; //For each peers
310};
311/// Structure for Erlang_call application
313{
317 double dCallIAT;
319 double **dCallEndTime;
322
323 unsigned long long int** nEventId;
324 unsigned long long int** nAppoutevent;
325 int(*fn_BlockCall)(ptrAPPLICATION_INFO appInfo, NETSIM_ID nSourceId, NETSIM_ID nDestinationId, double time);
326};
327
328//For Email.c
329typedef struct stru_email_detail
330{
331 int type;
334
335#include "NetSim_Plot.h"
336//Statistics
342
344 double ldArrivalTime,
345 NETSIM_ID nSourceId,
346 UINT destCount,
347 NETSIM_ID* nDestination,
348 unsigned long long int nPacketId,
349 APPLICATION_TYPE nAppType,
351 unsigned int sourcePort,
352 unsigned int destPort);
353
355 NETSIM_ID nSource,
356 UINT destCount,
357 NETSIM_ID* nDestination,
358 double time);
359
360/* Distribution Function */
361_declspec(dllexport) int fnDistribution(DISTRIBUTION nDistributionType, double *fDistOut,
362 unsigned long *uSeed, unsigned long *uSeed1, double* args);
363
364/* Random number generator */
365_declspec(dllexport) int fnRandomNo(long lm, double *fRandNo, unsigned long *uSeed, unsigned long *uSeed1);
366
367/* HTTP Application */
371
372/* COAP Application*/
376
377/* Video Application */
381 double* fPacketSize,
382 double* ldArrival,
383 unsigned long* uSeed,
384 unsigned long* uSeed1);
385//Functions for Video Models H_261, H_263, MPEG1_M, MPEG1_H, MPEG2_M, MPEG2_H
386
388 double* fPacketSize,
389 double* ldArrival,
390 unsigned long* uSeed,
391 unsigned long* uSeed1);
393
394/* Voice Application */
398 double* fSize,
399 double* ldArrival,
400 unsigned long* uSeed,
401 unsigned long* uSeed1);
402
403/* Peer To Peer Application */
411
412/* Email Application */
417
418/* Custom, FTP, Database Application */
424 double* fSize,
425 double* ldArrival,
426 unsigned long* uSeed,
427 unsigned long* uSeed1,
428 unsigned long* uSeed2,
429 unsigned long* uSeed3);
430
431/* Erlang Call */
436
437/* Emulation */
440
441/* Vanet Application*/
444 double* fSize,
445 double* ldArrival,
446 unsigned long* uSeed,
447 unsigned long* uSeed1,
448 unsigned long* uSeed2,
449 unsigned long* uSeed3);
452
453//Multicast
455void join_multicast_group(ptrAPPLICATION_INFO info, double time);
456
457
458/* Application API's */
466 NETSIM_ID nSourceId,
467 NETSIM_ID nSourcePort,
468 NETSIM_ID nDestPort);
469
470//Application metrics
475
476
477//Application Interface function
481
483
484//Encryption
485char xor_encrypt(char ch, long key);
486int aes256(char* str, int* len);
487int des(char* buf, int* len);
488
489//Application event handler
490void handle_app_out();
491
492#endif
unsigned int NETSIM_ID
Definition: Animation.h:45
void P2P_create_socket(ptrAPPLICATION_INFO appInfo, NETSIM_ID src, NETSIM_ID dest)
char xor_encrypt(char ch, long key)
Definition: Encryption.c:19
void add_multicast_route(ptrAPPLICATION_INFO info)
ptrAPPLICATION_INFO get_email_app_info(void *detail)
int fn_NetSim_Application_StartVoiceAPP(ptrAPPLICATION_INFO appInfo, double time)
int fn_NetSim_Application_GenerateNextPacket(ptrAPPLICATION_INFO appInfo, NETSIM_ID nSource, UINT destCount, NETSIM_ID *nDestination, double time)
Definition: Application.c:377
bool nApplicationThroughputPlotRealTime
Definition: Application.h:339
int fn_NetSim_Application_StartErlangCallAPP(ptrAPPLICATION_INFO appInfo, double time)
void fn_NetSim_Emulation_StartApplication(ptrAPPLICATION_INFO appInfo)
int fn_NetSim_Application_StartP2PAPP(ptrAPPLICATION_INFO appInfo, double time)
struct stru_Application_P2P_SeederList SEEDER_LIST
Structure for Seeder list of peer_to_peer traffic.
APP_CONTROL_PACKET
Enumeration for application control packets.
Definition: Application.h:70
@ packet_COAP_REQUEST
Definition: Application.h:72
@ packet_HTTP_REQUEST
Definition: Application.h:71
int fn_NetSim_Application_StartBSM(ptrAPPLICATION_INFO appInfo, double time)
Definition: BSM.c:43
NetSim_PACKET * fn_NetSim_Application_GeneratePacket(ptrAPPLICATION_INFO info, double ldArrivalTime, NETSIM_ID nSourceId, UINT destCount, NETSIM_ID *nDestination, unsigned long long int nPacketId, APPLICATION_TYPE nAppType, QUALITY_OF_SERVICE nQOS, unsigned int sourcePort, unsigned int destPort)
Definition: Application.c:311
int fn_NetSim_Application_BSM(PAPP_BSM_INFO info, double *fSize, double *ldArrival, unsigned long *uSeed, unsigned long *uSeed1, unsigned long *uSeed2, unsigned long *uSeed3)
Definition: BSM.c:16
int fn_NetSim_Application_StartHTTPAPP(ptrAPPLICATION_INFO appInfo, double time)
ptrAPPLICATION_INFO * applicationInfo
Definition: Application.h:136
int fn_NetSim_Application_P2P_InitPeers(ptrAPPLICATION_INFO appInfo)
int fn_NetSim_Application_P2P_GenerateFile(ptrAPPLICATION_INFO appInfo)
void appmetrics_src_add(ptrAPPLICATION_INFO appInfo, _In_ NetSim_PACKET *packet)
int fn_NetSim_TrafficGenerator_Video(APP_VIDEO_INFO *info, double *fPacketSize, double *ldArrival, unsigned long *uSeed, unsigned long *uSeed1)
int fn_NetSim_Application_COAP_ProcessRequest(ptrAPPLICATION_INFO pstruappinfo, NetSim_PACKET *pstruPacket)
Definition: CoAP.c:210
int fn_NetSim_Application_StartCOAPAPP(ptrAPPLICATION_INFO appInfo, double time)
Definition: CoAP.c:170
VIDEOMODEL
Definition: Application.h:175
@ VidModel_BUFFERED_VIDEO_STREAMING_4
Definition: Application.h:188
@ VidModel_BUFFERED_VIDEO_STREAMING_6
Definition: Application.h:190
@ VidModel_FIRST_ORDER_DEPENDENT_GAUSSIAN
Definition: Application.h:178
@ VidModel_BUFFERED_VIDEO_STREAMING_2
Definition: Application.h:186
@ VidModel_H_263
Definition: Application.h:180
@ VidModel_LAST
Definition: Application.h:191
@ VidModel_MPEG2_High_Res
Definition: Application.h:184
@ VidModel_MPEG2_Low_Res
Definition: Application.h:183
@ VidModel_BUFFERED_VIDEO_STREAMING_1
Definition: Application.h:185
@ VidModel_MPEG1_High_Res
Definition: Application.h:182
@ VidModel_NULL
Definition: Application.h:176
@ VidModel_MPEG1_Low_Res
Definition: Application.h:181
@ VidModel_BUFFERED_VIDEO_STREAMING_5
Definition: Application.h:189
@ VidModel_INDEPENDENT_GAUSSIAN
Definition: Application.h:177
@ VidModel_H_261
Definition: Application.h:179
@ VidModel_BUFFERED_VIDEO_STREAMING_3
Definition: Application.h:187
int fn_NetSim_Application_HTTP_ProcessRequest(ptrAPPLICATION_INFO pstruappinfo, NetSim_PACKET *pstruPacket)
int fn_NetSim_Application_ErlangCall_StartCall(NetSim_EVENTDETAILS *pstruEventDetails)
int fn_NetSim_Application_StartVideoAPP(ptrAPPLICATION_INFO appInfo, double time)
int fn_NetSim_Application_ErlangCall_EndCall(NetSim_EVENTDETAILS *pstruEventDetails)
int fn_NetSim_Application_P2P_SendNextPiece(ptrAPPLICATION_INFO appInfo, NETSIM_ID destination, double time)
struct stru_Application_Info APPLICATION_INFO
Structure to store application information.
int fnCreateSocketBuffer(ptrAPPLICATION_INFO appInfo)
void handle_app_out()
Definition: APP_OUT.c:170
char * szApplicationThroughputPlotVal
Definition: Application.h:338
int fn_NetSim_Application_P2P_MarkReceivedPacket(ptrAPPLICATION_INFO pstruappinfo, NetSim_PACKET *pstruPacket)
static const char * strVIDEOMODEL[]
Definition: Application.h:193
PACKET_TYPE fn_NetSim_Application_GetPacketTypeBasedOnApplicationType(APPLICATION_TYPE nAppType)
APP_STATE
Enumeration for application state.
Definition: Application.h:77
@ appState_Paused
Definition: Application.h:79
@ appState_Started
Definition: Application.h:78
@ appState_Terminated
Definition: Application.h:80
struct stru_email_detail DETAIL
int fn_NetSim_Application_Configure_F(void **var)
unsigned int nApplicationCount
Definition: Application.h:40
int fn_NetSim_TrafficGenerator_Custom(APP_DATA_INFO *info, double *fSize, double *ldArrival, unsigned long *uSeed, unsigned long *uSeed1, unsigned long *uSeed2, unsigned long *uSeed3)
int fn_NetSim_Application_StartDataAPP(ptrAPPLICATION_INFO appInfo, double time)
int fn_NetSim_Application_ConfigureP2PTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
int fn_NetSim_Application_ConfigureVoiceTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
int fn_NetSim_TrafficGenerator_Voice(APP_VOICE_INFO *info, double *fSize, double *ldArrival, unsigned long *uSeed, unsigned long *uSeed1)
void join_multicast_group(ptrAPPLICATION_INFO info, double time)
int fnDistribution(DISTRIBUTION nDistributionType, double *fDistOut, unsigned long *uSeed, unsigned long *uSeed1, double *args)
Definition: Distribution.c:17
struct stru_Application_BSMInfo APP_BSM_INFO
Structure for Data information such as packet size and inter arrival time,this is applicable for Vane...
void fnCreatePort(ptrAPPLICATION_INFO info)
int fn_NetSim_App_RestartApplication()
int fn_NetSim_Application_ConfigureVideoTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
struct stru_Application_Info * ptrAPPLICATION_INFO
int fn_NetSim_Application_ConfigureDatabaseTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
void appmetrics_dest_add(ptrAPPLICATION_INFO appInfo, NetSim_PACKET *packet, NETSIM_ID dest)
ENCRYPTION
Definition: Application.h:60
@ Encryption_TEA
Definition: Application.h:63
@ Encryption_None
Definition: Application.h:61
@ Encryption_DES
Definition: Application.h:65
@ Encryption_AES
Definition: Application.h:64
@ Encryption_XOR
Definition: Application.h:62
int fn_NetSim_Application_ConfigureHTTPTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
int fn_NetSim_TrafficGenerator_MPEGVideo(APP_VIDEO_INFO *info, double *fPacketSize, double *ldArrival, unsigned long *uSeed, unsigned long *uSeed1)
ptrAPPLICATION_INFO fn_NetSim_Application_Email_GenerateNextPacket(DETAIL *detail, NETSIM_ID nSourceId, NETSIM_ID nDestinationId, double time)
int fnRandomNo(long lm, double *fRandNo, unsigned long *uSeed, unsigned long *uSeed1)
Definition: RandomNumber.c:19
int fn_NetSim_Application_ConfigureDataTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
int des(char *buf, int *len)
Definition: des_run.c:21
int fn_NetSim_Application_StartEmailAPP(ptrAPPLICATION_INFO appInfo, double time)
int fn_NetSim_Application_ConfigureCOAPTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
Definition: CoAP.c:37
struct stru_Application_BSMInfo * PAPP_BSM_INFO
int fn_NetSim_Application_ConfigureEmulationTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
int fn_NetSim_Application_Metrics_F(PMETRICSWRITER metricsWriter)
int fn_NetSim_Application_P2P_InitSeederList(ptrAPPLICATION_INFO appInfo)
bool * nAppPlotFlag
Definition: Application.h:341
PNETSIMPLOT * applicationThroughputPlots
Definition: Application.h:340
int fn_NetSim_Application_Init_F()
bool add_sae_j2735_payload(NetSim_PACKET *packet, ptrAPPLICATION_INFO info)
Definition: BSM.c:104
bool nApplicationThroughputPlotFlag
Definition: Application.h:337
APP_EVENT
Enumeration for application events.
Definition: Application.h:53
@ event_APP_START
Definition: Application.h:54
@ event_APP_RESTART
Definition: Application.h:56
@ event_APP_END
Definition: Application.h:55
int fn_NetSim_Application_ConfigureFTPTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
int fn_NetSim_Add_DummyPayload(NetSim_PACKET *packet, ptrAPPLICATION_INFO)
Definition: Application.c:641
struct stru_Application_p2P_PeerList PEER_LIST
Structure for peer list of peer_to_peer traffic.
int fn_NetSim_Application_ConfigureEmailTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
int fn_NetSim_Application_Plot(NetSim_PACKET *pstruPacket)
int fn_NetSim_Application_ConfigureMPEGVideo(APP_VIDEO_INFO *info, void *xmlNetSimNode)
void free_app_metrics(ptrAPPLICATION_INFO appInfo)
int aes256(char *str, int *len)
Definition: aes_run.c:28
ptrSOCKETINTERFACE fnGetSocket(NETSIM_ID nAppId, NETSIM_ID nSourceId, NETSIM_ID nSourcePort, NETSIM_ID nDestPort)
int fn_NetSim_Application_ConfigureErlangCallTraffic(ptrAPPLICATION_INFO appInfo, void *xmlNetSimNode)
void process_saej2735_packet(NetSim_PACKET *packet)
Definition: BSM.c:111
#define UINT
Definition: Linux.h:38
#define _declspec(dllexport)
This function is used to trigger the update.
Definition: Linux.h:41
#define UINT16
Definition: Linux.h:33
void * PMETRICSWRITER
Definition: MetricsWriter.h:27
enum enum_ApplicationType APPLICATION_TYPE
#define PROTOCOL_APPLICATION
Definition: Stack.h:143
EXPORTED struct stru_NetSim_EventDetails * pstruEventDetails
Definition: Stack.h:837
enum enum_TransmissionType TRANSMISSION_TYPE
Definition: main.h:144
enum enum_Packet_QOS QUALITY_OF_SERVICE
Definition: main.h:127
enum enum_Distribution DISTRIBUTION
Definition: main.h:122
enum enum_ServiceType SERVICE_TYPE
Definition: main.h:125
enum enum_PacketType PACKET_TYPE
Definition: main.h:123
enum enum_SuppressionModel SUPPRESSION_MODEL
Definition: main.h:124
enum enum_TrxProtocol TRANSPORT_LAYER_PROTOCOL
Definition: main.h:132
enum enum_AppProtocol APPLICATION_LAYER_PROTOCOL
Definition: main.h:131
Definition: List.h:43
Structure for Data information such as packet size and inter arrival time,this is applicable for Vane...
Definition: Application.h:149
DISTRIBUTION IATDistribution
Definition: Application.h:152
DISTRIBUTION packetSizeDistribution
Definition: Application.h:150
Structure to store the COAP application information.
Definition: Application.h:253
DISTRIBUTION pageIATDistribution
Definition: Application.h:255
struct stru_NetSim_COAP_data * pCOAPData
Definition: Application.h:270
DISTRIBUTION pageSizeDistribution
Definition: Application.h:257
Structure for Erlang_call application.
Definition: Application.h:313
DISTRIBUTION callDurationDistribution
Definition: Application.h:314
unsigned long long int ** nEventId
Definition: Application.h:323
DISTRIBUTION callIATDistribution
Definition: Application.h:316
NetSim_PACKET *** nextPacket
Definition: Application.h:320
APP_VOICE_INFO VoiceInfo
Definition: Application.h:321
int(* fn_BlockCall)(ptrAPPLICATION_INFO appInfo, NETSIM_ID nSourceId, NETSIM_ID nDestinationId, double time)
Definition: Application.h:325
unsigned long long int ** nAppoutevent
Definition: Application.h:324
Structure for Data information such as packet size and inter arrival time,this is applicable for cust...
Definition: Application.h:140
DISTRIBUTION IATDistribution
Definition: Application.h:143
DISTRIBUTION packetSizeDistribution
Definition: Application.h:141
Structure to store email application information.
Definition: Application.h:275
struct stru_Application_EMAILInfo::stru_emailinfo SEND
struct stru_Application_EMAILInfo::stru_emailinfo RECEIVE
Structure to store the emulation application information.
Definition: Application.h:222
NETSIM_IPAddress * realSourceIP
Definition: Application.h:230
NETSIM_IPAddress * simSourceIP
Definition: Application.h:232
Structure to store the HTTP application information.
Definition: Application.h:242
DISTRIBUTION pageIATDistribution
Definition: Application.h:244
DISTRIBUTION pageSizeDistribution
Definition: Application.h:247
Structure to store application information.
Definition: Application.h:97
NETSIM_ID * destList
Definition: Application.h:106
NETSIM_IPAddress multicastDestIP
Definition: Application.h:134
unsigned int * recvPort
Definition: Application.h:128
APPLICATION_TYPE nAppType
Definition: Application.h:102
APPLICATION_LAYER_PROTOCOL protocol
Definition: Application.h:113
struct stru_SocketInfo * socketInfo
Definition: Application.h:124
TRANSPORT_LAYER_PROTOCOL trxProtocol
Definition: Application.h:112
unsigned int nSourceCount
Definition: Application.h:103
unsigned int nDestCount
Definition: Application.h:104
TRANSMISSION_TYPE nTransmissionType
Definition: Application.h:101
NETSIM_ID * recvList
Definition: Application.h:127
NETSIM_ID applicationInstanceCount
Definition: Application.h:114
unsigned long long int nPacketId
Definition: Application.h:116
QUALITY_OF_SERVICE qos
Definition: Application.h:111
NETSIM_ID * sourceList
Definition: Application.h:105
Structure for Seeder list of peer_to_peer traffic.
Definition: Application.h:287
Structure fot peer_to_peer application.
Definition: Application.h:301
NetSim_PACKET ** pieceList
Definition: Application.h:307
unsigned int nPieceCount
Definition: Application.h:306
SEEDER_LIST ** seederList
Definition: Application.h:308
DISTRIBUTION fizeSizeDistribution
Definition: Application.h:303
structure to store the video application information
Definition: Application.h:202
DISTRIBUTION IATDistribution
Definition: Application.h:217
DISTRIBUTION packetSizeDistribution
Definition: Application.h:212
Structure for voice information such as packet size, inter arrival time and service type,...
Definition: Application.h:159
SUPPRESSION_MODEL nSuppressionModel
Definition: Application.h:165
DISTRIBUTION packetSizeDistribution
Definition: Application.h:160
DISTRIBUTION IATDistribution
Definition: Application.h:162
Structure for peer list of peer_to_peer traffic.
Definition: Application.h:294
Structure to store socket information.
Definition: Application.h:85
NETSIM_ID nSourcePort
Definition: Application.h:89
NETSIM_ID * nDestinationId
Definition: Application.h:88
ptrSOCKETINTERFACE s
Definition: Application.h:91
NETSIM_ID nDestPort
Definition: Application.h:90
NETSIM_ID nSourceId
Definition: Application.h:86
ptrAPPLICATION_INFO appInfo
Definition: Application.h:332