A Discrete-Event Network Simulator
API
sim_interface.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IInterruptCallback
 Struct interface to NSC soft interrupt capabilities. More...
 
struct  INetDatagramSocket
 Struct interface to NSC Datagram (i.e., UDP) Sockets. More...
 
struct  INetStack
 Struct interface to NSC stack. More...
 
struct  INetStreamSocket
 Struct interface to NSC Stream (i.e., TCP) Sockets. More...
 
struct  ISendCallback
 Struct interface to NSC send capabilities. More...
 

Macros

#define CREATE_STACK_FUNC(a, b, c)
 
#define NSC_VERSION   0x000500
 

Typedefs

typedef INetStack *(* FCreateStack) (ISendCallback *, IInterruptCallback *, FRandom)
 
typedef int(* FRandom) ()
 

Macro Definition Documentation

◆ CREATE_STACK_FUNC

#define CREATE_STACK_FUNC (   a,
  b,
 
)
Value:
extern "C" INetStack *nsc_create_stack ( \
Struct interface to NSC send capabilities.
int(* FRandom)()
Struct interface to NSC stack.
Definition: sim_interface.h:31
Struct interface to NSC soft interrupt capabilities.

Definition at line 433 of file sim_interface.h.

◆ NSC_VERSION

#define NSC_VERSION   0x000500

Definition at line 25 of file sim_interface.h.

Typedef Documentation

◆ FCreateStack

typedef INetStack*(* FCreateStack) (ISendCallback *, IInterruptCallback *, FRandom)

Definition at line 430 of file sim_interface.h.

◆ FRandom

typedef int(* FRandom) ()

Definition at line 429 of file sim_interface.h.