4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
26 #ifndef _SMBSRV_MAILSLOT_H
27 #define _SMBSRV_MAILSLOT_H
30 * Mailslots are a one-way, unreliable IPC mechanism that allows a
31 * client to send or broadcast messages to a server. The names follow
32 * the same universal naming convention (UNC) used with named pipes:
33 * \\server\mailslot\name, \\.\mailslot\name etc. There is a good
34 * overview of mailslots, including limitations of NT and Windows 2000,
35 * in Network Programming for Microsoft Windows Chapter 3.
37 * Network Programming for Microsoft Windows
38 * Anthony Jones and Jim Ohlund
39 * Microsoft Press, ISBN 0-7356-0560-2
41 * This file defines pre-defined and system common mailslots.
49 * Well-known or pre-defined mailslots.
51 #define MAILSLOT_LANMAN "\\MAILSLOT\\LANMAN"
52 #define MAILSLOT_MSBROWSE "\\MAILSLOT\\MSBROWSE"
53 #define MAILSLOT_BROWSE "\\MAILSLOT\\BROWSE"
54 #define MAILSLOT_NETLOGON "\\MAILSLOT\\NET\\NETLOGON"
55 #define MAILSLOT_NTLOGON "\\MAILSLOT\\NET\\NTLOGON"
59 * System common mailslots. These should be dynamically assigned
60 * at runtime but we don't support a full mailslot implementation
61 * so we use a set of predefined values that appear to work.
63 #define MAILSLOT_NETLOGON_RDC "\\MAILSLOT\\NET\\GETDC354"
64 #define MAILSLOT_NETLOGON_MDC "\\MAILSLOT\\NET\\GETDC576"
65 #define MAILSLOT_NETLOGON_SAMLOGON_RDC "\\MAILSLOT\\NET\\GETDC873"
66 #define MAILSLOT_NETLOGON_SAMLOGON_MDC "\\MAILSLOT\\NET\\GETDC875"
74 #endif /* _SMBSRV_MAILSLOT_H */