snoop_bparam.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
990b4856d0eaada6f8140335733a1b1771ed2746lling * CDDL HEADER START
990b4856d0eaada6f8140335733a1b1771ed2746lling * The contents of this file are subject to the terms of the
990b4856d0eaada6f8140335733a1b1771ed2746lling * Common Development and Distribution License, Version 1.0 only
990b4856d0eaada6f8140335733a1b1771ed2746lling * (the "License"). You may not use this file except in compliance
990b4856d0eaada6f8140335733a1b1771ed2746lling * with the License.
990b4856d0eaada6f8140335733a1b1771ed2746lling * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
990b4856d0eaada6f8140335733a1b1771ed2746lling * See the License for the specific language governing permissions
990b4856d0eaada6f8140335733a1b1771ed2746lling * and limitations under the License.
990b4856d0eaada6f8140335733a1b1771ed2746lling * When distributing Covered Code, include this CDDL HEADER in each
990b4856d0eaada6f8140335733a1b1771ed2746lling * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
990b4856d0eaada6f8140335733a1b1771ed2746lling * If applicable, add the following below this CDDL HEADER, with the
990b4856d0eaada6f8140335733a1b1771ed2746lling * fields enclosed by brackets "[]" replaced with your own identifying
990b4856d0eaada6f8140335733a1b1771ed2746lling * information: Portions Copyright [yyyy] [name of copyright owner]
990b4856d0eaada6f8140335733a1b1771ed2746lling * CDDL HEADER END
990b4856d0eaada6f8140335733a1b1771ed2746lling * Copyright (c) 1991, 1999 by Sun Microsystems, Inc.
990b4856d0eaada6f8140335733a1b1771ed2746lling * All rights reserved.
990b4856d0eaada6f8140335733a1b1771ed2746llingextern char *dlc_header;
990b4856d0eaada6f8140335733a1b1771ed2746llingstatic void show_address(char *);
990b4856d0eaada6f8140335733a1b1771ed2746llingstatic char *sum_address(void);
990b4856d0eaada6f8140335733a1b1771ed2746llingstatic char *procnames_short[] = {
990b4856d0eaada6f8140335733a1b1771ed2746llingstatic char *procnames_long[] = {
990b4856d0eaada6f8140335733a1b1771ed2746llinginterpret_bparam(flags, type, xid, vers, proc, data, len)
990b4856d0eaada6f8140335733a1b1771ed2746lling "BPARAM C %s",
83d7f9fe6bbb3e281a1ca55fdc5d1ec82ecc3e70Tom Erickson show_header("BPARAM: ", "Boot Parameters", len);
990b4856d0eaada6f8140335733a1b1771ed2746lling "Proc = %d (%s)",
990b4856d0eaada6f8140335733a1b1771ed2746lling "Hostname = %s");
990b4856d0eaada6f8140335733a1b1771ed2746lling "File = %s");
990b4856d0eaada6f8140335733a1b1771ed2746lling "Client name = %s");
990b4856d0eaada6f8140335733a1b1771ed2746lling "Domain name = %s");
990b4856d0eaada6f8140335733a1b1771ed2746lling "Server name = %s");
990b4856d0eaada6f8140335733a1b1771ed2746lling "Server file = %s");
990b4856d0eaada6f8140335733a1b1771ed2746llingstatic char *
990b4856d0eaada6f8140335733a1b1771ed2746lling extern char *inet_ntoa();
990b4856d0eaada6f8140335733a1b1771ed2746lling return ("?");
990b4856d0eaada6f8140335733a1b1771ed2746lling extern char *inet_ntoa();
990b4856d0eaada6f8140335733a1b1771ed2746lling "%s = %s (%s)",
990b4856d0eaada6f8140335733a1b1771ed2746lling "Router addr = ? (type not known)");