mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 04:54:07 +01:00
bring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expects
to find it there. Unfortunately this reintroduces the dependency on ip_fw_pfil.c
This commit is contained in:
parent
b6d33186d2
commit
e59084e086
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201124
@ -76,8 +76,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <netgraph/ng_hub.h>
|
||||
#include <netgraph/ng_iface.h>
|
||||
#include <netgraph/ng_ip_input.h>
|
||||
#include <netinet/ip_fw.h>
|
||||
#include <netinet/ip_fw_private.h> /* the NGM cookie is here */
|
||||
#include <netgraph/ng_ipfw.h>
|
||||
#include <netgraph/ng_ksocket.h>
|
||||
#include <netgraph/ng_l2tp.h>
|
||||
|
@ -29,4 +29,5 @@
|
||||
#ifndef _NG_IPFW_H
|
||||
#define _NG_IPFW_H
|
||||
#define NG_IPFW_NODE_TYPE "ipfw"
|
||||
#define NGM_IPFW_COOKIE 1105988990
|
||||
#endif /* _NG_IPFW_H */
|
||||
|
@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <netinet/ipfw/ip_fw_private.h>
|
||||
#include <netinet/ip_divert.h>
|
||||
#include <netinet/ip_dummynet.h>
|
||||
#include <netgraph/ng_ipfw.h>
|
||||
|
||||
#include <machine/in_cksum.h>
|
||||
|
||||
|
@ -272,7 +272,6 @@ extern ipfw_nat_cfg_t *ipfw_nat_get_cfg_ptr;
|
||||
extern ipfw_nat_cfg_t *ipfw_nat_get_log_ptr;
|
||||
|
||||
/* netgraph prototypes */
|
||||
#define NGM_IPFW_COOKIE 1105988990
|
||||
|
||||
typedef int ng_ipfw_input_t(struct mbuf **, int, struct ip_fw_args *, int);
|
||||
extern ng_ipfw_input_t *ng_ipfw_input_p;
|
||||
|
Loading…
Reference in New Issue
Block a user