From 2cda12b561a47f469b0a05b3854a548c841356a9 Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 6 Jun 1998 19:39:10 +0000 Subject: clean up the changes made to ipfw over the last weeks (should make the ipfw lkm work again) --- sys/netinet/ip_var.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'sys/netinet/ip_var.h') diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index ba3e8cc0..d68d2cf 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_var.h 8.2 (Berkeley) 1/9/95 - * $Id: ip_var.h,v 1.38 1998/05/25 10:37:48 julian Exp $ + * $Id: ip_var.h,v 1.39 1998/06/05 22:40:01 julian Exp $ */ #ifndef _NETINET_IP_VAR_H_ @@ -65,9 +65,7 @@ struct ipq { struct in_addr ipq_src,ipq_dst; #ifdef IPDIVERT u_short ipq_divert; /* divert protocol port */ -#ifndef IPFW_DIVERT_OLDRESTART u_short ipq_div_cookie; /* divert protocol cookie */ -#endif /* IPFW_DIVERT_OLDRESTART */ #endif }; @@ -210,13 +208,7 @@ void div_init __P((void)); void div_input __P((struct mbuf *, int)); extern struct pr_usrreqs div_usrreqs; extern u_short ip_divert_port; -#ifdef IPFW_DIVERT_OLDRESTART -extern u_short ip_divert_ignore; -#else -extern u_short ip_divert_in_cookie; -extern u_short ip_divert_out_cookie; - -#endif /* IPFW_DIVERT_OLDRESTART */ +extern u_short ip_divert_cookie; #endif /* IPDIVERT */ #endif /* KERNEL */ -- cgit v1.1