#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include "../include/ebtables_u.h"
#include <netinet/ether.h>
#include <linux/netfilter_bridge/ebt_nat.h>
Macros | |
#define | NAT_S '1' |
#define | NAT_D '1' |
#define | NAT_S_TARGET '2' |
#define | NAT_D_TARGET '2' |
#define | NAT_S_ARP '3' |
#define | OPT_SNAT 0x01 |
#define | OPT_SNAT_TARGET 0x02 |
#define | OPT_SNAT_ARP 0x04 |
#define | OPT_DNAT 0x01 |
#define | OPT_DNAT_TARGET 0x02 |
Functions | |
void | _init (void) |
#define NAT_D '1' |
#define NAT_D_TARGET '2' |
#define NAT_S '1' |
#define NAT_S_ARP '3' |
#define NAT_S_TARGET '2' |
#define OPT_DNAT 0x01 |
#define OPT_DNAT_TARGET 0x02 |
#define OPT_SNAT 0x01 |
#define OPT_SNAT_ARP 0x04 |
#define OPT_SNAT_TARGET 0x02 |
void _init | ( | void | ) |