Mac OS 9
OpenTransportKernel.h File Reference

Definitions for Open Transport kernel code, such as drivers and protocol modules. More...

Go to the source code of this file.

Data Structures

struct  install_info
 
struct  T_MIB_req
 
struct  T_MIB_ack
 
struct  T_stream_timer
 
struct  TPortRecord
 
struct  OTPCIInfo
 

Macros

#define OTKERNEL   1
 
#define enableok(q)   ((q)->q_flag &= ~QNOENB)
 
#define noenable(q)   ((q)->q_flag |= QNOENB)
 
#define OTHERQ(q)   (((q)->q_flag & QREADR) ? WR(q) : RD(q))
 
#define RD(q)   (&q[-1])
 
#define WR(q)   (&q[1])
 
#define sprintf   mi_sprintf
 
#define printf   OTKernelPrintf
 
#define GetEError(v)   ((OTUnixErr)(((v) >> 16) & 0xffff))
 
#define GetXTIError(v)   ((OTXTIErr)((v) & 0xffff))
 
#define MakeTPIEError(e)   ((OTError)(((((UInt16)(e)) << 16) | TSYSERR)))
 
#define MakeDLPIEError(e)   ((OTError)(((((UInt16)(e)) << 16) | DL_SYSERR)))
 
#define MakeXTIError(xti)   ((OTError)(xti))
 
#define MakeOTError(xti, e)   ((OTError)((xti) | ((UInt16)(e)) << 16))
 
#define kOTModuleInterfaceID   kOTModulePrefix "StrmMod"
 
#define getmajor(x)   ((major_t)(((unsigned long)(x) >> 16) & 0xffff))
 
#define getminor(x)   ((minor_t)((x) & 0xffff))
 
#define makedev(x, y)   ((dev_t)((((dev_t)(x)) << 16) | ((y) & 0xffff)))
 
#define getemajor   getmajor
 
#define geteminor   getminor
 
#define makedevice   makedev
 
#define etoimajor(majnum)   (majnum)
 
#define itoemajor(majnum, j)   (majnum)
 
#define STRLOG(q, lvl, flags, str)   OTStrlog(q, lvl, flags, str)
 
#define STRLOG1(q, lvl, flags, str)
 
#define STRLOG2(q, lvl, flags, str)
 
#define kOTPortScannerPrefix   "ot:pScnr$"
 
#define kOTPortScannerInterfaceID   kOTKernelPrefix "pScnr"
 
#define kOTPseudoPortScannerInterfaceID   kOTKernelPrefix "ppScnr"
 
#define kOTCompatPortScannerInterfaceID   kOTKernelPrefix "cpScnr"
 
#define kOTPortScannerCFMTag   kOTKernelPrefix "pScnr"
 
#define kOTPseudoPortScannerCFMTag   kOTKernelPrefix "ppScnr"
 
#define kOTCompatPortScannerCFMTag   kOTKernelPrefix "cpScnr"
 
#define kOTScanPortsID   "OTScanPorts"
 
#define calloc   (DONT_CALL * THIS_FUNCTION)
 
#define malloc   (DONT_CALL * THIS_FUNCTION)
 
#define realloc   (DONT_CALL * THIS_FUNCTION)
 
#define free   (DONT_CALL * THIS_FUNCTION)
 
#define bcopy(s, d, l)   OTMemcpy(d, s, l)
 
#define bzero(d, l)   OTMemzero(d, (OTByteCount)(l))
 
#define bcmp(s, d, l)   mi_bcmp(s, d, l)
 
#define BCOPY(s, d, l)   bcopy((const char *)(s), (char *)(d), l)
 
#define BZERO(d, l)   bzero((char *)(d), l)
 
#define BCMP(s, d, l)   mi_bcmp((const char *)(s), (const char *)(d), l)
 
#define HEAD_SIZE(mp)   ((mp)->b_rptr - (mp)->b_datap->db_base)
 
#define TAIL_SIZE(mp)   ((mp)->b_datap->db_lim - (mp)->b_wptr)
 
#define MBLK_SIZE(mp)   ((mp)->b_wptr - (mp)->b_rptr)
 
#define DBLK_SIZE(mp)   ((mp)->b_datap->db_lim - (mp)->b_datap->db_base)
 
#define MI_COPY_IN   1
 
#define MI_COPY_OUT   2
 
#define MI_COPY_DIRECTION(mp)   (((UInt8 *)&(mp)->b_cont->b_prev)[0])
 
#define MI_COPY_COUNT(mp)   (((UInt8 *)&(mp)->b_cont->b_prev)[1])
 
#define MI_COPY_RVAL(mp)   (*(OTInt32 *)&(mp)->b_cont->b_next)
 
#define MI_COPY_CASE(dir, cnt)   ((OTInt32)(((cnt) << 2) | dir))
 
#define MI_COPY_STATE(mp)    ((OTInt32)MI_COPY_CASE(MI_COPY_DIRECTION(mp), MI_COPY_COUNT(mp)))
 
#define OTPCIServiceType(devType, framingFlags, isTPI, isDLPI)
 
#define kDescriptorProperty   "driver-descriptor"
 
#define kDriverProperty   "driver,AAPL,MacOS,PowerPC"
 
#define kDriverPtrProperty   "driver-ptr"
 
#define kSlotProperty   "AAPL,slot-name"
 

Typedefs

typedef long OTError
 
typedef struct install_info install_info
 
