netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libxt_multiport.c File Reference
#include <stdio.h>
#include <netdb.h>
#include <string.h>
#include <stdlib.h>
#include <xtables.h>
#include <limits.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/netfilter/xt_multiport.h>
Include dependency graph for libxt_multiport.c:

Enumerations

enum  {
  O_SOURCE_PORTS = 0,
  O_DEST_PORTS,
  O_SD_PORTS,
  F_SOURCE_PORTS = 1 << O_SOURCE_PORTS,
  F_DEST_PORTS = 1 << O_DEST_PORTS,
  F_SD_PORTS = 1 << O_SD_PORTS,
  F_ANY = F_SOURCE_PORTS | F_DEST_PORTS | F_SD_PORTS
}
 

Functions

void _init (void)
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_SOURCE_PORTS 
O_DEST_PORTS 
O_SD_PORTS 
F_SOURCE_PORTS 
F_DEST_PORTS 
F_SD_PORTS 
F_ANY 

Function Documentation

void _init ( void  )

References ARRAY_SIZE, and xtables_register_matches().

Here is the call graph for this function: