summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2024-11-12 04:14:52 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2024-11-12 04:14:52 +0000
commit3b030267ab0cf343e93ddb5afd4119551cd10a02 (patch)
treea5055b29daa8f56b2a58bae6b09ce1652d3daa75 /sys
parent3cd505be8c0a0700c9a6e6122081ba798a35ebe2 (diff)
bump the type used to specify traffic queue bandwidth to 64bit.
this should let people specify interface and queue bandwidths greater than ~4Gbit. this changes the pf ioctls used to specify queues, so if you want to try this you'll need a new kernel, new headers, and a new pfctl (and systat). or upgrade using a snapshot. the effort and benefit of providing compat isn't worth it. putting it in now so people can kick it around.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 51984231646..3e36f6f48d2 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.540 2024/10/12 23:31:14 jsg Exp $ */
+/* $OpenBSD: pfvar.h,v 1.541 2024/11/12 04:14:51 dlg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1241,7 +1241,7 @@ struct pf_status {
#define PF_PRIO_ZERO 0xff /* match "prio 0" packets */
struct pf_queue_bwspec {
- u_int absolute;
+ uint64_t absolute;
u_int percent;
};