From 8f0c4bd1eabe097809359ece7b1e6168ab22108a Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 25 Oct 2019 17:26:41 +0200 Subject: xtables-arp: Drop some unused variables Signed-off-by: Phil Sutter Acked-by: Pablo Neira Ayuso --- iptables/xtables-arp.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'iptables') diff --git a/iptables/xtables-arp.c b/iptables/xtables-arp.c index 8339b2cb..bbc1ceb6 100644 --- a/iptables/xtables-arp.c +++ b/iptables/xtables-arp.c @@ -53,10 +53,6 @@ #include "nft-arp.h" #include -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 */ /***********************************************/ -- cgit v1.2.3