smb_kstat.h revision cb174861876aea6950a7ab4ce944aff84b1914cd
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* Kstat definitions for the SMB server module.
*/
#ifndef _SMBSRV_SMB_KSTAT_H
#define _SMBSRV_SMB_KSTAT_H
#ifdef __cplusplus
extern "C" {
#endif
#define SMBSRV_KSTAT_PROCESS "smbd"
#define SMBSRV_KSTAT_MODULE "smbsrv"
#define SMBSRV_KSTAT_CLASS "net"
#define SMBSRV_KSTAT_NAME "smbsrv"
#define SMBSRV_KSTAT_NAME_CMDS "smbsrv_commands"
#define SMBSRV_KSTAT_TXRCACHE "smb_txreq"
#define SMBSRV_KSTAT_REQUEST_CACHE "smb_request_cache"
#define SMBSRV_KSTAT_SESSION_CACHE "smb_session_cache"
#define SMBSRV_KSTAT_USER_CACHE "smb_user_cache"
#define SMBSRV_KSTAT_TREE_CACHE "smb_tree_cache"
#define SMBSRV_KSTAT_OFILE_CACHE "smb_ofile_cache"
#define SMBSRV_KSTAT_ODIR_CACHE "smb_odir_cache"
#define SMBSRV_KSTAT_NODE_CACHE "smb_node_cache"
#define SMBSRV_KSTAT_MBC_CACHE "smb_mbc_cache"
#define SMBSRV_KSTAT_STATISTICS "smbsrv_statistics"
#define SMBSRV_KSTAT_UNSUPPORTED "Unsupported"
#define SMBSRV_KSTAT_WORKERS "smb_workers"
#pragma pack(1)
typedef struct smb_kstat_utilization {
typedef struct smb_kstat_req {
char kr_name[KSTAT_STRLEN];
typedef struct smbsrv_kstats {
#pragma pack()
#ifdef __cplusplus
}
#endif
#endif /* _SMBSRV_SMB_KSTAT_H */