Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DLproc_llc(3dlpi) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       DLproc_llc(3dlpi)                                  DLproc_llc(3dlpi)


       NAME
             DLproc_llc - process non-Ethernet V-2.0 frames

       SYNOPSIS
             DLproc_llc(queue_t *q, mblk_t *mp_data)

          Parameters
            q           queue representing the controlling stream

            mp_data     The M_DATA STREAMS message block containing the
                         frame.

       DESCRIPTION
             This routine is called by the DLrsrv() function to processes
             all non Ethernet V-2.0 frames.  Different frame types are
             processed differently.  The algorithm is as follows:

                   If this function is called for a RAW SAP, an M_PROTO
                   containing a DL_UNITDATA_IND primitive is returned.
                   Failure to allocate the M_PROTO message block will force
                   a return value of NULL.

                   Currently the provider honors only TEST response PDUs.
                   All other non TEST response PDUs are discarded.  All
                   incoming TEST response PDUs are converted into
                   DL_TEST_CON primitives and send up-stream.  Processing
                   of all test response PDUs will result in a '1' being
                   returned to the PDLrsrv() routine.

                   All incoming Unnumbered information (UI) LPDUs are
                   converted into M_PROTOs containing DL_UNITDATA_IND
                   primitives.  Failure to allocate the M_PROTO message
                   block will result in a return value of NULL.

                   All incoming TEST request LPDUs will be responded to
                   directly by the Ethernet drivers.  Each TEST request
                   LPDU will result in a TEST response PDU being sent back
                   to the originator.  Processing of all TEST request LPDUs
                   result in a return value of NULL.

                   All incoming XID request LPDUs will be responded to
                   directly by the Ethernet drivers.  Each XID request LPDU
                   will result in a XID response PDU being sent back to the
                   originator.  Processing of all XID request LPDUs result
                   in a return value of NULL.



                           Copyright 1994 Novell, Inc.               Page 1













      DLproc_llc(3dlpi)                                  DLproc_llc(3dlpi)


            All TEST and XID response LPDUs are directly handed over to
            the DLxmit_packet() routine.  All discarded messages will
            result in the ifInDiscards field of mib structure being
            incremented.

         Response
           mblk_t*     The message block containing the DL_TEST_CON
                        primitive or NULL.

         Layer
            Hardware Independent.

      REFERENCES
         Hardware Independent Layer Functions Called
           DLmk_ud_ind()

           DLform_802223()

           DLmk_test_con()

         Hardware Dependent Layer Functions Called
           DLxmit_packet()


























                          Copyright 1994 Novell, Inc.               Page 2








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