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