Print this page
4770 soconfig(1M) needs an option to print the in-kernel socket configuration table
   1 SOCONFIG(1M)                 Maintenance Commands                 SOCONFIG(1M)
   2 
   3 
   4 
   5 NAME
   6        soconfig - configure transport providers for use by sockets
   7 
   8 SYNOPSIS
   9        /sbin/soconfig -d dir
  10 
  11 
  12        /sbin/soconfig -f file
  13 
  14 
  15        /sbin/soconfig family type protocol [module | path]
  16 
  17 



  18 DESCRIPTION
  19        The soconfig utility configures the transport provider driver for use
  20        with sockets. It specifies how the family, type, and protocol
  21        parameters in the socket(3SOCKET) call are mapped to the name of a
  22        transport provider such as /dev/tcp. This utility can be used to add an
  23        additional mapping or remove a previous mapping.
  24 
  25 
  26        The init(1M) utility uses soconfig with the sock2path.d(4) directory
  27        during the booting sequence.
  28 
  29 OPTIONS
  30        The following options are supported:
  31 
  32        -d dir
  33                   Set up the soconfig configuration for each driver according
  34                   to  the  information stored in the files in dir.
  35 
  36 
  37        -f file
  38                   Set up the soconfig configuration for each driver according
  39                   to the information stored in file. A soconfig file consists
  40                   of lines of at least the first three fields listed below,
  41                   separated by spaces:
  42 
  43                   family  type  protocol  [module | path]
  44 
  45                   These fields are described in the OPERANDS section below.
  46 
  47                   An example of file can be found in the EXAMPLES section
  48                   below.
  49 
  50 




  51 OPERANDS
  52        The following operands are supported:
  53 
  54        family
  55                         The protocol family as listed in the
  56                         /usr/include/sys/socket.h file, expressed as an
  57                         integer.
  58 
  59 
  60        type
  61                         The socket type as listed in the
  62                         /usr/include/sys/socket.h file, expressed as an
  63                         integer.
  64 
  65 
  66        protocol
  67                         The protocol number as specified in the family-specific
  68                         include file, expressed as an integer. For example,
  69                         for AF_INET this number is specified in
  70                         /usr/include/netinet/in.h. An unspecified protocol


 119                1       1       0          /dev/ticlts
 120 
 121                2       4       0          icmp
 122 
 123 
 124 
 125 FILES
 126        /etc/sock2path.d
 127                          Directory containing files with mappings from sockets
 128                          to transport providers.
 129 
 130 
 131 SEE ALSO
 132        init(1M), sock2path.d(4), attributes(5)
 133 
 134 
 135        Network Interface Guide
 136 
 137 
 138 
 139                                 April 12, 2014                    SOCONFIG(1M)
   1 SOCONFIG(1M)                 Maintenance Commands                 SOCONFIG(1M)
   2 
   3 
   4 
   5 NAME
   6        soconfig - configure transport providers for use by sockets
   7 
   8 SYNOPSIS
   9        /sbin/soconfig -d dir
  10 
  11 
  12        /sbin/soconfig -f file
  13 
  14 
  15        /sbin/soconfig family type protocol [module | path]
  16 
  17 
  18        /sbin/soconfig -l
  19 
  20 
  21 DESCRIPTION
  22        The soconfig utility configures the transport provider driver for use
  23        with sockets. It specifies how the family, type, and protocol
  24        parameters in the socket(3SOCKET) call are mapped to the name of a
  25        transport provider such as /dev/tcp. This utility can be used to add an
  26        additional mapping or remove a previous mapping.
  27 
  28 
  29        The init(1M) utility uses soconfig with the sock2path.d(4) directory
  30        during the booting sequence.
  31 
  32 OPTIONS
  33        The following options are supported:
  34 
  35        -d dir
  36                   Set up the soconfig configuration for each driver according
  37                   to  the  information stored in the files in dir.
  38 
  39 
  40        -f file
  41                   Set up the soconfig configuration for each driver according
  42                   to the information stored in file. A soconfig file consists
  43                   of lines of at least the first three fields listed below,
  44                   separated by spaces:
  45 
  46                   family  type  protocol  [module | path]
  47 
  48                   These fields are described in the OPERANDS section below.
  49 
  50                   An example of file can be found in the EXAMPLES section
  51                   below.
  52 
  53 
  54        -l
  55                   Print the in-kernel socket configuration table.
  56 
  57 
  58 OPERANDS
  59        The following operands are supported:
  60 
  61        family
  62                         The protocol family as listed in the
  63                         /usr/include/sys/socket.h file, expressed as an
  64                         integer.
  65 
  66 
  67        type
  68                         The socket type as listed in the
  69                         /usr/include/sys/socket.h file, expressed as an
  70                         integer.
  71 
  72 
  73        protocol
  74                         The protocol number as specified in the family-specific
  75                         include file, expressed as an integer. For example,
  76                         for AF_INET this number is specified in
  77                         /usr/include/netinet/in.h. An unspecified protocol


 126                1       1       0          /dev/ticlts
 127 
 128                2       4       0          icmp
 129 
 130 
 131 
 132 FILES
 133        /etc/sock2path.d
 134                          Directory containing files with mappings from sockets
 135                          to transport providers.
 136 
 137 
 138 SEE ALSO
 139        init(1M), sock2path.d(4), attributes(5)
 140 
 141 
 142        Network Interface Guide
 143 
 144 
 145 
 146                                  May 21, 2015                     SOCONFIG(1M)