Skip to content

Commit

Permalink
[illumos-gate merge]
Browse files Browse the repository at this point in the history
commit 2b7f4bc
    8257 ifconfig configinfo confuses mtu with metric
commit 469e2fc
    4713 rpc_svc_create(3nsl): "for the given program" is strange
  • Loading branch information
jjelinek committed May 25, 2017
2 parents 4cc483d + 2b7f4bc commit 84bcaf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ifconfig.c
Expand Up @@ -3088,7 +3088,7 @@ configinfo(char *null, int64_t param)
}
if (((flags & (IFF_VIRTUAL|IFF_LOOPBACK)) != IFF_VIRTUAL) &&
ioctl(s, SIOCGLIFMTU, (caddr_t)&lifr) >= 0)
(void) printf(" mtu %d", lifr.lifr_metric);
(void) printf(" mtu %u", lifr.lifr_mtu);

/* Index only applies to the zeroth interface */
if (lifnum(name) == 0) {
Expand Down
9 changes: 5 additions & 4 deletions usr/src/man/man3nsl/rpc_svc_create.3nsl
Expand Up @@ -5,7 +5,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 RPC_SVC_CREATE 3NSL "Nov 24, 2014"
.TH RPC_SVC_CREATE 3NSL "May 18, 2017"
.SH NAME
rpc_svc_create, svc_control, svc_create, svc_destroy, svc_dg_create,
svc_fd_create, svc_raw_create, svc_tli_create, svc_tp_create, svc_vc_create,
Expand Down Expand Up @@ -44,7 +44,7 @@ svc_door_create \- server handle creation routines

.LP
.nf
\fBSVCXPRT *\fR\fBsvc_raw_create\fR(void)
\fBSVCXPRT *\fR\fBsvc_raw_create\fR(void);
.fi

.LP
Expand Down Expand Up @@ -350,9 +350,10 @@ bound. The server is not registered with the \fBrpcbind\fR(1M) service.
\fB\fBsvc_door_create()\fR\fR
.ad
.RS 21n
This routine creates an RPC server handle over doors and returns a pointer to
This routine creates an RPC server handle over doors for the given program
\fIprognum\fR and version \fIversnum\fR and returns a pointer to
it. Doors is a transport mechanism that facilitates fast data transfer between
processes on the same machine. for the given program The user may set the size
processes on the same machine. The user may set the size
of the send buffer with the parameter \fIsendsz\fR. If \fIsendsz\fR is 0, the
corresponding default buffer size is 16 Kbyte. If successful, the
\fBsvc_door_create()\fR routine returns the service handle. Otherwise it
Expand Down

0 comments on commit 84bcaf3

Please sign in to comment.