summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw2.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-02-01 16:00:49 +0000
committerluigi <luigi@FreeBSD.org>2009-02-01 16:00:49 +0000
commit23001c70f6bbdc9d9fdf1e5004247a1ca399bca0 (patch)
treeff222360e436e2ff629391fb6a2a60454cf9b2ff /sbin/ipfw/ipfw2.h
parentbe5fcb8006b960467df137c76fef0baf9133ff30 (diff)
downloadFreeBSD-src-23001c70f6bbdc9d9fdf1e5004247a1ca399bca0.zip
FreeBSD-src-23001c70f6bbdc9d9fdf1e5004247a1ca399bca0.tar.gz
put the altq-related functions into a separate file.
Minor cleanup of the includes used by the various source files, including annotations of why certain headers are used.
Diffstat (limited to 'sbin/ipfw/ipfw2.h')
-rw-r--r--sbin/ipfw/ipfw2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/ipfw/ipfw2.h b/sbin/ipfw/ipfw2.h
index 94b21a1..442e7b6 100644
--- a/sbin/ipfw/ipfw2.h
+++ b/sbin/ipfw/ipfw2.h
@@ -219,6 +219,7 @@ int contigmask(uint8_t *p, int len);
* functions involved, so we do not lose error checking.
*/
struct _ipfw_insn;
+struct _ipfw_insn_altq;
struct _ipfw_insn_u32;
struct _ipfw_insn_ip6;
struct _ipfw_insn_icmp6;
@@ -243,6 +244,12 @@ void ipfw_flush(int force);
void ipfw_zero(int ac, char *av[], int optname);
void ipfw_list(int ac, char *av[], int show_counters);
+/* 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);
+
/* dummynet.c */
void ipfw_list_pipes(void *data, uint nbytes, int ac, char *av[]);
int ipfw_delete_pipe(int pipe_or_queue, int n);
OpenPOWER on IntegriCloud