Changeset 32a3dd1 in rtems-libbsd


Ignore:
Timestamp:
Aug 4, 2016, 6:02:24 AM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
a8d016c
Parents:
0717607
git-author:
Christian Mauderer <Christian.Mauderer@…> (08/04/16 06:02:24)
git-committer:
Christian Mauderer <Christian.Mauderer@…> (08/08/16 06:54:34)
Message:

pf: Add RTEMS_BSD_CONFIG_FIREWALL_xxx options.

Files:
3 edited

Legend:

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

    r0717607 r32a3dd1  
    120120
    121121/*
     122 * Firewall PF
     123 */
     124#if defined(RTEMS_BSD_CONFIG_FIREWALL_PF)
     125  #define RTEMS_BSD_CFGDECL_FIREWALL_PF SYSINIT_NEED_FIREWALL_PF
     126#else
     127  #define RTEMS_BSD_CFGDECL_FIREWALL_PF
     128#endif /* RTEMS_BSD_CONFIG_FIREWALL_PF */
     129
     130#if defined(RTEMS_BSD_CONFIG_FIREWALL_PFLOG)
     131  #define RTEMS_BSD_CFGDECL_FIREWALL_PFLOG SYSINIT_NEED_FIREWALL_PFLOG
     132#else
     133  #define RTEMS_BSD_CFGDECL_FIREWALL_PFLOG
     134#endif /* RTEMS_BSD_CONFIG_FIREWALL_PFLOG */
     135
     136#if defined(RTEMS_BSD_CONFIG_FIREWALL_PFSYNC)
     137  #define RTEMS_BSD_CFGDECL_FIREWALL_PFSYNC SYSINIT_NEED_FIREWALL_PFSYNC
     138#else
     139  #define RTEMS_BSD_CFGDECL_FIREWALL_PFSYNC
     140#endif /* RTEMS_BSD_CONFIG_FIREWALL_PFSYNC */
     141
     142/*
    122143 * FTPD
    123144 */
     
    169190
    170191  /*
     192   * Create the firewall
     193   */
     194  RTEMS_BSD_CFGDECL_FIREWALL_PF;
     195  RTEMS_BSD_CFGDECL_FIREWALL_PFLOG;
     196  RTEMS_BSD_CFGDECL_FIREWALL_PFSYNC;
     197
     198  /*
    171199   * Create the services.
    172200   */
  • testsuite/pf01/test_main.c

    r0717607 r32a3dd1  
    492492#include <machine/rtems-bsd-sysinit.h>
    493493
    494 SYSINIT_NEED_FIREWALL_PF;
    495 SYSINIT_NEED_FIREWALL_PFLOG;
     494#define RTEMS_BSD_CONFIG_FIREWALL_PF
     495#define RTEMS_BSD_CONFIG_FIREWALL_PFLOG
    496496
    497497#include <rtems/bsd/test/default-network-init.h>
  • testsuite/pf02/test_main.c

    r0717607 r32a3dd1  
    177177#include <machine/rtems-bsd-sysinit.h>
    178178
    179 SYSINIT_NEED_FIREWALL_PF;
    180 SYSINIT_NEED_FIREWALL_PFLOG;
     179#define RTEMS_BSD_CONFIG_FIREWALL_PF
     180#define RTEMS_BSD_CONFIG_FIREWALL_PFLOG
    181181#define CONFIGURE_MAXIMUM_DRIVERS 32
    182182
Note: See TracChangeset for help on using the changeset viewer.