typedef UInt16 major_t
 
typedef UInt16 minor_t
 
typedef struct T_MIB_req T_MIB_req
 
typedef struct T_MIB_ack T_MIB_ack
 
typedef struct T_stream_timer T_stream_timer
 
typedef struct TPortRecord TPortRecord
 
typedef UInt8 MPS_INTR_STATE
 
typedef mblk_tmp
 
typedef struct OTPCIInfo OTPCIInfo
 

Enumerations

enum  { kOTPrintOnly = 0 , kOTPrintThenStop = 1 }
 
enum  { CE_CONT = 0 , CE_NOTE = 0 , CE_WARN = 1 , CE_PANIC = 2 }
 
enum  {
  SQLVL_QUEUE = 1 , SQLVL_QUEUEPAIR = 2 , SQLVL_MODULE = 3 , SQLVL_GLOBAL = 4 ,
  SQLVL_DEFAULT = 3
}
 
enum  {
  kOTModIsDriver = 0x00000001 , kOTModIsModule = 0x00000002 , kOTModNoWriter = 0x00000010 , kOTModUpperIsTPI = 0x00001000 ,
  kOTModUpperIsDLPI = 0x00002000 , kOTModLowerIsTPI = 0x00004000 , kOTModLowerIsDLPI = 0x00008000 , kOTModGlobalContext ,
  kOTModUsesInterrupts , kOTModIsComplexDriver , kOTModIsFilter
}
 
enum  { kFirstMinorNumber = 10 }
 
enum  {
  kOTLvlFatal = 0 , kOTLvlNonfatal = 1 , kOTLvlExtFatal = 2 , kOTLvlExtNonfatal = 3 ,
  kOTLvlUserErr = 4 , kOTLvlInfoErr = 5 , kOTLvlInfoOnly = 6
}
 
enum  { T_TIMER_REQ = 80 , T_MIB_REQ = 81 , T_MIB_ACK = 82 , T_PRIVATE_REQ = 90 }
 
enum  { kOTInitialScan = 0 , kOTScanAfterSleep = 1 }
 
enum  { kOTMinimumTimerValue = 8 }
 
enum  { kOTPCINoErrorStayLoaded = 1 }
 
enum  { kMaxServices = 20 }
 

Functions

mblk_tallocb (OTByteCount size, OTInt32 pri)
 
typedef CALLBACK_API_C (void, allocbiProc)(char *arg)
 
mblk_tallocbi (OTByteCount size, OTInt32 pri, allocbiProc pfv, char *arg, unsigned char *base)
 
queue_tallocq (void)
 
OTInt32 adjmsg (mblk_t *mp, OTInt32 len_param)
 
queue_tbackq (queue_t *q)
 
OTInt32 bcanput (queue_t *q, OTUInt8Param pri)
 
OTInt32 bcanputnext (queue_t *q, OTUInt8Param pri)
 
OTInt32 bufcall (OTByteCount memNeeded, OTInt32 pri, bufcallp_t proc, long context)
 
OTInt32 canput (queue_t *q)
 
OTInt32 canputnext (queue_t *q)
 
mblk_tcopyb (mblk_t *mp)
 
mblk_tcopymsg (mblk_t *mp)
 
mblk_tdupb (mblk_t *mp)
 
mblk_tdupmsg (mblk_t *mp)
 
mblk_tesballoc (unsigned char *base, OTByteCount size, OTInt32 pri, frtn_t *freeInfo)
 
mblk_tesballoca (unsigned char *base, OTByteCount size, OTInt32 pri, frtn_t *freeInfo)
 
typedef CALLBACK_API_C (void, esbbcallProc)(long arg)
 
OTInt32 esbbcall (OTInt32 pri, esbbcallProc func, long arg)
 
void flushband (queue_t *q, OTUInt8Param pri, OTInt32 flag)
 
void flushq (queue_t *q, OTInt32 flag)
 
void freeb (mblk_t *mp)
 
void freemsg (mblk_t *mp)
 
OTInt32 freeq (queue_t *q)
 
OTInt32 freezestr (queue_t *q)
 
admin_t getadmin (OTUInt16Param mid)
 
unsigned short getmid (char *name)
 
mblk_tgetq (queue_t *q)
 
OTInt32 insq (queue_t *q, mblk_t *emp, mblk_t *nmp)
 
void linkb (mblk_t *mp1, mblk_t *mp2)
 
typedef CALLBACK_API_C (void, mpnotifyProc)(char *arg)
 
OTInt32 mpnotify (mblk_t *mp, mpnotifyProc pfv, char *arg)
 
OTInt32 msgdsize (const mblk_t *mp)
 
mblk_tmsgpullup (mblk_t *mp, OTInt32 len)
 
OTInt32 pullupmsg (mblk_t *mp, OTInt32 len)
 
OTInt32 put (queue_t *q, mblk_t *mp)
 
OTInt32 putbq (queue_t *q, mblk_t *mp)
 
OTInt32 putctl (queue_t *q, OTInt32 mType)
 
OTInt32 putnextctl (queue_t *q, OTInt32 mType)
 
OTInt32 putctl1 (queue_t *q, OTInt32 mType, OTInt32 c)
 
OTInt32 putnextctl1 (queue_t *q, OTInt32 mType, OTInt32 c)
 
OTInt32 putctl2 (queue_t *q, OTInt32 mType, OTInt32 c1, OTInt32 c2)
 
