netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
communication.c File Reference
#include <getopt.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/socket.h>
#include "include/ebtables_u.h"
Include dependency graph for communication.c:

Macros

#define sparc_cast
 

Functions

void ebt_deliver_table (struct ebt_u_replace *u_repl)
 
void ebt_deliver_counters (struct ebt_u_replace *u_repl)
 
int ebt_get_table (struct ebt_u_replace *u_repl, int init)
 

Variables

char * hooknames [NF_BR_NUMHOOKS]
 
int sockfd = -1
 

Macro Definition Documentation

#define sparc_cast

Referenced by ebt_deliver_counters().

Function Documentation

void ebt_deliver_table ( struct ebt_u_replace u_repl)

References ebt_u_replace::command, ebt_print_error, EBT_SO_SET_ENTRIES, ebtables_insmod(), ebt_replace::entries, ebt_u_replace::filename, NULL, and sockfd.

Referenced by do_command(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

char* hooknames[NF_BR_NUMHOOKS]

Referenced by TC_INIT().