summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/smbsrv/smb_kstat.h
diff options
context:
space:
mode:
authorGordon Ross <gwr@nexenta.com>2013-06-26 16:05:44 -0400
committerGordon Ross <gwr@nexenta.com>2015-11-06 12:22:30 -0500
commita90cf9f29973990687fa61de9f1f6ea22e924e40 (patch)
tree42f77e59c4470ef6d2ba3118ba6c75e43686c398 /usr/src/uts/common/smbsrv/smb_kstat.h
parentb24e356b384ccc80805e7150979de2373d44347c (diff)
downloadillumos-joyent-a90cf9f29973990687fa61de9f1f6ea22e924e40.tar.gz
6399 SMB2 support
Portions contributed by: Alek Pinchuk <alek@nexenta.com> Portions contributed by: Kevin Crowe <kevin.crowe@nexenta.com> Portions contributed by: Matt Barden <Matt.Barden@nexenta.com> Reviewed by: Alek Pinchuk <alek@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Daniel Borek <daniel.borek@nexenta.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Yuri Pankov <Yuri.Pankov@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/uts/common/smbsrv/smb_kstat.h')
-rw-r--r--usr/src/uts/common/smbsrv/smb_kstat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/uts/common/smbsrv/smb_kstat.h b/usr/src/uts/common/smbsrv/smb_kstat.h
index 0b3190dc12..c3816f563a 100644
--- a/usr/src/uts/common/smbsrv/smb_kstat.h
+++ b/usr/src/uts/common/smbsrv/smb_kstat.h
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
/*
@@ -29,6 +30,7 @@
#define _SMBSRV_SMB_KSTAT_H
#include <smbsrv/smb.h>
+#include <smbsrv/smb2.h>
#ifdef __cplusplus
extern "C" {
@@ -80,7 +82,8 @@ typedef struct smbsrv_kstats {
uint64_t ks_rxb; /* Bytes received */
uint64_t ks_nreq; /* Requests treated */
smb_kstat_utilization_t ks_utilization;
- smb_kstat_req_t ks_reqs[SMB_COM_NUM];
+ smb_kstat_req_t ks_reqs1[SMB_COM_NUM];
+ smb_kstat_req_t ks_reqs2[SMB2__NCMDS];
uint32_t ks_nbt_sess; /* NBT sessions */
uint32_t ks_tcp_sess; /* TCP sessions */
uint32_t ks_users; /* Users logged in */