netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ui.c File Reference
#include <assert.h>
#include <string.h>
#include <libipset/linux_ip_set.h>
#include <libipset/icmp.h>
#include <libipset/icmpv6.h>
#include <libipset/types.h>
#include <libipset/session.h>
#include <libipset/parse.h>
#include <libipset/print.h>
#include <libipset/utils.h>
#include <libipset/ui.h>
Include dependency graph for ui.c:

Functions

bool ipset_match_cmd (const char *arg, const char *const name[])
 
bool ipset_match_option (const char *arg, const char *const name[])
 
bool ipset_match_envopt (const char *arg, const char *const name[])
 
void ipset_shift_argv (int *argc, char *argv[], int from)
 ipset_shift_argv - shift off an argument : argument count : array of argument strings : from where shift off an argument More...
 

Variables

const struct ipset_commands ipset_commands []
 
const struct ipset_envopts ipset_envopts []
 

Function Documentation

bool ipset_match_cmd ( const char *  arg,
const char *const  name[] 
)

References IPSET_CMD_ALIASES, len, NULL, and STRNEQ.

Referenced by parse_commandline().

Here is the caller graph for this function:

bool ipset_match_envopt ( const char *  arg,
const char *const  name[] 
)

References NULL, and STREQ.

Referenced by parse_commandline().

Here is the caller graph for this function:

bool ipset_match_option ( const char *  arg,
const char *const  name[] 
)

References NULL, and STREQ.

void ipset_shift_argv ( int *  argc,
char *  argv[],
int  from 
)

ipset_shift_argv - shift off an argument : argument count : array of argument strings : from where shift off an argument

Shift off the argument at "from" from the array of arguments argv of size argc.

Referenced by parse_commandline().

Here is the caller graph for this function:

Variable Documentation