summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/net_inject.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/net_inject.9f')
-rw-r--r--usr/src/man/man9f/net_inject.9f27
1 files changed, 7 insertions, 20 deletions
diff --git a/usr/src/man/man9f/net_inject.9f b/usr/src/man/man9f/net_inject.9f
index 8748f9f51b..c446e36370 100644
--- a/usr/src/man/man9f/net_inject.9f
+++ b/usr/src/man/man9f/net_inject.9f
@@ -3,7 +3,7 @@
.\" 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.
.\" 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.
.\" 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]
-.TH net_inject 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers"
+.TH NET_INJECT 9F "May 1, 2008"
.SH NAME
net_inject \- determine if a network interface name exists for a network
protocol
@@ -12,7 +12,7 @@ protocol
.nf
#include <sys/neti.h>
-\fBint\fR \fBnet_inject\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBinject_t\fR \fIstyle\fR,
+\fBint\fR \fBnet_inject\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBinject_t\fR \fIstyle\fR,
\fBnet_inject_t\fR *\fIpacket\fR);
.fi
@@ -23,35 +23,29 @@ Solaris DDI specific (Solaris DDI).
.SH PARAMETERS
.sp
.ne 2
-.mk
.na
\fB\fInet\fR\fR
.ad
.RS 10n
-.rt
value returned from a successful call to \fBnet_protocol_lookup\fR(9F).
.RE
.sp
.ne 2
-.mk
.na
\fB\fIstyle\fR\fR
.ad
.RS 10n
-.rt
method that determines how this packet is to be injected into the network or
kernel.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIpacket\fR\fR
.ad
.RS 10n
-.rt
details about the packet to be injected.
.RE
@@ -107,34 +101,28 @@ See \fBnet_inject_t\fR(9S) for more details on the structure
The \fBnet_inject()\fR function returns:
.sp
.ne 2
-.mk
.na
\fB-1\fR
.ad
.RS 6n
-.rt
The network protocol does not support this function.
.RE
.sp
.ne 2
-.mk
.na
\fB0\fR
.ad
.RS 6n
-.rt
The packet is successfully queued or sent.
.RE
.sp
.ne 2
-.mk
.na
\fB1\fR
.ad
.RS 6n
-.rt
The packet could not be queued up or sent out immediately.
.RE
@@ -151,13 +139,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
.TE
.SH SEE ALSO