initsock(1Mtcp)


initsock -- initialize or update in-kernel sockets

Synopsis

initsock [-cdv] [-C dev] [-a family type proto dev ...]

Description

initsock initializes or updates the in-kernel socket system's idea of which device represents which socket family, type and protocol. This information is read from the file /etc/netconfig (see netconfig(4bnu)).

initsock in invoked by init at system startup (see init(1M)).

initsock understands the following options:


-c
Check what would happen without making any in-kernel changes.

-d
Delete all existing in-kernel entries.

-v
Verbose operation.

-C dev
Specify a control socket device that will be opened to initialize the in-kernel table via ioctl messages. The device should be an existing clonable STREAMS device. The default device is /dev/ticlts.

-a family type proto dev
Do not read configuration file but add the specified family, type, protocol, and device. This option may be specified multiple times.

References

init(1M), inittab(4), netconfig(4bnu), ticlts(7sock)

Notices

initsock does not need to be run if the order of lookup libraries is changed in /etc/netconfig.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004