#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>
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 [] |
bool ipset_match_cmd | ( | const char * | arg, |
const char *const | name[] | ||
) |
References IPSET_CMD_ALIASES, len, NULL, and STRNEQ.
Referenced by parse_commandline().
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
Shift off the argument at "from" from the array of arguments argv of size argc.
Referenced by parse_commandline().
const struct ipset_commands ipset_commands[] |
const struct ipset_envopts ipset_envopts[] |