136 #define TMSTREAM_GETPACKET(s) TMstream_getPacket(TM_ARG s)
char * TMstream_getPacket(TM_ARGDECL stream_t *streamPtr)
Definition: stream.c:294
void stream_free(stream_t *streamPtr)
Definition: stream.c:128
int bool_t
Definition: portable_defns.h:32
static int seed
Definition: mesh.cpp:40
#define TM_ARGDECL
Definition: tm.h:532
long stream_generate(stream_t *streamPtr, dictionary_t *dictionaryPtr, long numFlow, long seed, long maxLength)
Definition: stream.c:205
stream_t * stream_alloc(long percentAttack)
Definition: stream.c:101
bool_t stream_isAttack(stream_t *streamPtr, long flowId)
Definition: stream.c:305
char * stream_getPacket(stream_t *streamPtr)
Definition: stream.c:282
long percentAttack
Definition: stream.c:88