summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw2.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-03-12 10:45:58 +0000
committerglebius <glebius@FreeBSD.org>2014-03-12 10:45:58 +0000
commitf937dcf2bd0584087acec5d8dc92dd5dba177113 (patch)
tree8cbef21f45f26a80647ff8a0604c3c9c65c2bb40 /sbin/ipfw/ipfw2.h
parenteeff801556700aefbd569ad4bac5acdebcc3b9a8 (diff)
downloadFreeBSD-src-f937dcf2bd0584087acec5d8dc92dd5dba177113.zip
FreeBSD-src-f937dcf2bd0584087acec5d8dc92dd5dba177113.tar.gz
Bulk sync of pf changes from head, in attempt to fixup broken build I
made in r263029. Merge r257186,257215,257349,259736,261797. These changesets split pfvar.h into several smaller headers and make userland utilities to include only some of them.
Diffstat (limited to 'sbin/ipfw/ipfw2.h')
-rw-r--r--sbin/ipfw/ipfw2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw2.h b/sbin/ipfw/ipfw2.h
index d592930..9abe6ee 100644
--- a/sbin/ipfw/ipfw2.h
+++ b/sbin/ipfw/ipfw2.h
@@ -266,11 +266,14 @@ void ipfw_flush(int force);
void ipfw_zero(int ac, char *av[], int optname);
void ipfw_list(int ac, char *av[], int show_counters);
+#ifdef PF
/* altq.c */
void altq_set_enabled(int enabled);
u_int32_t altq_name_to_qid(const char *name);
-
void print_altq_cmd(struct _ipfw_insn_altq *altqptr);
+#else
+#define NO_ALTQ
+#endif
/* dummynet.c */
void dummynet_list(int ac, char *av[], int show_counters);
OpenPOWER on IntegriCloud