Make IPDIVERT a supported option. Alas, in_var.h depends on it, i

hope i've found out all files that actually depend on this dependancy.
IMHO, it's not very good practice to change the size of internal
structs depending on kernel options.
This commit is contained in:
Joerg Wunsch 1997-11-05 20:17:23 +00:00
parent f9c1acbf97
commit fbd1372a0b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30966
5 changed files with 12 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $Id: options,v 1.35 1997/09/22 21:23:57 joerg Exp $
# $Id: options,v 1.36 1997/10/18 01:15:32 peter Exp $
# Format:
# Option name filename
@ -96,6 +96,7 @@ OPEN_MAX opt_defunct.h
ARP_PROXYALL opt_defunct.h
GATEWAY opt_defunct.h
MROUTING opt_mrouting.h
IPDIVERT
IPFIREWALL opt_ipfw.h
IPFIREWALL_VERBOSE opt_ipfw.h
IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h

View File

@ -31,9 +31,11 @@
* SUCH DAMAGE.
*
* @(#)in_proto.c 8.2 (Berkeley) 2/9/95
* $Id: in_proto.c,v 1.42 1997/09/16 18:36:04 joerg Exp $
* $Id: in_proto.c,v 1.43 1997/10/28 15:58:43 bde Exp $
*/
#include "opt_ipdivert.h"
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/socket.h>

View File

@ -12,7 +12,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
* $Id: ip_fw.c,v 1.63 1997/09/10 03:07:14 peter Exp $
* $Id: ip_fw.c,v 1.64 1997/10/12 20:25:25 phk Exp $
*/
/*
@ -21,6 +21,7 @@
#ifndef IPFIREWALL_MODULE
#include "opt_ipfw.h"
#include "opt_ipdivert.h"
#endif
#include <sys/param.h>

View File

@ -31,13 +31,14 @@
* SUCH DAMAGE.
*
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
* $Id: ip_input.c,v 1.69 1997/10/28 18:55:21 guido Exp $
* $Id: ip_input.c,v 1.70 1997/11/05 02:51:32 julian Exp $
* $ANA: ip_input.c,v 1.5 1996/09/18 14:34:59 wollman Exp $
*/
#define _IP_VHL
#include "opt_ipfw.h"
#include "opt_ipdivert.h"
#include <stddef.h>

View File

@ -31,11 +31,13 @@
* SUCH DAMAGE.
*
* @(#)ip_output.c 8.3 (Berkeley) 1/21/94
* $Id: ip_output.c,v 1.59 1997/10/11 18:31:32 phk Exp $
* $Id: ip_output.c,v 1.60 1997/10/12 20:25:26 phk Exp $
*/
#define _IP_VHL
#include "opt_ipdivert.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>