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

Go to the source code of this file.

Functions

static void execute_acl_status_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d, bool status)
 
void execute_acl_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d)
 
bool validate_acl_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index)
 
void execute_aclconfig_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d)
 
static bool isProto (char *s)
 
bool validate_aclconfig_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index)
 
void execute_prompt_aclconfig_command (ptrCLIENTINFO info, ptrCOMMANDARRAY command, int index, NETSIM_ID d)
 

Function Documentation

◆ execute_acl_command()

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

Definition at line 35 of file ACLCommand.c.

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

◆ execute_acl_status_command()

static void execute_acl_status_command ( ptrCLIENTINFO  info,
ptrCOMMANDARRAY  command,
int  index,
NETSIM_ID  d,
bool  status 
)
static

Definition at line 20 of file ACLCommand.c.

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

◆ execute_aclconfig_command()

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

Definition at line 59 of file ACLCommand.c.

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

◆ execute_prompt_aclconfig_command()

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

Definition at line 139 of file ACLCommand.c.

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

◆ isProto()

static bool isProto ( char *  s)
static

Definition at line 83 of file ACLCommand.c.

Here is the caller graph for this function:

◆ validate_acl_command()

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

Definition at line 49 of file ACLCommand.c.

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

◆ validate_aclconfig_command()

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

Definition at line 95 of file ACLCommand.c.

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