OTInt32 puthere (queue_t *q, mblk_t *mp)
 
OTInt32 putnext (queue_t *q, mblk_t *mp)
 
OTInt32 putq (queue_t *q, mblk_t *mp)
 
void qenable (queue_t *q)
 
void qprocson (queue_t *q)
 
void qprocsoff (queue_t *q)
 
OTInt32 qreply (queue_t *q, mblk_t *mp)
 
OTInt32 qsize (queue_t *q)
 
mblk_trmvb (mblk_t *mp, mblk_t *bp)
 
void rmvq (queue_t *q, mblk_t *mp)
 
OTInt32 strqget (queue_t *q, qfields_t what, OTUInt8Param pri, long *valp)
 
OTInt32 strqset (queue_t *q, qfields_t what, OTUInt8Param pri, long val)
 
OTInt32 testb (OTByteCount size, OTInt32 pri)
 
void unbufcall (OTInt32 id)
 
void unfreezestr (queue_t *q, OTInt32 oldpri)
 
mblk_tunlinkb (mblk_t *mp)
 
OTInt32 strlog (OTInt32 mid, OTInt32 sid, OTInt32 level, OTUInt32 flags, char *fmt,...)
 
OTInt32 OTKernelPrintf (OTInt32 toDo, char *fmt,...)
 
void cmn_err (OTInt32 errType, char *fmt,...)
 
OTInt32 mi_sprintf (char *buf, char *fmt,...)
 
OSStatus OTErrorToOSStatus (OTError err)
 
typedef CALLBACK_API_C (install_info *, GetOTInstallInfoProcPtr)(void)
 
typedef CALLBACK_API_C (Boolean, InitStreamModuleProcPtr)(void *portInfo)
 
typedef CALLBACK_API_C (void, TerminateStreamModuleProcPtr)(void *portInfo)
 
void OTStrlog (queue_t *q, OTInt32 lvl, OTInt32 flags, const char *str)
 
OSStatus OTRegisterPort (OTPortRecord *portInfo, void *ref)
 
OSStatus OTUnregisterPort (const char *portName, void **refPtr)
 
OSStatus OTChangePortState (OTPortRef portRef, OTEventCode theChange, OTResult why)
 
TPortRecordOTFindPort (const char *portName)
 
TPortRecordOTGetIndexedPort (OTItemCount index)
 
TPortRecordOTFindPortConflict (OTPortRef ref)
 
TPortRecordOTFindPortByRef (OTPortRef ref)
 
TPortRecordOTFindPortByDev (dev_t dev)
 
typedef CALLBACK_API_C (void, PortScanProcPtr)(UInt32 scanType)
 
void * OTAllocPortMem (OTByteCount size)
 
void OTFreePortMem (void *mem)
 
void mps_intr_disable (MPS_INTR_STATE *oldState)
 
void mps_intr_enable (MPS_INTR_STATE *oldState)
 
mblk_tmi_timer_alloc (queue_t *q, OTByteCount size)
 
void mi_timer_free (mblk_t *mp)
 
void mi_timer (mblk_t *mp, unsigned long milliSeconds)
 
Boolean mi_timer_cancel (mblk_t *mp)
 
Boolean mi_timer_valid (mblk_t *mp)
 
mblk_tmi_timer_q_switch (mblk_t *mp, queue_t *q, mblk_t *new_mp)
 
Boolean OTScheduleDriverDeferredTask (long dtCookie)
 
typedef CALLBACK_API_C (void, EsbFreeProcPtr)(char *arg)
 
mblk_tOTAllocMsg (void *buf, OTByteCount size, EsbFreeProcPtr func, void *arg)
 
void * OTAllocMem (OTByteCount size)
 
void OTFreeMem (void *mem)
 
void * OTReallocMem (void *ptr, OTByteCount newSize)
 
OTInt32 mi_bcmp (const char *first, const char *second, OTByteCount nBytes)
 
