NetSim Source Code Help
Loading...
Searching...
No Matches
CLIInterface.c File Reference
#include "main.h"
#include "OpenFlow.h"
#include "CLIInterface.h"
Include dependency graph for CLIInterface.c:

Go to the source code of this file.

Data Structures

struct  stru_multArgs
 

Typedefs

typedef struct stru_multArgs MULTARG
 
typedef struct stru_multArgsptrMULTARG
 

Functions

void openFlow_saveHandle (NETSIM_ID d, UINT id, void *handle)
 
ptrHANDLEINFO openFlow_getHandle (NETSIM_ID d, UINT id)
 
static bool validate_input (CLIHANDLE handle, ptrCOMMANDARRAY cmd)
 
bool openflow_multiple_response_handler (ptrMULTARG arg, char *msg, int len, bool isMore)
 
void handle_cli_input ()
 
char * openFlow_execute_command (void *handle, NETSIM_ID d, UINT id, int *len, bool *isMore)
 
void openFlow_print_response (NETSIM_ID d, UINT id, void *msg, int len, bool isMore)
 

Typedef Documentation

◆ MULTARG

typedef struct stru_multArgs MULTARG

◆ ptrMULTARG

typedef struct stru_multArgs * ptrMULTARG

Function Documentation

◆ handle_cli_input()

void handle_cli_input ( )

Definition at line 115 of file CLIInterface.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openFlow_execute_command()

char * openFlow_execute_command ( void *  handle,
NETSIM_ID  d,
UINT  id,
int *  len,
bool *  isMore 
)

Definition at line 159 of file CLIInterface.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openFlow_getHandle()

ptrHANDLEINFO openFlow_getHandle ( NETSIM_ID  d,
UINT  id 
)

Definition at line 39 of file CLIInterface.c.

Here is the caller graph for this function:

◆ openflow_multiple_response_handler()

bool openflow_multiple_response_handler ( ptrMULTARG  arg,
char *  msg,
int  len,
bool  isMore 
)

Definition at line 91 of file CLIInterface.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openFlow_print_response()

void openFlow_print_response ( NETSIM_ID  d,
UINT  id,
void *  msg,
int  len,
bool  isMore 
)

Definition at line 167 of file CLIInterface.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openFlow_saveHandle()

void openFlow_saveHandle ( NETSIM_ID  d,
UINT  id,
void *  handle 
)

Definition at line 18 of file CLIInterface.c.

Here is the caller graph for this function:

◆ validate_input()

static bool validate_input ( CLIHANDLE  handle,
ptrCOMMANDARRAY  cmd 
)
static

Definition at line 64 of file CLIInterface.c.

Here is the call graph for this function:
Here is the caller graph for this function: