From db5ae6e9d6c0b775ac1b90c31cb64f939cb3c4d9 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Tue, 30 Dec 2003 17:29:23 +0000 Subject: Riccardo Murri : introduce RUNTIME_NF_ARP_NUMHOOKS so arptables can be compiled straight from CVS + add DESTDIR option --- include/libarptc/libarptc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/libarptc') diff --git a/include/libarptc/libarptc.h b/include/libarptc/libarptc.h index b7d3d36..e4f1175 100644 --- a/include/libarptc/libarptc.h +++ b/include/libarptc/libarptc.h @@ -21,6 +21,11 @@ typedef char arpt_chainlabel[32]; #define ARPTC_LABEL_QUEUE "QUEUE" #define ARPTC_LABEL_RETURN "RETURN" + +/* NF_ARP_NUMHOOKS is different on 2.4 and 2.6; hack to support both */ +extern int RUNTIME_NF_ARP_NUMHOOKS; /* boy, this is dirty */ + + /* Transparent handle type. */ typedef struct arptc_handle *arptc_handle_t; -- cgit v1.2.3