summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-06-06 19:39:10 +0000
committerjulian <julian@FreeBSD.org>1998-06-06 19:39:10 +0000
commit2cda12b561a47f469b0a05b3854a548c841356a9 (patch)
treed006668f700da058a6b87c5276f9f53f0b7c2332 /sys/netinet/ip_var.h
parente6bc8c123a9561a257efb1124bedb4eabaf2457c (diff)
downloadFreeBSD-src-2cda12b561a47f469b0a05b3854a548c841356a9.zip
FreeBSD-src-2cda12b561a47f469b0a05b3854a548c841356a9.tar.gz
clean up the changes made to ipfw over the last weeks
(should make the ipfw lkm work again)
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h12
1 files changed, 2 insertions, 10 deletions
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 */
OpenPOWER on IntegriCloud