#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
#include "../include/ebtables_u.h"
#include "../include/ethernetdb.h"
#include <linux/if_ether.h>
#include <linux/netfilter_bridge/ebt_arp.h>
Macros | |
#define | ARP_OPCODE '1' |
#define | ARP_HTYPE '2' |
#define | ARP_PTYPE '3' |
#define | ARP_IP_S '4' |
#define | ARP_IP_D '5' |
#define | ARP_MAC_S '6' |
#define | ARP_MAC_D '7' |
#define | ARP_GRAT '8' |
#define | NUMOPCODES 9 |
#define | OPT_OPCODE 0x01 |
#define | OPT_HTYPE 0x02 |
#define | OPT_PTYPE 0x04 |
#define | OPT_IP_S 0x08 |
#define | OPT_IP_D 0x10 |
#define | OPT_MAC_S 0x20 |
#define | OPT_MAC_D 0x40 |
#define | OPT_GRAT 0x80 |
Functions | |
void | _init (void) |
#define ARP_GRAT '8' |
#define ARP_HTYPE '2' |
#define ARP_IP_D '5' |
#define ARP_IP_S '4' |
#define ARP_MAC_D '7' |
#define ARP_MAC_S '6' |
#define ARP_OPCODE '1' |
#define ARP_PTYPE '3' |
#define NUMOPCODES 9 |
#define OPT_GRAT 0x80 |
#define OPT_HTYPE 0x02 |
#define OPT_IP_D 0x10 |
#define OPT_IP_S 0x08 |
#define OPT_MAC_D 0x40 |
#define OPT_MAC_S 0x20 |
#define OPT_OPCODE 0x01 |
#define OPT_PTYPE 0x04 |
void _init | ( | void | ) |