From 4831944a2b4204c907018ad99fdaef2e48c604ad Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Tue, 5 Jul 2016 16:31:43 +0200 Subject: pfctl: Adapt for RTEMS. --- freebsd/contrib/pf/pfctl/pfctl_optimize-data.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 freebsd/contrib/pf/pfctl/pfctl_optimize-data.h (limited to 'freebsd/contrib/pf/pfctl/pfctl_optimize-data.h') 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_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); -- cgit v1.2.3