typedef CALLBACK_API_C (void, OTWriterProcPtr)(queue_t *q
 
void mps_become_writer (queue_t *q, mblk_t *mp, OTWriterProcPtr proc)
 
OTInt32 drv_priv (cred *credp)
 
queue_tmi_allocq (streamtab *st)
 
mblk_tmi_tpi_ack_alloc (mblk_t *mp, OTByteCount size, long primType)
 
mblk_tmi_tpi_conn_con (mblk_t *trailer_mp, char *src, OTByteCount src_length, char *opt, OTByteCount opt_length)
 
mblk_tmi_tpi_conn_ind (mblk_t *trailer_mp, char *src, OTByteCount src_length, char *opt, OTByteCount opt_length, OTInt32 seqnum)
 
mblk_tmi_tpi_conn_req (mblk_t *trailer_mp, char *dest, OTByteCount dest_length, char *opt, OTByteCount opt_length)
 
mblk_tmi_tpi_data_ind (mblk_t *trailer_mp, OTInt32 flags, long ptype)
 
mblk_tmi_tpi_data_req (mblk_t *trailer_mp, OTInt32 flags, long pttype)
 
mblk_tmi_tpi_discon_ind (mblk_t *trailer_mp, OTInt32 reason, OTInt32 seqnum)
 
mblk_tmi_tpi_discon_req (mblk_t *trailer_mp, OTInt32 seqnum)
 
mblk_tmi_tpi_err_ack_alloc (mblk_t *mp, OTInt32 tlierr, OTInt32 unixerr)
 
mblk_tmi_tpi_exdata_ind (mblk_t *trailer_mp, OTInt32 flags, long ptype)
 
mblk_tmi_tpi_exdata_req (mblk_t *trailer_mp, OTInt32 flags, long ptype)
 
mblk_tmi_tpi_info_req (void)
 
mblk_tmi_tpi_ok_ack_alloc (mblk_t *mp)
 
mblk_tmi_tpi_ordrel_ind (void)
 
mblk_tmi_tpi_ordrel_req (void)
 
mblk_tmi_tpi_uderror_ind (char *dest, OTByteCount dest_length, char *opt, OTByteCount opt_length, OTInt32 error)
 
mblk_tmi_tpi_unitdata_ind (mblk_t *trailer_mp, char *src, OTByteCount src_length, char *opt, OTByteCount opt_length)
 
mblk_tmi_tpi_unitdata_req (mblk_t *trailer_mp, char *dst, OTByteCount dst_length, char *opt, OTByteCount opt_length)
 
mblk_tmi_reuse_proto (mblk_t *toReuse, OTByteCount sizeDesired, OTBooleanParam keepOnError)
 
mblk_tmi_reallocb (mblk_t *old_mp, OTByteCount new_size)
 
Boolean mi_set_sth_hiwat (queue_t *q, OTByteCount size)
 
Boolean mi_set_sth_lowat (queue_t *q, OTByteCount size)
 
Boolean mi_set_sth_maxblk (queue_t *q, OTByteCount size)
 
Boolean mi_set_sth_wroff (queue_t *q, OTByteCount size)
 
UInt8 * mi_offset_param (mblk_t *mp, long offset, long len)
 
UInt8 * mi_offset_paramc (mblk_t *mp, long offset, long len)
 
char * mi_open_detached (char **mi_opp_orig, OTByteCount size, dev_t *devp)
 
OTInt32 mi_open_comm (char **mi_opp_orig, OTByteCount size, queue_t *q, dev_t *dev, OTInt32 flag, OTInt32 sflag, cred_t *credp)
 
OTInt32 mi_close_comm (char **mi_opp_orig, queue_t *q)
 
void mi_bufcall (queue_t *q, OTByteCount size, OTInt32 pri)
 
void mi_detach (queue_t *q, char *ptr)
 
void mi_close_detached (char **mi_opp_orig, char *ptr)
 
char * mi_next_ptr (char *ptr)
 
void mi_copyin (queue_t *q, mblk_t *mp, char *uaddr, OTByteCount len)
 
void mi_copyout (queue_t *q, mblk_t *mp)
 
mblk_tmi_copyout_alloc (queue_t *q, mblk_t *mp, char *uaddr, OTByteCount len)
 
void mi_copy_done (queue_t *q, mblk_t *mp, OTInt32 err)
 
void mi_copy_set_rval (mblk_t *mp, OTInt32 rval)
 
OTInt32 mi_copy_state (queue_t *q, mblk_t *mp, mblk_t **mpp)
 
typedef CALLBACK_API_C (OTResult, ValidateHardwareProcPtr)(OTPCIInfo *param)
 

Detailed Description

Definitions for Open Transport kernel code, such as drivers and protocol modules.

Introduced In: 2.5
Avaliable From: Universal Interfaces 3.4.1
Copyright: � 1993-2001 by Apple Computer, Inc. and Mentat Inc., all rights
reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Macro Definition Documentation

◆ BCOPY

#define BCOPY (   s,
  d,
 
)    bcopy((const char *)(s), (char *)(d), l)

Standard STREAMS bcopy, bzero, & bcmp take char* parameters. The BCOPY, BZERO, and BCMP routines take void* so that we do not have to cast all the pointers.

◆ calloc

#define calloc   (DONT_CALL * THIS_FUNCTION)

Also, make sure that calling traditional "C" allocation routines will not compile.

◆ enableok

#define enableok (   q)    ((q)->q_flag &= ~QNOENB)

We include "OpenTransportProtocol.h", which in turn includes "OpenTransport.h", thereby picking up all the stuff which is shared between client and kernel. Parts of "mistream.h" that are shared by the client and the kernel are in "OpenTransportProtocol.h". Re-allow a queue to be scheduled for service

◆ kDescriptorProperty

#define kDescriptorProperty   "driver-descriptor"

Some descriptors we use - these should eventually show up in system header files somewhere.

◆ kOTModuleInterfaceID

#define kOTModuleInterfaceID   kOTModulePrefix "StrmMod"

Interface ID for STREAMS Modules for ASLM.

◆ kOTPortScannerInterfaceID

#define kOTPortScannerInterfaceID   kOTKernelPrefix "pScnr"

The kOTPortScannerInterfaceID define is what you need to add to your export file for the "interfaceID = " clause.

◆ kOTPortScannerPrefix

#define kOTPortScannerPrefix   "ot:pScnr$"

Prefix for Open Transport port scanners. Your port-scanning ASLM function set must use the prefix kOTPortScannerPrefix.

◆ noenable

#define noenable (   q)    ((q)->q_flag |= QNOENB)

Prevent a queue from being scheduled

◆ OTHERQ

#define OTHERQ (   q)    (((q)->q_flag & QREADR) ? WR(q) : RD(q))

Get pointer to the mate queue

◆ OTPCIServiceType

