summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pf_print_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/pfctl/pf_print_state.h')
-rw-r--r--sbin/pfctl/pf_print_state.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/pfctl/pf_print_state.h b/sbin/pfctl/pf_print_state.h
new file mode 100644
index 00000000000..0fb2c1601b2
--- /dev/null
+++ b/sbin/pfctl/pf_print_state.h
@@ -0,0 +1,6 @@
+int unmask (struct pf_addr *, u_int8_t);
+void print_addr (struct pf_addr_wrap *, struct pf_addr *, u_int8_t);
+void print_host (struct pf_state_host *, u_int8_t, int);
+void print_seq (struct pf_state_peer *);
+void print_state(struct pf_state *s, int verbose);
+struct hostent *getpfhostname(const char *addr_str);