Changeset c7eec93 in rtems-libbsd


Ignore:
Timestamp:
Aug 2, 2018, 6:44:14 AM (10 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
b5f8d4831d66364b7391e3660560cb9bbecada2e, 31b5c87357cee83d6a3419c5d801a9bf16912714
Children:
028bf82
Parents:
1b467ad
git-author:
Christian Mauderer <christian.mauderer@…> (08/02/18 06:44:14)
git-committer:
Christian Mauderer <christian.mauderer@…> (08/02/18 08:32:20)
Message:

Add RTEMS_BSD_CONFIG_IPSEC.

Location:
rtemsbsd/include/machine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/include/machine/rtems-bsd-config.h

    r1b467ad rc7eec93  
    3030 *
    3131 *  RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE : Memory in bytes for mbufs
     32 *  RTEMS_BSD_CONFIG_IPSEC                  : IPSec support.
    3233 *  RTEMS_BSD_CONFIG_NET_PF_UNIX            : Packet Filter.
    3334 *  RTEMS_BSD_CONFIG_NET_IF_LAGG            : Link Aggregetion and Failover.
     
    166167
    167168/*
     169 * IPSec
     170 */
     171#if defined(RTEMS_BSD_CONFIG_IPSEC)
     172  #define RTEMS_BSD_CFGDECL_IPSEC \
     173      SYSINIT_NEED_NET_IF_GIF; \
     174      SYSINIT_NEED_CRYPTODEV
     175  #define RTEMS_BSD_CFGDECL_IPSEC_SERVICE \
     176      RTEMS_BSD_RC_CONF_SYSINT(rc_conf_ipsec)
     177#else
     178  #define RTEMS_BSD_CFGDECL_IPSEC
     179  #define RTEMS_BSD_CFGDECL_IPSEC_SERVICE
     180#endif /* RTEMS_BSD_CONFIG_FIREWALL_PF */
     181
     182/*
    168183 * FTPD
    169184 */
     
    235250
    236251  /*
     252   * IPSec related stuff.
     253   */
     254  RTEMS_BSD_CFGDECL_IPSEC;
     255  RTEMS_BSD_CFGDECL_IPSEC_SERVICE;
     256
     257  /*
    237258   * Create the services.
    238259   */
  • rtemsbsd/include/machine/rtems-bsd-sysinit.h

    r1b467ad rc7eec93  
    4444#include <sys/queue.h>
    4545#include <sys/kernel.h>
     46
     47#define SYSINIT_NEED_CRYPTODEV \
     48        SYSINIT_MODULE_REFERENCE(cryptodev)
    4649
    4750#define SYSINIT_NEED_USB_CORE \
     
    9497        SYSINIT_DRIVER_REFERENCE(bfe, pci)
    9598
     99#define SYSINIT_NEED_NET_IF_GIF \
     100        SYSINIT_MODULE_REFERENCE(if_gif)
     101
    96102#define SYSINIT_NEED_NET_IF_RE \
    97103        SYSINIT_DRIVER_REFERENCE(re, pci)
Note: See TracChangeset for help on using the changeset viewer.