diff options
Diffstat (limited to 'sys/net/ifq.h')
-rw-r--r-- | sys/net/ifq.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/ifq.h b/sys/net/ifq.h index 0ffc64f0f52..fe8aa7781df 100644 --- a/sys/net/ifq.h +++ b/sys/net/ifq.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ifq.h,v 1.31 2020/05/22 07:02:24 dlg Exp $ */ +/* $OpenBSD: ifq.h,v 1.32 2020/07/07 00:00:03 dlg Exp $ */ /* * Copyright (c) 2015 David Gwynne <dlg@openbsd.org> @@ -20,6 +20,7 @@ #define _NET_IFQ_H_ struct ifnet; +struct kstat; struct ifq_ops; @@ -54,6 +55,8 @@ struct ifqueue { uint64_t ifq_errors; uint64_t ifq_mcasts; + struct kstat *ifq_kstat; + /* work serialisation */ struct mutex ifq_task_mtx; struct task_list ifq_task_list; @@ -92,6 +95,8 @@ struct ifiqueue { uint64_t ifiq_mcasts; uint64_t ifiq_noproto; + struct kstat *ifiq_kstat; + /* properties */ unsigned int ifiq_idx; }; |