#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <errno.h>
#include "include/ebtables_u.h"
Macros | |
#define | OPT_KERNELDATA 0x800 /* Also defined in ebtables.c */ |
#define | OPEN_METHOD_FILE 1 |
#define | OPEN_METHOD_KERNEL 2 |
Functions | |
void | ebt_early_init_once () |
int | main (int argc_, char *argv_[]) |
#define OPEN_METHOD_FILE 1 |
Referenced by main().
#define OPEN_METHOD_KERNEL 2 |
Referenced by main().
#define OPT_KERNELDATA 0x800 /* Also defined in ebtables.c */ |
Referenced by main().
void ebt_early_init_once | ( | ) |
References ebt_iterate_matches(), ebt_iterate_targets(), and ebt_iterate_watchers().
Referenced by main().
int main | ( | int | argc_, |
char * | argv_[] | ||
) |
References ebt_u_replace::command, do_command(), ebt_cleanup_replace(), ebt_deliver_counters(), ebt_deliver_table(), ebt_early_init_once(), ebt_errormsg, ebt_get_kernel_table(), ebt_print_error, ebt_reinit_extensions(), ebt_silent, EXEC_STYLE_DAEMON, ebt_u_replace::filename, ebt_u_replace::flags, flags, ebt_u_replace::name, name, NULL, ebt_u_replace::num_counters, OPEN_METHOD_FILE, OPEN_METHOD_KERNEL, and OPT_KERNELDATA.