Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DLtest_req(3dlpi) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DLtest_req(3dlpi)






       DLtest_req(3dlpi)                                  DLtest_req(3dlpi)


       NAME
             DLtest_req - process DL_TEST_REQ primitive

       SYNOPSIS
             DLtest_req(queue_t *q, mblk_t *mp)

          Parameters
            q           pointer to the write queue

            mp          message pointer

       DESCRIPTION
             This function processes the DL_TEST_REQ primitive.  A call to
             this primitive results in a 802.2/802.3 frame being sent out.
             The control field of the LLC header is set to LLC_TEST.

             If the state is not DL_IDLE, a DL_OUTSTATE error is returned
             by calling DLerror_ack.  Only DL_CSMACD SAPs that are not RAW
             SAPs or SNAP SAPs can issue this primitive.  If an invalid SAP
             tries to issue this primitive, a DL_UDERROR_IND is returned
             with the error type set to DL_UDERROR_IND.  Similarly if the
             amount of user data accompanying the request is greater than
             the max_spdu, a DL_UDERROR_IND primitive is returned with the
             error type set to DL_BADDATA.

             To transfer packets to the network the DLxmit_packet routine
             is called or the data is put back in its queue, based on the
             TX_BUSY flag of the board configuration structure.  If data is
             put in back in its write queue, the TX_QUEUED flag is set in
             the board configuration structure.  Further, the ifOutQlen
             field of the MIB structure is incremented.

             It is up to DLxmit_packet to free the message passed to it by
             DLunitdata_req.

          Response
            status      DL_NOTINIT, DL_OUTSTATE, DL_BADDATA,
                         DL_UNDELIVERABLE, DL_UNSUPPORTED.

          Layer
             Hardware Independent.

       REFERENCES
             the section ``The DLPI Network Driver Framework'' of the book
             STREAMS Modules and Drivers for the details of the
             DLxmit_packet


                           Copyright 1994 Novell, Inc.               Page 1













      DLtest_req(3dlpi)                                  DLtest_req(3dlpi)


         Hardware Independent Layer Functions Called
           DLerror_ack

           DLuderror_ind

         Hardware Dependent Layer Functions Called
           DLxmit_packet









































                          Copyright 1994 Novell, Inc.               Page 2








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