#define OTPCIServiceType (   devType,
  framingFlags,
  isTPI,
  isDLPI 
)
Value:
((devType << 16) | (((framingFlags) & 0xff) << 8) | (isTPI ? 2 : 0) | \
(isDLPI ? 1 : 0))

All PCI card drivers should have the following bits set in their install_info structure:

o kOTModIsDriver.

They should NEVER have the kOTModPushAlways or the kOTModIsModule flags set. The kOTModIsLowerMux bits should be set if the driver is a lower multiplexor, although Open Transport does nothing with the information today. The kOTModUpperIsDLPI bit should be set if the driver uses the DLPI message specification. The kOTModUpperIsTPI bit should be set if the driver uses the TPI message specification. Macro to put together the driverServices.service[x].serviceType field: xxxxxddd dddddddd ffffffff xxxxxxTD where "d" is the device type for Open Transport, the lower two bits are whether the driver is TPI or DLPI, and the "f" bits are the framing option flags. and all other bits should be 0

◆ RD

#define RD (   q)    (&q[-1])

Get pointer to the read queue, assumes 'q' is a write queue ptr

◆ WR

#define WR (   q)    (&q[1])

Get pointer to the write queue, assumes 'q' is a read queue ptr

Typedef Documentation

◆ OTError

typedef long OTError

Function to convert the "long" value that comes back in some of the netbufs as a result code to the equivalent OSStatus

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Synchronization level codes. These are supplied to modsw_install and stored in the appropriate tables. sth_osr_open and sth_ipush use these to set up synch queue subordination for new devices and modules.

◆ anonymous enum

anonymous enum

This is the first minor number that Apple OT drivers use for CLONEOPENs. Minor numbers 0 through 9 are reserved for use by the modules for various control streams. Note that Mentat drivers, which use mi_open_comm, start minor numbers from 5.

◆ anonymous enum

anonymous enum

