1502 Remove conversion cruft from manpages
[unleashed.git] / usr / src / man / man9f / net_getnetid.9f
blob5e6f596589eb52d7d92fa196c00eb9cc7fdf4d99
1 '\" te
2 .\" Copyright (C) 2008, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH NET_GETNETID 9F "May 1, 2008"
7 .SH NAME
8 net_getnetid \- returns the instance identifier
9 .SH SYNOPSIS
10 .LP
11 .nf
12 #include <sys/neti.h>
14 \fBnetid_t\fR \fBnet_getnetid\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR);
15 .fi
17 .SH INTERFACE LEVEL
18 .sp
19 .LP
20 Solaris DDI specific (Solaris DDI).
21 .SH PARAMETERS
22 .sp
23 .ne 2
24 .na
25 \fB\fInet\fR\fR
26 .ad
27 .RS 7n
28 value returned from a successful call to \fBnet_protocol_lookup\fR(9F).
29 .RE
31 .SH DESCRIPTION
32 .sp
33 .LP
34 The \fBnet_getnetid()\fR function returns the instance identifier for the
35 protocol instance returned via a call to \fBnet_protocol_lookup\fR(9F).
36 .SH RETURN VALUES
37 .sp
38 .LP
39 The \fBnet_getnetid()\fR function returns the value of the instance identifier.
40 .SH CONTEXT
41 .sp
42 .LP
43 The \fBnet_getnetid()\fR function may be called from user,  kernel, or
44 interrupt context.
45 .SH ATTRIBUTES
46 .sp
47 .LP
48 See \fBattributes\fR(5) for descriptions of the following attributes:
49 .sp
51 .sp
52 .TS
53 box;
54 c | c
55 l | l .
56 ATTRIBUTE TYPE  ATTRIBUTE VALUE
58 Interface Stability     Committed
59 .TE
61 .SH SEE ALSO
62 .sp
63 .LP
64 \fBnet_protocol_lookup\fR(9F)