summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pfsync.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-02-25 18:44:33 +0000
committerjhb <jhb@FreeBSD.org>2014-02-25 18:44:33 +0000
commitd9d6b88f18b92428357f47580e9e331def5c7f9d (patch)
tree34801d5ef19a32be547f8227f92bc964076b0527 /sys/net/if_pfsync.h
parent35025aadc87f305150fe2f5bf71280b17f4214a0 (diff)
downloadFreeBSD-src-d9d6b88f18b92428357f47580e9e331def5c7f9d.zip
FreeBSD-src-d9d6b88f18b92428357f47580e9e331def5c7f9d.tar.gz
Remove more constants related to static sysctl nodes. The MAXID constants
were primarily used to size the sysctl name list macros that were removed in r254295. A few other constants either did not have an associated sysctl node, or the associated node used OID_AUTO instead. PR: ports/184525 (exp-run)
Diffstat (limited to 'sys/net/if_pfsync.h')
-rw-r--r--sys/net/if_pfsync.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/net/if_pfsync.h b/sys/net/if_pfsync.h
index 7a72bbb..5c4ba63 100644
--- a/sys/net/if_pfsync.h
+++ b/sys/net/if_pfsync.h
@@ -205,12 +205,6 @@ struct pfsync_tdb {
#define PFSYNC_HDRLEN sizeof(struct pfsync_header)
-/*
- * Names for PFSYNC sysctl objects
- */
-#define PFSYNCCTL_STATS 1 /* PFSYNC stats */
-#define PFSYNCCTL_MAXID 2
-
struct pfsyncstats {
u_int64_t pfsyncs_ipackets; /* total input packets, IPv4 */
u_int64_t pfsyncs_ipackets6; /* total input packets, IPv6 */
OpenPOWER on IntegriCloud