1*ba2539a9Schs /* $NetBSD: net.d,v 1.3 2018/05/28 21:05:09 chs Exp $ */ 201c9547eSdarran 3bb8023b5Sdarran /* 4bb8023b5Sdarran * CDDL HEADER START 5bb8023b5Sdarran * 6bb8023b5Sdarran * The contents of this file are subject to the terms of the 7bb8023b5Sdarran * Common Development and Distribution License (the "License"). 8bb8023b5Sdarran * You may not use this file except in compliance with the License. 9bb8023b5Sdarran * 10bb8023b5Sdarran * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11bb8023b5Sdarran * or http://www.opensolaris.org/os/licensing. 12bb8023b5Sdarran * See the License for the specific language governing permissions 13bb8023b5Sdarran * and limitations under the License. 14bb8023b5Sdarran * 15bb8023b5Sdarran * When distributing Covered Code, include this CDDL HEADER in each 16bb8023b5Sdarran * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17bb8023b5Sdarran * If applicable, add the following below this CDDL HEADER, with the 18bb8023b5Sdarran * fields enclosed by brackets "[]" replaced with your own identifying 19bb8023b5Sdarran * information: Portions Copyright [yyyy] [name of copyright owner] 20bb8023b5Sdarran * 21bb8023b5Sdarran * CDDL HEADER END 22bb8023b5Sdarran * 23bb8023b5Sdarran * Portions Copyright 2006-2008 John Birrell jb@freebsd.org 24bb8023b5Sdarran * 25*ba2539a9Schs * $FreeBSD: head/cddl/lib/libdtrace/net.d 179189 2008-05-22 04:26:42Z jb $ 26bb8023b5Sdarran */ 27bb8023b5Sdarran 28bb8023b5Sdarran /* 29bb8023b5Sdarran * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 30bb8023b5Sdarran * Use is subject to license terms. 31bb8023b5Sdarran */ 32bb8023b5Sdarran 33bb8023b5Sdarran #pragma ident "%Z%%M% %I% %E% SMI" 34bb8023b5Sdarran 35bb8023b5Sdarran /* 36bb8023b5Sdarran * The conninfo_t structure should be used by all application protocal 37bb8023b5Sdarran * providers as the first arguments to indicate some basic information 38bb8023b5Sdarran * about the connection. This structure may be augmented to accomodate 39bb8023b5Sdarran * the particularities of additional protocols in the future. 40bb8023b5Sdarran */ 41bb8023b5Sdarran typedef struct conninfo { 42bb8023b5Sdarran string ci_local; /* local host address */ 43bb8023b5Sdarran string ci_remote; /* remote host address */ 44bb8023b5Sdarran string ci_protocol; /* protocol (ipv4, ipv6, etc) */ 45bb8023b5Sdarran } conninfo_t; 46