git: a20bbabe3431 - main - ipfw: re-arrange declarations so that they match comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Oct 2026 19:52:04 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=a20bbabe343148c1a6d4b234c05fbcc9916c840d
commit a20bbabe343148c1a6d4b234c05fbcc9916c840d
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-10-13 19:51:53 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-10-13 19:51:53 +0000
ipfw: re-arrange declarations so that they match comments
No functional change.
---
sys/netpfil/ipfw/ip_fw_private.h | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/sys/netpfil/ipfw/ip_fw_private.h b/sys/netpfil/ipfw/ip_fw_private.h
index 67bdde66e385..557bb12cca78 100644
--- a/sys/netpfil/ipfw/ip_fw_private.h
+++ b/sys/netpfil/ipfw/ip_fw_private.h
@@ -161,7 +161,15 @@ void ipfw_nat_destroy(void);
struct ip;
struct ip_fw;
struct ip_fw_chain;
+void ipfw_log(struct ip_fw_chain *chain, struct ip_fw *f, u_int hlen,
+ struct ip_fw_args *args, u_short offset, uint32_t tablearg, struct ip *ip,
+ void *eh);
+VNET_DECLARE(u_int64_t, norule_counter);
+#define V_norule_counter VNET(norule_counter)
+VNET_DECLARE(int, verbose_limit);
+#define V_verbose_limit VNET(verbose_limit)
+/* In ip_fw_bpf.c */
void ipfw_bpf_init(int);
void ipfw_bpf_uninit(int);
void ipfw_tap_alloc(struct ip_fw_chain *, uint32_t);
@@ -169,13 +177,6 @@ void ipfw_tap_free(struct ip_fw_chain *, uint32_t);
void ipfw_bpf_tap(struct ip_fw_chain *, struct ip_fw_args *, struct ip *,
uint32_t);
void ipfw_pflog_tap(void *, struct mbuf *);
-void ipfw_log(struct ip_fw_chain *chain, struct ip_fw *f, u_int hlen,
- struct ip_fw_args *args, u_short offset, uint32_t tablearg, struct ip *ip,
- void *eh);
-VNET_DECLARE(u_int64_t, norule_counter);
-#define V_norule_counter VNET(norule_counter)
-VNET_DECLARE(int, verbose_limit);
-#define V_verbose_limit VNET(verbose_limit)
/* In ip_fw_dynamic.c */
struct sockopt_data;