Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       pullupmsg(D3)                                          pullupmsg(D3)


       NAME
             pullupmsg - concatenate bytes in a message

       SYNOPSIS
             #include <sys/stream.h>
             #include <sys/ddi.h>
             int pullupmsg(mblk_t *mp, int len);

          Arguments
             mp        Pointer to the message whose blocks are to be
                       concatenated.

             len       Number of bytes to concatenate.

       DESCRIPTION
             pullupmsg concatenates and aligns the first len data bytes of
             the message pointed to by mp, combining multiple message
             blocks into a single block.

             If len equals -1, all data are concatenated.  If len bytes of
             the same message type cannot be found, pullupmsg fails and
             returns 0.

             The memory in the resulting data buffer(s) will be usable for
             DMA operations; that is, it will satisfy the worst-case
             phys_dmasize constraint for the platform (see physreq(D4)).
             If more specific physical memory properties are required, use
             msgpullup_physreq(D3).

          Return Values
             On success, pullupmsg returns 1 and mp points to the altered
             message.  On failure, pullupmsg returns 0.

       USAGE
          Level
             Base or Interrupt.

          Synchronization Constraints
             Does not sleep.

       REFERENCES
             allocb(D3), msgpullup(D3), msgpullup_physreq(D3)

       NOTICES




                           Copyright 1994 Novell, Inc.               Page 1













      pullupmsg(D3)                                          pullupmsg(D3)


         Portability
            All processors

         Applicability
            ddi: 1, 2, 4

            msgpullup(D3) replaces pullupmsg.









































                          Copyright 1994 Novell, Inc.               Page 2








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