smb_kstat.h revision cb174861876aea6950a7ab4ce944aff84b1914cd
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * CDDL HEADER START
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * The contents of this file are subject to the terms of the
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * Common Development and Distribution License (the "License").
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * You may not use this file except in compliance with the License.
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * See the License for the specific language governing permissions
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * and limitations under the License.
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * When distributing Covered Code, include this CDDL HEADER in each
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * If applicable, add the following below this CDDL HEADER, with the
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * fields enclosed by brackets "[]" replaced with your own identifying
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * information: Portions Copyright [yyyy] [name of copyright owner]
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * CDDL HEADER END
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas * Kstat definitions for the SMB server module.
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2easextern "C" {
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_NAME_CMDS "smbsrv_commands"
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_REQUEST_CACHE "smb_request_cache"
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_SESSION_CACHE "smb_session_cache"
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_USER_CACHE "smb_user_cache"
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_TREE_CACHE "smb_tree_cache"
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_OFILE_CACHE "smb_ofile_cache"
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_ODIR_CACHE "smb_odir_cache"
2c2961f8403049d948b9f3e6c35d6488b6b7e1aajose borrego#define SMBSRV_KSTAT_NODE_CACHE "smb_node_cache"
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright#define SMBSRV_KSTAT_STATISTICS "smbsrv_statistics"
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wrighttypedef struct smb_kstat_req {
cb174861876aea6950a7ab4ce944aff84b1914cdjoyce mcintosh char kr_pad[(~(KSTAT_STRLEN & 0x07) + 1) & 0x07];
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wrighttypedef struct smbsrv_kstats {
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2eas#endif /* _SMBSRV_SMB_KSTAT_H */