Extra OTCommand codes that may appear on your module queue. These are extensions to the TPI specification for Open Transport. T_PRIVATE_REQ is the first available TPI message number for private use by modules (assuming you don't want to be confused by standard TPI messages).

◆ anonymous enum

anonymous enum

Your driver can return this value if it loaded correctly but wants to stay resident, presumably because it's hooked itself irrevokably into some other system service.

◆ anonymous enum

anonymous enum

Maximum # of services support by Open Transport. If your module exports more than this # of services, Open Transport will not be able to use the module.

Function Documentation

◆ adjmsg()

OTInt32 adjmsg ( mblk_t mp,
OTInt32  len_param 
)

adjmsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ allocb()

mblk_t* allocb ( OTByteCount  size,
OTInt32  pri 
)

allocb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ allocbi()

mblk_t* allocbi ( OTByteCount  size,
OTInt32  pri,
allocbiProc  pfv,
char *  arg,
unsigned char *  base 
)

allocbi()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ allocq()

queue_t* allocq ( void  )

allocq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ backq()

queue_t* backq ( queue_t q)

backq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ bcanput()

OTInt32 bcanput ( queue_t q,
OTUInt8Param  pri 
)

bcanput()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ bcanputnext()

OTInt32 bcanputnext ( queue_t q,
OTUInt8Param  pri 
)

bcanputnext()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ bufcall()

OTInt32 bufcall ( OTByteCount  memNeeded,
OTInt32  pri,
bufcallp_t  proc,
long  context 
)

bufcall()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ CALLBACK_API_C() [1/5]

typedef CALLBACK_API_C ( Boolean  ,
InitStreamModuleProcPtr   
)

Your module can optionally export this function. It will be called whenever your module is about to be loaded into a stream for the first time, or if it is about to be reloaded after having been unloaded. Return false if your module should NOT be loaded. For STREAMS modules, the void* parameter will be NULL. For drivers, it will be the same cookie parameter that was used for registering the module. For PCI card drivers, this will be a pointer to the OTPCIInfo structure, which can also be interpreted as a RegEntryIDPtr.

◆ CALLBACK_API_C() [2/5]

typedef CALLBACK_API_C ( install_info ,
GetOTInstallInfoProcPtr   
)

Your module must export this function, and return a pointer to the install_info structure for the module.

◆ CALLBACK_API_C() [3/5]

typedef CALLBACK_API_C ( OTResult  ,
ValidateHardwareProcPtr   
)

Typedef for the ValidateHardware function. This function will be called only once, at system boot time, before installing your driver into the Open Transport module registry. The param pointer will is a OTPCIInfo pointer - don't be changing the values there!

◆ CALLBACK_API_C() [4/5]

typedef CALLBACK_API_C ( void  ,
EsbFreeProcPtr   
)

These routines are different from the similarly named routines in "OpenTransport.h" because they allocate memory in the OT kernel pool. See Technote ���� "Understanding Open Transport Memory Management" for details. This is the typedef for a function that will be called when a message created by OTAllocMsg is destroyed.

◆ CALLBACK_API_C() [5/5]

typedef CALLBACK_API_C ( void  ,
TerminateStreamModuleProcPtr   
)

Your module can optionally export this function. It will be called whenever your module has been closed for the last time (i.e. no other outstanding instances of the module exist).

◆ canput()

OTInt32 canput ( queue_t q)

canput()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ canputnext()

OTInt32 canputnext ( queue_t q)

canputnext()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ cmn_err()

void cmn_err ( OTInt32  errType,
char *  fmt,
  ... 
)

cmn_err()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ copyb()

mblk_t* copyb ( mblk_t mp)

copyb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ copymsg()

mblk_t* copymsg ( mblk_t mp)

copymsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ drv_priv()

OTInt32 drv_priv ( cred credp)

drv_priv()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ dupb()

mblk_t* dupb ( mblk_t mp)

dupb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ dupmsg()

mblk_t* dupmsg ( mblk_t mp)

dupmsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ esballoc()

mblk_t* esballoc ( unsigned char *  base,
OTByteCount  size,
OTInt32  pri,
frtn_t freeInfo 
)

esballoc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ esballoca()

mblk_t* esballoca ( unsigned char *  base,
OTByteCount  size,
OTInt32  pri,
frtn_t freeInfo 
)

esballoca()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ esbbcall()

OTInt32 esbbcall ( OTInt32  pri,
esbbcallProc  func,
long  arg 
)

esbbcall()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ flushband()

void flushband ( queue_t q,
OTUInt8Param  pri,
OTInt32  flag 
)

flushband()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ flushq()

void flushq ( queue_t q,
OTInt32  flag 
)

flushq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ freeb()

void freeb ( mblk_t mp)

freeb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ freemsg()

void freemsg ( mblk_t mp)

freemsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ freeq()

OTInt32 freeq ( queue_t q)

freeq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ freezestr()

OTInt32 freezestr ( queue_t q)

freezestr()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ getadmin()

admin_t getadmin ( OTUInt16Param  mid)

getadmin()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ getmid()

unsigned short getmid ( char *  name)

getmid()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ getq()

mblk_t* getq ( queue_t q)

getq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ insq()

OTInt32 insq ( queue_t q,
mblk_t emp,
mblk_t nmp 
)

insq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ linkb()

void linkb ( mblk_t mp1,
mblk_t mp2 
)

linkb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_allocq()

queue_t* mi_allocq ( streamtab *  st)

mi_allocq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_bcmp()

OTInt32 mi_bcmp ( const char *  first,
const char *  second,
OTByteCount  nBytes 
)

mi_bcmp()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_bufcall()

void mi_bufcall ( queue_t q,
OTByteCount  size,
OTInt32  pri 
)

mi_bufcall()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_close_comm()

OTInt32 mi_close_comm ( char **  mi_opp_orig,
queue_t q 
)

mi_close_comm()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_close_detached()

void mi_close_detached ( char **  mi_opp_orig,
char *  ptr 
)

mi_close_detached()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_copy_done()

void mi_copy_done ( queue_t q,
mblk_t mp,
OTInt32  err 
)

mi_copy_done()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_copy_set_rval()

void mi_copy_set_rval ( mblk_t mp,
OTInt32  rval 
)

mi_copy_set_rval()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_copy_state()

OTInt32 mi_copy_state ( queue_t q,
mblk_t mp,
mblk_t **  mpp 
)

mi_copy_state()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_copyin()

void mi_copyin ( queue_t q,
mblk_t mp,
char *  uaddr,
OTByteCount  len 
)

mi_copyin()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_copyout()

void mi_copyout ( queue_t q,
mblk_t mp 
)

mi_copyout()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_copyout_alloc()

mblk_t* mi_copyout_alloc ( queue_t q,
mblk_t mp,
char *  uaddr,
OTByteCount  len 
)

mi_copyout_alloc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_detach()

void mi_detach ( queue_t q,
char *  ptr 
)

mi_detach()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_next_ptr()

char* mi_next_ptr ( char *  ptr)

mi_next_ptr()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_offset_param()

UInt8* mi_offset_param ( mblk_t mp,
long  offset,
long  len 
)

mi_offset_param()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_offset_paramc()

UInt8* mi_offset_paramc ( mblk_t mp,
long  offset,
long  len 
)

mi_offset_paramc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_open_comm()

OTInt32 mi_open_comm ( char **  mi_opp_orig,
OTByteCount  size,
queue_t q,
dev_t dev,
OTInt32  flag,
OTInt32  sflag,
cred_t credp 
)

mi_open_comm()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_open_detached()

char* mi_open_detached ( char **  mi_opp_orig,
OTByteCount  size,
dev_t devp 
)

mi_open_detached()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_reallocb()

mblk_t* mi_reallocb ( mblk_t old_mp,
OTByteCount  new_size 
)

mi_reallocb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_reuse_proto()

mblk_t* mi_reuse_proto ( mblk_t toReuse,
OTByteCount  sizeDesired,
OTBooleanParam  keepOnError 
)

mi_reuse_proto()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_set_sth_hiwat()

Boolean mi_set_sth_hiwat ( queue_t q,
OTByteCount  size 
)

mi_set_sth_hiwat()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_set_sth_lowat()

Boolean mi_set_sth_lowat ( queue_t q,
OTByteCount  size 
)

mi_set_sth_lowat()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_set_sth_maxblk()

Boolean mi_set_sth_maxblk ( queue_t q,
OTByteCount  size 
)

mi_set_sth_maxblk()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_set_sth_wroff()

Boolean mi_set_sth_wroff ( queue_t q,
OTByteCount  size 
)

mi_set_sth_wroff()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_sprintf()

OTInt32 mi_sprintf ( char *  buf,
char *  fmt,
  ... 
)

mi_sprintf()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_timer()

void mi_timer ( mblk_t mp,
unsigned long  milliSeconds 
)

mi_timer()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_timer_alloc()

mblk_t* mi_timer_alloc ( queue_t q,
OTByteCount  size 
)

mi_timer_alloc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_timer_cancel()

Boolean mi_timer_cancel ( mblk_t mp)

mi_timer_cancel()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_timer_free()

void mi_timer_free ( mblk_t mp)

mi_timer_free()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_timer_q_switch()

mblk_t* mi_timer_q_switch ( mblk_t mp,
queue_t q,
mblk_t new_mp 
)

mi_timer_q_switch()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_timer_valid()

Boolean mi_timer_valid ( mblk_t mp)

mi_timer_valid()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_ack_alloc()

mblk_t* mi_tpi_ack_alloc ( mblk_t mp,
OTByteCount  size,
long  primType 
)

mi_tpi_ack_alloc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_conn_con()

mblk_t* mi_tpi_conn_con ( mblk_t trailer_mp,
char *  src,
OTByteCount  src_length,
char *  opt,
OTByteCount  opt_length 
)

mi_tpi_conn_con()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_conn_ind()

mblk_t* mi_tpi_conn_ind ( mblk_t trailer_mp,
char *  src,
OTByteCount  src_length,
char *  opt,
OTByteCount  opt_length,
OTInt32  seqnum 
)

mi_tpi_conn_ind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_conn_req()

mblk_t* mi_tpi_conn_req ( mblk_t trailer_mp,
char *  dest,
OTByteCount  dest_length,
char *  opt,
OTByteCount  opt_length 
)

mi_tpi_conn_req()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_data_ind()

mblk_t* mi_tpi_data_ind ( mblk_t trailer_mp,
OTInt32  flags,
long  ptype 
)

mi_tpi_data_ind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_data_req()

mblk_t* mi_tpi_data_req ( mblk_t trailer_mp,
OTInt32  flags,
long  pttype 
)

mi_tpi_data_req()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_discon_ind()

mblk_t* mi_tpi_discon_ind ( mblk_t trailer_mp,
OTInt32  reason,
OTInt32  seqnum 
)

mi_tpi_discon_ind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_discon_req()

mblk_t* mi_tpi_discon_req ( mblk_t trailer_mp,
OTInt32  seqnum 
)

mi_tpi_discon_req()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_err_ack_alloc()

mblk_t* mi_tpi_err_ack_alloc ( mblk_t mp,
OTInt32  tlierr,
OTInt32  unixerr 
)

mi_tpi_err_ack_alloc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_exdata_ind()

mblk_t* mi_tpi_exdata_ind ( mblk_t trailer_mp,
OTInt32  flags,
long  ptype 
)

mi_tpi_exdata_ind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_exdata_req()

mblk_t* mi_tpi_exdata_req ( mblk_t trailer_mp,
OTInt32  flags,
long  ptype 
)

mi_tpi_exdata_req()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_info_req()

mblk_t* mi_tpi_info_req ( void  )

mi_tpi_info_req()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_ok_ack_alloc()

mblk_t* mi_tpi_ok_ack_alloc ( mblk_t mp)

mi_tpi_ok_ack_alloc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_ordrel_ind()

mblk_t* mi_tpi_ordrel_ind ( void  )

mi_tpi_ordrel_ind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_ordrel_req()

mblk_t* mi_tpi_ordrel_req ( void  )

mi_tpi_ordrel_req()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_uderror_ind()

mblk_t* mi_tpi_uderror_ind ( char *  dest,
OTByteCount  dest_length,
char *  opt,
OTByteCount  opt_length,
OTInt32  error 
)

mi_tpi_uderror_ind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_unitdata_ind()

mblk_t* mi_tpi_unitdata_ind ( mblk_t trailer_mp,
char *  src,
OTByteCount  src_length,
char *  opt,
OTByteCount  opt_length 
)

mi_tpi_unitdata_ind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mi_tpi_unitdata_req()

mblk_t* mi_tpi_unitdata_req ( mblk_t trailer_mp,
char *  dst,
OTByteCount  dst_length,
char *  opt,
OTByteCount  opt_length 
)

mi_tpi_unitdata_req()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mpnotify()

OTInt32 mpnotify ( mblk_t mp,
mpnotifyProc  pfv,
char *  arg 
)

mpnotify()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mps_become_writer()

void mps_become_writer ( queue_t q,
mblk_t mp,
OTWriterProcPtr  proc 
)

mps_become_writer()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mps_intr_disable()

void mps_intr_disable ( MPS_INTR_STATE *  oldState)

mps_intr_disable()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ mps_intr_enable()

void mps_intr_enable ( MPS_INTR_STATE *  oldState)

mps_intr_enable()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ msgdsize()

OTInt32 msgdsize ( const mblk_t mp)

msgdsize()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ msgpullup()

mblk_t* msgpullup ( mblk_t mp,
OTInt32  len 
)

msgpullup()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTAllocMem()

void* OTAllocMem ( OTByteCount  size)

Routines to allocate and free memory in your modules (these are interrupt-time safe!). OTAllocMem()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTAllocMsg()

mblk_t* OTAllocMsg ( void *  buf,
OTByteCount  size,
EsbFreeProcPtr  func,
void *  arg 
)

This function creates a message which points to "size" bytes of data at "buf". When the message is freed, the EsbFreeProcPtr function "func" will be called with the argument "arg". NOTE: This function allows users of your buffer to modify the buffer. OTAllocMsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTAllocPortMem()

void* OTAllocPortMem ( OTByteCount  size)

Memory allocation for port persistent data, such as the memory referenced by the ref parameter you pass to OTRegisterPort. OTAllocPortMem()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTChangePortState()

OSStatus OTChangePortState ( OTPortRef  portRef,
OTEventCode  theChange,
OTResult  why 
)

OTChangePortState()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTErrorToOSStatus()

OSStatus OTErrorToOSStatus ( OTError  err)

OTErrorToOSStatus()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTFindPort()

TPortRecord* OTFindPort ( const char *  portName)

OTFindPort()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTFindPortByDev()

TPortRecord* OTFindPortByDev ( dev_t  dev)

OTFindPortByDev()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTFindPortByRef()

TPortRecord* OTFindPortByRef ( OTPortRef  ref)

OTFindPortByRef()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTFindPortConflict()

TPortRecord* OTFindPortConflict ( OTPortRef  ref)

Find another port that is active and conflicts with the port described by "ref" OTFindPortConflict()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTFreeMem()

void OTFreeMem ( void *  mem)

OTFreeMem()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTFreePortMem()

void OTFreePortMem ( void *  mem)

OTFreePortMem()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTGetIndexedPort()

TPortRecord* OTGetIndexedPort ( OTItemCount  index)

OTGetIndexedPort()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTKernelPrintf()

OTInt32 OTKernelPrintf ( OTInt32  toDo,
char *  fmt,
  ... 
)

OTKernelPrintf()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTReallocMem()

void* OTReallocMem ( void *  ptr,
OTByteCount  newSize 
)

OTReallocMem()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTRegisterPort()

OSStatus OTRegisterPort ( OTPortRecord portInfo,
void *  ref 
)

These routines can be used by kernel code to register, find and iterate through the various ports on the machine. Do not confuse these with the client-side routines, defined in "OpenTransport.h". Register a port. The name the port was registered under is returned in the fPortName field. This routine allocates a TPortRecord and copies the supplied OTPortRecord into it. OTRegisterPort()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTScheduleDriverDeferredTask()

Boolean OTScheduleDriverDeferredTask ( long  dtCookie)

This routine is used by a driver at interrupt time to schedule a deferred task to run their interrupt processing code. OTScheduleDriverDeferredTask()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTStrlog()

void OTStrlog ( queue_t q,
OTInt32  lvl,
OTInt32  flags,
const char *  str 
)

OTStrlog()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ OTUnregisterPort()

OSStatus OTUnregisterPort ( const char *  portName,
void **  refPtr 
)

Unregister the port with the given name (If you re-register the port, it may get a different name - use OTChangePortState if that is not desireable). Since a single OTPortRef can be registered with several names, the API needs to use the portName rather than the OTPortRef to disambiguate. OTUnregisterPort()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ pullupmsg()

OTInt32 pullupmsg ( mblk_t mp,
OTInt32  len 
)

pullupmsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ put()

OTInt32 put ( queue_t q,
mblk_t mp 
)

put()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putbq()

OTInt32 putbq ( queue_t q,
mblk_t mp 
)

putbq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putctl()

OTInt32 putctl ( queue_t q,
OTInt32  mType 
)

putctl()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putctl1()

OTInt32 putctl1 ( queue_t q,
OTInt32  mType,
OTInt32  c 
)

putctl1()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putctl2()

OTInt32 putctl2 ( queue_t q,
OTInt32  mType,
OTInt32  c1,
OTInt32  c2 
)

putctl2()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ puthere()

OTInt32 puthere ( queue_t q,
mblk_t mp 
)

puthere()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putnext()

OTInt32 putnext ( queue_t q,
mblk_t mp 
)

putnext()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putnextctl()

OTInt32 putnextctl ( queue_t q,
OTInt32  mType 
)

putnextctl()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putnextctl1()

OTInt32 putnextctl1 ( queue_t q,
OTInt32  mType,
OTInt32  c 
)

putnextctl1()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putq()

OTInt32 putq ( queue_t q,
mblk_t mp 
)

putq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ qenable()

void qenable ( queue_t q)

qenable()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ qprocsoff()

void qprocsoff ( queue_t q)

qprocsoff()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ qprocson()

void qprocson ( queue_t q)

qprocson()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ qreply()

OTInt32 qreply ( queue_t q,
mblk_t mp 
)

qreply()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ qsize()

OTInt32 qsize ( queue_t q)

qsize()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ rmvb()

mblk_t* rmvb ( mblk_t mp,
mblk_t bp 
)

rmvb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ rmvq()

void rmvq ( queue_t q,
mblk_t mp 
)

rmvq()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ strlog()

OTInt32 strlog ( OTInt32  mid,
OTInt32  sid,
OTInt32  level,
OTUInt32  flags,
char *  fmt,
  ... 
)

strlog()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ strqget()

OTInt32 strqget ( queue_t q,
qfields_t  what,
OTUInt8Param  pri,
long *  valp 
)

strqget()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ strqset()

OTInt32 strqset ( queue_t q,
qfields_t  what,
OTUInt8Param  pri,
long  val 
)

strqset()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ testb()

OTInt32 testb ( OTByteCount  size,
OTInt32  pri 
)

testb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ unbufcall()

void unbufcall ( OTInt32  id)

unbufcall()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ unfreezestr()

void unfreezestr ( queue_t q,
OTInt32  oldpri 
)

unfreezestr()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ unlinkb()

mblk_t* unlinkb ( mblk_t mp)

unlinkb()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available