Add RTEMS_BSD_CONFIG_IPSEC.

This commit is contained in:
Christian Mauderer
2018-08-02 08:44:14 +02:00
parent 1b467ad47d
commit c7eec93e3c
2 changed files with 27 additions and 0 deletions

View File

@@ -29,6 +29,7 @@
* Configuration defines:
*
* RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE : Memory in bytes for mbufs
* RTEMS_BSD_CONFIG_IPSEC : IPSec support.
* RTEMS_BSD_CONFIG_NET_PF_UNIX : Packet Filter.
* RTEMS_BSD_CONFIG_NET_IF_LAGG : Link Aggregetion and Failover.
* RTEMS_BSD_CONFIG_NET_IF_VLAN : Virtual LAN.
@@ -164,6 +165,20 @@ extern "C" {
#define RTEMS_BSD_CFGDECL_FIREWALL_PFSYNC
#endif /* RTEMS_BSD_CONFIG_FIREWALL_PFSYNC */
/*
* IPSec
*/
#if defined(RTEMS_BSD_CONFIG_IPSEC)
#define RTEMS_BSD_CFGDECL_IPSEC \
SYSINIT_NEED_NET_IF_GIF; \
SYSINIT_NEED_CRYPTODEV
#define RTEMS_BSD_CFGDECL_IPSEC_SERVICE \
RTEMS_BSD_RC_CONF_SYSINT(rc_conf_ipsec)
#else
#define RTEMS_BSD_CFGDECL_IPSEC
#define RTEMS_BSD_CFGDECL_IPSEC_SERVICE
#endif /* RTEMS_BSD_CONFIG_FIREWALL_PF */
/*
* FTPD
*/
@@ -233,6 +248,12 @@ extern "C" {
RTEMS_BSD_CFGDECL_FIREWALL_PFLOG;
RTEMS_BSD_CFGDECL_FIREWALL_PFSYNC;
/*
* IPSec related stuff.
*/
RTEMS_BSD_CFGDECL_IPSEC;
RTEMS_BSD_CFGDECL_IPSEC_SERVICE;
/*
* Create the services.
*/