Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sockcf(SFF) — TCP/IP 1.2.0.i

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(ADMP)

ldsocket(ADMN)

socket(SSC)


 sockcf(SFF)                     19 June 1992                     sockcf(SFF)


 Name

    sockcf - socket configuration file

 Description

    /etc/sockcf contains information about the protocols that are to be
    accessed via the socket interface.  This file is read by ldsocket(ADMN)
    at boot time.

    /etc/sockcf contains one line per protocol which specifies the address
    family, protocol type, protocol number, flags, and STREAMS device for the
    protocol.  The flags describe the behavior of the protocol.

    The format of a protocol line is:

       Family     Type     Protocol     Flags     Device

    Family can be an address family name or an integer.  The following
    address family names are recognized:


    _________________________________________________________________________
    Name          Value     Description
    _________________________________________________________________________
    UNSPEC        0         Unspecified
    UNIX          1         Local to host (pipes, portals)
    INET          2         Internetwork: TCP, UDP, etc.
    IMPLINK       3         Arpanet IMP addresses
    PUP           4         PUP protocols, for example, BSP
    CHAOS         5         MIT CHAOS protocols
    NS            6         XEROX NS protocols
    NBS           7         NBS protocols
    ECMA          8         European Computer Manufacturers
    DATAKIT       9         Datakit protocols
    CCITT         10        CCITT protocols: X.25, etc.
    SNA           11        IBM SNA
    DECnet        12        DECnet
    DLI           13        Direct Data Link Interface
    LAT           14        LAT
    HYLINK        15        NSC Hyperchannel
    APPLETALK     16        Apple Talk

    Type can be a type name or an integer.  The following type names are
    recognized:

    _________________________________________________________________________
    Name           Value      Description
    _________________________________________________________________________
    STREAM         1          Stream socket
    DGRAM          2          Datagram socket
    RAW            3          Raw protocol interface
    RDM            4          Reliably delivered message
    SEQPACKET      5          Sequenced packet stream

    Protocol is the protocol number associated with the protocol.

    Flags is a string of flag characters describing the protocol.  The recog-
    nized flag characters are:

    M    This protocol supports atomic messages only.

    C    Connections are required.

    A    Messages contain addresses.

    R    Rights can be passed with this protocol.

    P    The protocol number must be bound to the stream.  This is required
         to support raw IP sockets.

    /etc/sockcf may contain comments, which are delimited by ``#'' and new-
    line.

    The standard /etc/sockcf contains the following entries:

       INET    STREAM  6   C   /dev/inet/tcp
       INET    DGRAM   17  AM  /dev/inet/udp
       INET    RAW     1   AM  /dev/inet/icmp
       INET    RAW     0   AMP /dev/inet/rip


    Because of the way the kernel builds the protocol switch table, the last
    protocol specified for a type, for example, RAW will become the default.
    For this reason, it is important to ensure that the default protocol is
    the last one listed.

 Files

    /etc/sockcf

 See also

    intro(ADMP), ldsocket(ADMN), socket(SSC)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026