NetSim Source Code Help
Loading...
Searching...
No Matches
RouteCommand.c File Reference
#include "main.h"
#include <signal.h>
#include "CLI.h"
#include "../IP/IP.h"
Include dependency graph for RouteCommand.c:

Go to the source code of this file.

Functions

static bool validate_route_add_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index)
 
static bool validate_route_delete_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index)
 
bool validate_route_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index)
 
static void execute_route_add_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d)
 
static void execute_route_print_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d)
 
static void execute_route_delete_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d)
 
void execute_route_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d)
 

Function Documentation

◆ execute_route_add_command()

static void execute_route_add_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index,
NETSIM_ID  d 
)
static

Definition at line 57 of file RouteCommand.c.

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

◆ execute_route_command()

void execute_route_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index,
NETSIM_ID  d 
)

Definition at line 150 of file RouteCommand.c.

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

◆ execute_route_delete_command()

static void execute_route_delete_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index,
NETSIM_ID  d 
)
static

Definition at line 139 of file RouteCommand.c.

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

◆ execute_route_print_command()

static void execute_route_print_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index,
NETSIM_ID  d 
)
static

Definition at line 90 of file RouteCommand.c.

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

◆ validate_route_add_command()

static bool validate_route_add_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index 
)
static

Definition at line 19 of file RouteCommand.c.

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

◆ validate_route_command()

bool validate_route_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index 
)

Definition at line 35 of file RouteCommand.c.

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

◆ validate_route_delete_command()

static bool validate_route_delete_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index 
)
static

Definition at line 27 of file RouteCommand.c.

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