Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ slip(7N) — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

slconfig(1M)

slattach(1M)

ifconfig(1M)



SLIP(7N)            RISC/os Reference Manual             SLIP(7N)



NAME
     slip - serial line internet protocol STREAMS module

SYNOPSIS
     #include <sys/types.h>
     #include <stropts.h>
     #include <sys/slip.h>

     ioctl(fd, IPUSH, "slip");

DESCRIPTION
     slip is a STREAMS module that interprets data coming from
     below it in the stream according to the SLIP protocol
     description.  It unwraps asynchronous frames and forwards
     the contents to the IP network code, and also creates net-
     work interfaces and receives packets from these which it
     wraps into SLIP frames it sends downstream to the terminal
     port.  This module will usually be the only one between the
     device driver streams module and the stream head.

     The user program that pushes this module on a stream must
     not exit if it wants the SLIP connection to remain, since
     closing the terminal line file descriptor will release the
     entire stream.  The header file defines some new ioctl codes
     that may be used to interact with the module.  They are:

     SLIOGUNIT
          retrieves the interface unit number of the configured
          slip stream into the integer pointed at by the ioctl
          parameter.

     SLIOGSTATS
          retrieves a structure with various event counts into
          the area pointed at by the parameter.  The structure is
          defined as:

          struct slipstat {
               uint sl_ibytes;     /* data bytes in */
               uint sl_ipackets;   /* data packets in */
               uint sl_ierrors;    /* input errors */
               uint sl_obytes;     /* data bytes out */
               uint sl_opackets;   /* data packets out */
               uint sl_oerrors;    /* output errors */
          };


     SLIOSFLAGS
          sets flags in the slip module.  Currently there are no
          flags to set.

     Note that once a M_HANGUP message has been received on the
     stream, all ioctl requests will fail.



                        Printed 11/19/92                   Page 1





SLIP(7N)            RISC/os Reference Manual             SLIP(7N)



     The header file also defines SLIPIFNAME as the network
     interface base name.  Individual interfaces will use this
     string with a number appended as their interface name.

SEE ALSO
     slconfig(1M), slattach(1M), ifconfig(1M).
     RFC1055, "A Nonstandard for Transmission of IP Datagrams
     over Serial Lines: SLIP"















































 Page 2                 Printed 11/19/92



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