2 % * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 % * Use is subject to license terms.
7 % * The contents of this file are subject to the terms of the
8 % * Common Development and Distribution License, Version 1.0 only
9 % * (the "License"). You may not use this file except in compliance
12 % * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 % * or http://www.opensolaris.org/os/licensing.
14 % * See the License for the specific language governing permissions
15 % * and limitations under the License.
17 % * When distributing Covered Code, include this CDDL HEADER in each
18 % * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 % * If applicable, add the following below this CDDL HEADER, with the
20 % * fields enclosed by brackets "[]" replaced with your own identifying
21 % * information: Portions Copyright [yyyy] [name of copyright owner]
26 %#pragma ident "%Z%%M% %I% %E% SMI"
28 %/* from nsm_addr.x */
31 % * This is the definition for the REG procedure which is used
32 % * to register name/address pairs with statd.
36 nsm_addr_succ = 0, /* simple success/failure result */
41 unsigned int family; /* address families from socket.h */
42 string name<1024>; /* name to register with this addr */
51 % * This is the definition for the UNREG procedure which is used
52 % * to unregister an address (and its associated name, if that name
53 % * has no other addresses registered with it) with statd.
56 unsigned int family; /* address families from socket.h */
57 string name<1024>; /* name under this addr to unregister */
67 % * This is the definition for the NSM address registration network
68 % * protocol which is used to privately support address registration
69 % * with the status daemon statd (NSM).
71 program NSM_ADDR_PROGRAM {
74 NSMADDRPROC1_NULL(void) = 0;
76 NSMADDRPROC1_REG(reg1args) = 1;
78 NSMADDRPROC1_UNREG(unreg1args) = 2;