#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/ether.h>
#include <getopt.h>
#include <ctype.h>
#include "../include/ebtables_u.h"
#include <linux/netfilter_bridge/ebt_inat.h>
Macros | |
#define | NAT_S '1' |
#define | NAT_D '1' |
#define | NAT_S_SUB '2' |
#define | NAT_D_SUB '2' |
#define | NAT_S_TARGET '3' |
#define | NAT_D_TARGET '3' |
#define | OPT_ISNAT 0x01 |
#define | OPT_ISNAT_SUB 0x02 |
#define | OPT_ISNAT_TARGET 0x04 |
#define | OPT_IDNAT 0x01 |
#define | OPT_IDNAT_SUB 0x02 |
#define | OPT_IDNAT_TARGET 0x04 |
#define NAT_D '1' |
#define NAT_D_SUB '2' |
#define NAT_D_TARGET '3' |
#define NAT_S '1' |
#define NAT_S_SUB '2' |
#define NAT_S_TARGET '3' |
#define OPT_IDNAT 0x01 |
#define OPT_IDNAT_SUB 0x02 |
#define OPT_IDNAT_TARGET 0x04 |
#define OPT_ISNAT 0x01 |
#define OPT_ISNAT_SUB 0x02 |
#define OPT_ISNAT_TARGET 0x04 |