Consistently include opt_ipsec.h for consumers of <netipsec/ipsec.h>.
This fixes ipsec.ko to include all of IPSEC_DEBUG. Reviewed by: imp MFC after: 2 weeks Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D25046
This commit is contained in:
parent
4bcbd26ff8
commit
28d2a72bbf
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_inet6.h"
|
#include "opt_inet6.h"
|
||||||
|
#include "opt_ipsec.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_inet6.h"
|
#include "opt_inet6.h"
|
||||||
|
#include "opt_ipsec.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -39,11 +39,6 @@
|
|||||||
#ifndef _NETIPSEC_IPSEC_H_
|
#ifndef _NETIPSEC_IPSEC_H_
|
||||||
#define _NETIPSEC_IPSEC_H_
|
#define _NETIPSEC_IPSEC_H_
|
||||||
|
|
||||||
#if defined(_KERNEL) && !defined(_LKM) && !defined(KLD_MODULE)
|
|
||||||
#include "opt_inet.h"
|
|
||||||
#include "opt_ipsec.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <net/pfkeyv2.h>
|
#include <net/pfkeyv2.h>
|
||||||
#include <netipsec/keydb.h>
|
#include <netipsec/keydb.h>
|
||||||
|
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
* IPsec-specific mbuf routines.
|
* IPsec-specific mbuf routines.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "opt_ipsec.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
#include <sys/malloc.h>
|
#include <sys/malloc.h>
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_inet6.h"
|
#include "opt_inet6.h"
|
||||||
|
#include "opt_ipsec.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_inet6.h"
|
#include "opt_inet6.h"
|
||||||
|
#include "opt_ipsec.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
/* IP payload compression protocol (IPComp), see RFC 2393 */
|
/* IP payload compression protocol (IPComp), see RFC 2393 */
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_inet6.h"
|
#include "opt_inet6.h"
|
||||||
|
#include "opt_ipsec.h"
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user