(a)
void IrSetConTypeLMP (IrConnect* con);
void IrSetConTypeTTP (IrConnect *con);
(b)
IrStatus IrConnectReq(UInt refnum, IrConnect* con,
IrPacket* packet, Byte credit);
(c)
IrStatus IrConnectRsp (UInt refnum, IrConnect* con,
IrPacket* packet, Byte credit);
(d)
IrStatus IrDataReq (UInt refnum, IrConnect* con, IrPacket* packet);
Word IrMaxRxSize(UInt refnum, IrConnect* con);
(e)
void IrLocalBusy (UInt refnum, BOOL flag);
(f)
BOOL IrIsLapConnected (UInt refnum);
BOOL IrIsMediaBusy (UInt refnum);
BOOL IrIsNoProgress(UInt refnum);
BOOL IrIsRemoveBusy(UInt refnum);
Word IrMaxRxSize(UInt refnum, IrConnect* con);
Example 3: (a) Using the IrSetConTypeLMP or IrSetConTypeTTP functions; (b) initiating a connection peer with a call to IrConnectReq; (c) accepting the connection via IrConnectRsp; (d) imitating a conversation using IrDataReq; (e) IrLocalBusy prototype; (f) prototypes of functions available for protocol stack.
Back to Article
Copyright © 1999, Dr. Dobb's Journal