summaryrefslogtreecommitdiff
path: root/sys/altq/altq_cbq.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/altq/altq_cbq.h')
-rw-r--r--sys/altq/altq_cbq.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/altq/altq_cbq.h b/sys/altq/altq_cbq.h
index 6cc9d08185d..5c9ab0a96dc 100644
--- a/sys/altq/altq_cbq.h
+++ b/sys/altq/altq_cbq.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_cbq.h,v 1.2 2002/10/10 10:44:02 kjc Exp $ */
+/* $OpenBSD: altq_cbq.h,v 1.3 2002/10/11 09:30:30 kjc Exp $ */
/* $KAME: altq_cbq.h,v 1.5 2000/12/02 13:44:40 kjc Exp $ */
/*
@@ -74,8 +74,8 @@ typedef struct cbq_class_spec {
u_int maxidle;
int minidle;
u_int offtime;
- u_long parent_class_handle;
- u_long borrow_class_handle;
+ u_int32_t parent_class_handle;
+ u_int32_t borrow_class_handle;
u_int pktsize;
int flags;
@@ -105,24 +105,24 @@ struct cbq_add_class {
struct cbq_interface cbq_iface;
cbq_class_spec_t cbq_class;
- u_long cbq_class_handle;
+ u_int32_t cbq_class_handle;
};
struct cbq_delete_class {
struct cbq_interface cbq_iface;
- u_long cbq_class_handle;
+ u_int32_t cbq_class_handle;
};
struct cbq_modify_class {
struct cbq_interface cbq_iface;
cbq_class_spec_t cbq_class;
- u_long cbq_class_handle;
+ u_int32_t cbq_class_handle;
};
struct cbq_add_filter {
- struct cbq_interface cbq_iface;
- u_long cbq_class_handle;
+ struct cbq_interface cbq_iface;
+ u_int32_t cbq_class_handle;
struct flow_filter cbq_filter;
u_long cbq_filter_handle;
@@ -134,7 +134,7 @@ struct cbq_delete_filter {
};
typedef struct _cbq_class_stats_ {
- u_int handle;
+ u_int32_t handle;
u_int depth;
struct pktcntr xmit_cnt; /* packets sent in this class */