Print this page
4544 sock2path(4) man page needs to be updated for configuration fragments
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Marcel Telka <marcel@telka.sk>
   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc.
   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 SOCK2PATH 4 "Nov 4, 2008"
   7 .SH NAME
   8 sock2path \- socket mapping file that maps sockets to transport providers
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fB/etc/sock2path\fR
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  18 The socket mapping file, \fB/etc/sock2path\fR, is a system file that contains
  19 the mappings between the \fBsocket\fR(3SOCKET) call parameters and the
  20 transport provider driver. Its format is described on the \fBsoconfig\fR(1M)
  21 manual page.
  22 .sp
  23 .LP
  24 The \fBinit\fR(1M) utility uses the \fBsoconfig\fR utility with the
  25 \fBsock2path\fR file during the boot sequence.
  26 .SH EXAMPLES
  27 .LP
  28 \fBExample 1 \fRAn Example of the \fBsock2path\fR File
  29 .sp
  30 .LP
  31 The following is an example of a \fBsock2path\fR file:
  32 
  33 .sp
  34 .in +2
  35 .nf
  36 # Family    Type    Protocol    Module | Path
  37      2       2         0          tcp
  38      2       2         6          tcp
  39      26      2         0          tcp
  40      26      2         6          tcp
  41      2       1         0          udp
  42      2       1        17          udp
  43     26       1         0          udp
  44     26       1        17          udp
  45      1       2         0          /dev/ticotsord
  46      1       6         0          /dev/ticotsord
  47      1       1         0          /dev/ticlts
  48      2       4         0          icmp
  49     26       4         0          icmp
  50     24       4         0          rts
  51     27       4         2          /dev/keysock
   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc.
   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 SOCK2PATH.D 4 "Apr 12, 2014"
   7 .SH NAME
   8 sock2path.d \- socket mapping files that map sockets to transport providers
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fB/etc/sock2path.d\fR
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  18 \fB/etc/sock2path.d\fR is a directory containing files with mappings
  19 between the \fBsocket\fR(3SOCKET) call parameters and the transport
  20 provider driver.  The mapping file format is described in the
  21 \fBsoconfig\fR(1M) manual page.
  22 .sp
  23 .LP
  24 The \fBinit\fR(1M) utility uses the \fBsoconfig\fR utility with the
  25 \fBsock2path.d\fR directory during the boot sequence.
  26 .SH EXAMPLES
  27 .LP
  28 \fBExample 1 \fRAn Example of a Mapping File
  29 .sp
  30 .LP
  31 The following is an example of a mapping file:
  32 
  33 .sp
  34 .in +2
  35 .nf
  36 # Family    Type    Protocol    Module | Path
  37      2       2         0          tcp
  38      2       2         6          tcp
  39      26      2         0          tcp
  40      26      2         6          tcp
  41      2       1         0          udp
  42      2       1        17          udp
  43     26       1         0          udp
  44     26       1        17          udp
  45      1       2         0          /dev/ticotsord
  46      1       6         0          /dev/ticotsord
  47      1       1         0          /dev/ticlts
  48      2       4         0          icmp
  49     26       4         0          icmp
  50     24       4         0          rts
  51     27       4         2          /dev/keysock