1 /* packet-dcerpc-srvsvc.h
2 * Routines for SMB \PIPE\srvsvc packet disassembly
3 * Copyright 2001, Tim Potter <tpot@samba.org>
5 * $Id: packet-dcerpc-srvsvc.h,v 1.3 2001/12/16 20:08:22 guy Exp $
7 * Ethereal - Network traffic analyzer
8 * By Gerald Combs <gerald@ethereal.com>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #ifndef __PACKET_DCERPC_SRVSVC_H
27 #define __PACKET_DCERPC_SRVSVC_H
29 /* Functions available on the SRVSVC pipe. From Samba, include/rpc_srvsvc.h */
31 #define SRV_NETCONNENUM 0x08
32 #define SRV_NETFILEENUM 0x09
33 #define SRV_NETSESSENUM 0x0c
34 #define SRV_NET_SHARE_ADD 0x0e
35 #define SRV_NETSHAREENUM_ALL 0x0f
36 #define SRV_NET_SHARE_GET_INFO 0x10
37 #define SRV_NET_SHARE_SET_INFO 0x11
38 #define SRV_NET_SHARE_DEL 0x12
39 #define SRV_NET_SRV_GET_INFO 0x15
40 #define SRV_NET_SRV_SET_INFO 0x16
41 #define SRV_NET_DISK_ENUM 0x17
42 #define SRV_NET_REMOTE_TOD 0x1c
43 #define SRV_NET_NAME_VALIDATE 0x21
44 #define SRV_NETSHAREENUM 0x24
45 #define SRV_NETFILEQUERYSECDESC 0x27
46 #define SRV_NETFILESETSECDESC 0x28
48 #endif /* packet-dcerpc-srvsvc.h */