From 2f35ed6fbb48972a399c5b56df252d3edcf73809 Mon Sep 17 00:00:00 2001 From: Kjell Wooding Date: Tue, 30 Jan 2001 04:23:57 +0000 Subject: re-add local ipf changes that were whacked in the 3.4.16 merge. userland to follow --- sys/netinet/ip_state.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sys/netinet/ip_state.h') diff --git a/sys/netinet/ip_state.h b/sys/netinet/ip_state.h index a7cbaaac28d..0f28639ffc2 100644 --- a/sys/netinet/ip_state.h +++ b/sys/netinet/ip_state.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_state.h,v 1.16 2001/01/17 04:47:16 fgsch Exp $ */ +/* $OpenBSD: ip_state.h,v 1.17 2001/01/30 04:23:56 kjell Exp $ */ /* * Copyright (C) 1995-2000 by Darren Reed. @@ -19,8 +19,13 @@ # define SIOCDELST _IOW(r, 61, struct ipstate *) #endif -#define IPSTATE_SIZE 5737 -#define IPSTATE_MAX 4013 /* Maximum number of states held */ +#ifndef IPSTATE_SIZE +# define IPSTATE_SIZE 5737 +#endif + +#ifndef IPSTATE_MAX +# define IPSTATE_MAX 4013 /* Maximum number of states held */ +#endif #define PAIRS(s1,d1,s2,d2) ((((s1) == (s2)) && ((d1) == (d2))) ||\ (((s1) == (d2)) && ((d1) == (s2)))) -- cgit v1.2.3