1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 23 /* All Rights Reserved */ 24 25 26 #ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.4.1.1 */ 27 28 /* 29 * The Network Listener Process Service (NLPS) 30 * protocol message sent by client machines to 31 * a listener process to request a service on the listener's 32 * machine. The message is sent to "netnodename(r_nodename)" 33 * where r_nodename is the nodename (see uname(2)) of the 34 * remote host. Note that client's need not know (or care) 35 * about the details of this message. They use the "att_service(3)" 36 * library routine which uses this message. 37 * 38 * Message is in ASCII and has the following format: 39 * 40 * iiii:lll:hhh:ssssssssssssss 41 * 42 * where: 43 * iiii = 4 character ID == "NLPS" 44 * lll = 3 character low version number (ASCII decimal digits) 45 * hhh = 3 character hi version number (ASCII decimal digits) 46 * ssssssssssssss = 14 character service_code (ASCII letters, digits or '_') 47 * : = field separator char == ':' 48 */ 49 50 #define NLPSIDSZ 4 51 #define NLPSIDSTR "NLPS" 52 #define NLPSSEPCHAR ':' /* field separator character */ 53 54