summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/pf/pfctl/pfctl.c
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-07-05 16:31:43 +0200
committerChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-08-02 10:21:51 +0200
commitb6252fb80630162cfed693e84eb9ddef4435b7fb (patch)
tree69459d7694a4fa6917d4b18ad327ea976cd66398 /freebsd/contrib/pf/pfctl/pfctl.c
parentpfctl: Import sources from FreeBSD. (diff)
downloadrtems-libbsd-b6252fb80630162cfed693e84eb9ddef4435b7fb.tar.bz2
pfctl: Match prototype.
Note: This should be upstreamed into BSD.
Diffstat (limited to 'freebsd/contrib/pf/pfctl/pfctl.c')
-rw-r--r--freebsd/contrib/pf/pfctl/pfctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/contrib/pf/pfctl/pfctl.c b/freebsd/contrib/pf/pfctl/pfctl.c
index 2d578395..a44f41ea 100644
--- a/freebsd/contrib/pf/pfctl/pfctl.c
+++ b/freebsd/contrib/pf/pfctl/pfctl.c
@@ -86,7 +86,11 @@ int pfctl_load_limit(struct pfctl *, unsigned int, unsigned int);
int pfctl_load_timeout(struct pfctl *, unsigned int, unsigned int);
int pfctl_load_debug(struct pfctl *, unsigned int);
int pfctl_load_logif(struct pfctl *, char *);
+#ifndef __rtems__
int pfctl_load_hostid(struct pfctl *, unsigned int);
+#else /* __rtems__ */
+int pfctl_load_hostid(struct pfctl *, u_int32_t);
+#endif /* __rtems__ */
int pfctl_get_pool(int, struct pf_pool *, u_int32_t, u_int32_t, int,
char *);
void pfctl_print_rule_counters(struct pf_rule *, int);