diff options
author | Sergio Aguayo <sergioag@qmailhosting.net> | 2020-08-27 06:00:14 -0500 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2020-08-28 07:00:03 -0700 |
commit | 638bc9f013400030354ab6566ae2a5726f7580fa (patch) | |
tree | 9f8373ba799fb5b7c231e05e600800dc57dcd764 | |
parent | 7611ab7b771a068fbab94a90143de2afd495769f (diff) | |
download | illumos-joyent-638bc9f013400030354ab6566ae2a5726f7580fa.tar.gz |
12752 getipsecprotobyname(3NSL) synopsis is incomplete
Reviewed by: Dan McDonald <danmcd@joyent.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
-rw-r--r-- | usr/src/man/man3nsl/getipsecprotobyname.3nsl | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/usr/src/man/man3nsl/getipsecprotobyname.3nsl b/usr/src/man/man3nsl/getipsecprotobyname.3nsl index 41a8a09310..fe636c4fd6 100644 --- a/usr/src/man/man3nsl/getipsecprotobyname.3nsl +++ b/usr/src/man/man3nsl/getipsecprotobyname.3nsl @@ -1,30 +1,27 @@ '\" te .\" Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved +.\" Copyright (C) 2020, Sergio Aguayo. All Rights Reserved .\" 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 GETIPSECPROTOBYNAME 3NSL "Aug 13, 2003" +.TH GETIPSECPROTOBYNAME 3NSL "Aug 27, 2020" .SH NAME getipsecprotobyname, getipsecprotobynum \- query IPsec protocols entries .SH SYNOPSIS -.LP .nf \fBcc \fR\fB-flag \&.\|.\|.\fR \fIfile \fR\&.\|.\|.\fB-l\fRnsl [\fB -library \&.\|.\|. \fR] #include <netdb.h> - -\fBint\fR \fBgetipsecprotobyname\fR(\fBconst char *\fR\fIproto_name\fR +\fBint\fR \fBgetipsecprotobyname\fR(\fBconst char *\fR\fIproto_name\fR); .fi .LP .nf -\fBchar *\fR\fBgetipsecprotobynum\fR(\fBint\fR \fIproto_num\fRp +\fBchar *\fR\fBgetipsecprotobynum\fR(\fBint\fR \fIproto_num\fR); .fi .SH DESCRIPTION -.sp -.LP Use the \fBgetipsecprotobyname()\fR and \fBgetipsecprotobynum()\fR functions to obtain the IPsec algorithm mappings that are defined by \fBipsecalgs\fR(1M). You can also use the \fBgetipsecprotobyname()\fR and \fBgetipsecprotobynum()\fR @@ -66,7 +63,6 @@ provide authentication. .RE .SH PARAMETERS -.sp .ne 2 .na \fB\fIproto_name\fR\fR @@ -81,12 +77,10 @@ A pointer to the name of an IPsec protocol. \fB\fIproto_num\fR\fR .ad .RS 14n -A pointer to a protocol number. conditions. +A pointer to a protocol number. .RE .SH RETURN VALUES -.sp -.LP The \fBgetipsecprotobyname()\fR function returns a protocol number upon success, or \fB-1\fR if the protocol specified does not exist. .sp @@ -94,12 +88,8 @@ success, or \fB-1\fR if the protocol specified does not exist. The \fBgetipsecprotobynum()\fR function returns a protocol name upon success, or the \fINULL\fR value if the protocol number specified does not exist. .SH ATTRIBUTES -.sp -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp - -.sp .TS box; c | c @@ -111,8 +101,6 @@ Interface Stability Evolving .TE .SH SEE ALSO -.sp -.LP \fBipsecalgs\fR(1M), \fBgetipsecalgbyname\fR(3NSL), \fBgetipsecalgbyname\fR(3NSL), \fBattributes\fR(5) .sp |