diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-07-05 16:31:43 +0200 |
---|---|---|
committer | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-08-02 10:21:52 +0200 |
commit | d79524e4a7d58974402158c1c9625be230ead4c9 (patch) | |
tree | 40f7c50bff164ec013035ae2a7d545df7289d702 /freebsd/contrib/pf/pfctl/pfctl_optimize-data.h | |
parent | pfctl: Use static where possible. (diff) | |
download | rtems-libbsd-d79524e4a7d58974402158c1c9625be230ead4c9.tar.bz2 |
pfctl: Adapt for RTEMS.
Diffstat (limited to 'freebsd/contrib/pf/pfctl/pfctl_optimize-data.h')
-rw-r--r-- | freebsd/contrib/pf/pfctl/pfctl_optimize-data.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/freebsd/contrib/pf/pfctl/pfctl_optimize-data.h b/freebsd/contrib/pf/pfctl/pfctl_optimize-data.h new file mode 100644 index 00000000..1d55415a --- /dev/null +++ b/freebsd/contrib/pf/pfctl/pfctl_optimize-data.h @@ -0,0 +1,13 @@ +#include <rtems/linkersets.h> + +RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static int add_opt_table_num); +RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static int pf_opt_create_table_num); +RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, + static struct pf_rule_field pf_rule_desc[]); +RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static int + (*skip_comparitors[PF_SKIP_COUNT])(struct pf_rule *, struct pf_rule *)); +RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, + static const char *skip_comparitors_names[PF_SKIP_COUNT]); +RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, + static struct pfr_buffer table_buffer); +RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static int table_identifier); |