xref: /titanic_51/usr/src/man/man4/sock2path.d.4 (revision 68b2bbf26c7040fea4281dcb58b81e7627e46f34)
te
Copyright (c) 2008, Sun Microsystems, Inc.
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]
SOCK2PATH.D 4 "Apr 12, 2014"
NAME
sock2path.d - socket mapping files that map sockets to transport providers
SYNOPSIS

/etc/sock2path.d
DESCRIPTION

/etc/sock2path.d is a directory containing files with mappings between the socket(3SOCKET) call parameters and the transport provider driver. The mapping file format is described in the soconfig(1M) manual page.

The init(1M) utility uses the soconfig utility with the sock2path.d directory during the boot sequence.

EXAMPLES

Example 1 An Example of a Mapping File

The following is an example of a mapping file:

# Family Type Protocol Module | Path
 2 2 0 tcp
 2 2 6 tcp
 26 2 0 tcp
 26 2 6 tcp
 2 1 0 udp
 2 1 17 udp
 26 1 0 udp
 26 1 17 udp
 1 2 0 /dev/ticotsord
 1 6 0 /dev/ticotsord
 1 1 0 /dev/ticlts
 2 4 0 icmp
 26 4 0 icmp
 24 4 0 rts
 27 4 2 /dev/keysock
SEE ALSO

init(1M), soconfig(1M), socket(3SOCKET)