Signed-off-by: Phil Sutter <phil@xxxxxx> --- iptables/xtables-arp.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c index 8339b2cb6f38c..bbc1ceb6e8e38 100644 --- a/iptables/xtables-arp.c +++ b/iptables/xtables-arp.c @@ -53,10 +53,6 @@ #include "nft-arp.h" #include <linux/netfilter_arp/arp_tables.h> -typedef char arpt_chainlabel[32]; - -#define OPTION_OFFSET 256 - #define NUMBER_OF_OPT 16 static const char optflags[NUMBER_OF_OPT] = { 'n', 's', 'd', 2, 3, 7, 8, 4, 5, 6, 'j', 'v', 'i', 'o', '0', 'c'}; @@ -102,8 +98,6 @@ static struct option original_opts[] = { { 0 } }; -int RUNTIME_NF_ARP_NUMHOOKS = 3; - #define opts xt_params->opts extern void xtables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3))); @@ -137,17 +131,6 @@ static int inverse_for_options[] = /* 6 */ ARPT_INV_ARPPRO, }; -/* Primitive headers... */ -/* defined in netinet/in.h */ -#if 0 -#ifndef IPPROTO_ESP -#define IPPROTO_ESP 50 -#endif -#ifndef IPPROTO_AH -#define IPPROTO_AH 51 -#endif -#endif - /***********************************************/ /* ARPTABLES SPECIFIC NEW FUNCTIONS ADDED HERE */ /***********************************************/ -- 2.23.0