diff options
author | 2002-12-07 19:52:33 +0000 | |
---|---|---|
committer | 2002-12-07 19:52:33 +0000 | |
commit | 58d44a2cf4d607978ad6e3432ab7d1c72f7c145a (patch) | |
tree | b22cf88e7fe8e309b051d971c924fbd258a27d2f | |
parent | Fix pasto in last commit. (diff) | |
download | wireguard-openbsd-58d44a2cf4d607978ad6e3432ab7d1c72f7c145a.tar.xz wireguard-openbsd-58d44a2cf4d607978ad6e3432ab7d1c72f7c145a.zip |
KNF
-rw-r--r-- | sbin/pfctl/pfctl_altq.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/sbin/pfctl/pfctl_altq.h b/sbin/pfctl/pfctl_altq.h index bff60a15406..71794b42872 100644 --- a/sbin/pfctl/pfctl_altq.h +++ b/sbin/pfctl/pfctl_altq.h @@ -1,4 +1,5 @@ -/* $OpenBSD: pfctl_altq.h,v 1.5 2002/12/02 22:18:21 henning Exp $ */ +/* $OpenBSD: pfctl_altq.h,v 1.6 2002/12/07 19:52:33 henning Exp $ */ + /* * Copyright (C) 2002 * Sony Computer Science Laboratories Inc. All rights reserved. @@ -69,10 +70,10 @@ #ifndef REDF_ECN4 /* red flags */ -#define REDF_ECN4 0x01 /* use packet marking for IPv4 packets */ -#define REDF_ECN6 0x02 /* use packet marking for IPv6 packets */ -#define REDF_ECN (REDF_ECN4 | REDF_ECN6) -#define REDF_FLOWVALVE 0x04 /* use flowvalve (aka penalty-box) */ +#define REDF_ECN4 0x01 /* use packet marking for IPv4 pkts */ +#define REDF_ECN6 0x02 /* use packet marking for IPv6 pkts */ +#define REDF_ECN (REDF_ECN4 | REDF_ECN6) +#define REDF_FLOWVALVE 0x04 /* use flowvalve (aka penalty-box) */ #endif #ifndef DEFAULT_PRIORITY @@ -94,16 +95,16 @@ void pfctl_print_altq_node(const struct pf_altq_node *, unsigned); void pfctl_free_altq_node(struct pf_altq_node *); -int check_commit_altq(int, int); -void pfaltq_store(struct pf_altq *); -void pfaltq_free(struct pf_altq *); -struct pf_altq *pfaltq_lookup(const char *); -struct pf_altq *qname_to_pfaltq(const char *, const char *); -u_int32_t qname_to_qid(const char *, const char *); -char *qid_to_qname(u_int32_t, const char *); +int check_commit_altq(int, int); +void pfaltq_store(struct pf_altq *); +void pfaltq_free(struct pf_altq *); +struct pf_altq *pfaltq_lookup(const char *); +struct pf_altq *qname_to_pfaltq(const char *, const char *); +u_int32_t qname_to_qid(const char *, const char *); +char *qid_to_qname(u_int32_t, const char *); -void print_altq(const struct pf_altq *, unsigned); -void print_queue(const struct pf_altq *, unsigned); +void print_altq(const struct pf_altq *, unsigned); +void print_queue(const struct pf_altq *, unsigned); -int eval_pfaltq(struct pfctl *, struct pf_altq *, u_int32_t, u_int16_t); -int eval_pfqueue(struct pfctl *, struct pf_altq *, u_int32_t, u_int16_t); +int eval_pfaltq(struct pfctl *, struct pf_altq *, u_int32_t, u_int16_t); +int eval_pfqueue(struct pfctl *, struct pf_altq *, u_int32_t, u_int16_t); |