1275970Scy/* 2275970Scy * CDDL HEADER START 3275970Scy * 4275970Scy * The contents of this file are subject to the terms of the 5275970Scy * Common Development and Distribution License (the "License"). 6275970Scy * You may not use this file except in compliance with the License. 7275970Scy * 8275970Scy * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9275970Scy * or http://www.opensolaris.org/os/licensing. 10275970Scy * See the License for the specific language governing permissions 11275970Scy * and limitations under the License. 12275970Scy * 13275970Scy * When distributing Covered Code, include this CDDL HEADER in each 14275970Scy * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15275970Scy * If applicable, add the following below this CDDL HEADER, with the 16275970Scy * fields enclosed by brackets "[]" replaced with your own identifying 17275970Scy * information: Portions Copyright [yyyy] [name of copyright owner] 18275970Scy * 19275970Scy * CDDL HEADER END 20275970Scy * 21275970Scy * Portions Copyright 2006-2008 John Birrell jb@freebsd.org 22275970Scy * 23275970Scy * $FreeBSD$ 24275970Scy */ 25275970Scy 26275970Scy/* 27275970Scy * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 28275970Scy * Use is subject to license terms. 29275970Scy */ 30275970Scy 31275970Scy#pragma ident "%Z%%M% %I% %E% SMI" 32275970Scy 33275970Scy/* 34275970Scy * The conninfo_t structure should be used by all application protocal 35275970Scy * providers as the first arguments to indicate some basic information 36275970Scy * about the connection. This structure may be augmented to accomodate 37275970Scy * the particularities of additional protocols in the future. 38275970Scy */ 39275970Scytypedef struct conninfo { 40275970Scy string ci_local; /* local host address */ 41275970Scy string ci_remote; /* remote host address */ 42275970Scy string ci_protocol; /* protocol (ipv4, ipv6, etc) */ 43275970Scy} conninfo_t; 44275970Scy