Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ppp(7)

ppa(7)                                                               ppa(7)

NAME
     ppa - PPA streams module

DESCRIPTION
     ppa is the module that handles the asynchronous line mode of ppp(7).
     This includes the calculation of the frame check sequence and the map-
     ping of control characters.

     The ppa module is pushed onto a stream above a serial line driver.
     When receiving packets, it accepts a sequence of streams messages and
     processes them. It passes a single stream message up for each full
     packet received. On output it adds the frame start and stop sequences
     and passes the packet down.

     The ppa module is controlled by a series of ioctl's. Each ioctl(2) is
     passed the following ppioctl union.

             typedef unsigned long   pppcharmap;

             long    ppisap;
             long    ppiindx;
             long    ppiflags;
             long    ppimtu;
             long    ppitimeout;
             ppacntt ppicnt;
             pppcharmap ppicharmap;
             struct  ppisetstropts {
                     long    ppssap;
                     long    ppsflags;
             } ppistropts;

     The following options are permitted.

     PPAGETSTATS
          This command returns a ppa_cnt_t structure which contains statis-
          tics about ppa. These include the number of packets dropped and
          the number of raw characters transmitted. This information is
          used by the LQM protocol.

     PPASETRCVMASK, PPASETSNDMASK
          These commands set the asynchronous control mask for reception
          and transmission respectively.

     PPASETMTU, PPAGETMTU
          These commands set/get the maximum transfer unit length for
          transmission.

     PPASETMAXIPKT, PPAGETMAXIPKT
          These commands set/get the maximum receivable packet size.

SEE ALSO
     ppp(7).



Page 1                       Reliant UNIX 5.44                Printed 11/98

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