diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-12-18 19:40:42 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-12-18 19:40:42 +0000 |
commit | 1b33c38cd3170b6cdfd4fabac6582b6177177605 (patch) | |
tree | f7cf8354676118fac3304133795fdfd26f5b6b1b /sbin/pfctl/pfctl_parser.h | |
parent | 29d2e9a7f2313652b63884678ea2b63bd7170c38 (diff) |
Store translation rule pointer in state entries, so pfctl -vsn can print
evaluation, packet, byte and state entry counters similar to -vsr. Helps
verify whether/how often translation rules are evaluated/matched.
ok frantzen@, henning@
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r-- | sbin/pfctl/pfctl_parser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h index a58239c387a..4dedd1516b1 100644 --- a/sbin/pfctl/pfctl_parser.h +++ b/sbin/pfctl/pfctl_parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.h,v 1.35 2002/12/18 14:14:09 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.h,v 1.36 2002/12/18 19:40:41 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -78,9 +78,9 @@ int parse_flags(char *); void print_filter(struct pf_rule *, int); void print_pool(struct pf_pool *, u_int16_t, u_int16_t, sa_family_t, int); void print_rule(struct pf_rule *, int); -void print_nat(struct pf_rule *); -void print_binat(struct pf_rule *); -void print_rdr(struct pf_rule *); +void print_nat(struct pf_rule *, int); +void print_binat(struct pf_rule *, int); +void print_rdr(struct pf_rule *, int); void print_status(struct pf_status *); struct icmptypeent { |