netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nfnl_osf.c File Reference
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <sys/time.h>
#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <time.h>
#include <unistd.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <linux/connector.h>
#include <linux/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/unistd.h>
#include <libnfnetlink/libnfnetlink.h>
#include <linux/netfilter/nfnetlink.h>
#include <linux/netfilter/xt_osf.h>
Include dependency graph for nfnl_osf.c:

Macros

#define OPTDEL   ','
 
#define OSFPDEL   ':'
 
#define MAXOPTSTRLEN   128
 
#define NIPQUAD(addr)
 
#define ulog_err(f, a...)   uloga(f ": %s [%d].\n", ##a, strerror(errno), errno)
 
#define NFNL_SUBSYS_OSF   5
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

#define MAXOPTSTRLEN   128
#define NFNL_SUBSYS_OSF   5

Referenced by main().

#define NIPQUAD (   addr)
Value:
((unsigned char *)&addr)[0], \
((unsigned char *)&addr)[1], \
((unsigned char *)&addr)[2], \
((unsigned char *)&addr)[3]
#define OPTDEL   ','
#define OSFPDEL   ':'
#define ulog_err (   f,
  a... 
)    uloga(f ": %s [%d].\n", ##a, strerror(errno), errno)

Referenced by main().

Function Documentation

int main ( int  argc,
char *  argv[] 
)

References nfnl_close(), nfnl_open(), nfnl_subsys_close(), nfnl_subsys_open(), NFNL_SUBSYS_OSF, NULL, OSF_MSG_MAX, and ulog_err.

Here is the call graph for this function: