Next:
Introduction
Up:
x-Kernel Programmer's Manual
Previous:
x-Kernel Programmer's Manual
Contents
Contents
Introduction
Acknowledgements
Our Address
Copyright Notice
Uniform Protocol Interface
Type Definitions
XObj
Enable Objects
Return Values
Function Types
Protocol-Protocol Operations
xOpen
xOpenEnable
xOpenDisable
xOpenDisableAll
xOpenDone
xPush
xCall
xPop
xCallPop
xCloseDone
xClose
xControl
xDemux
xCallDemux
xDuplicate
xShutDown
Graph Manipulation Operations
xCreateSessn
xCreateProtl
xDestroy
xGetProtlByName
xSetDown
xGetDown
xSetUp
xGetUp
xHlpType
Utility Operations
xIsProtocol
xIsSession
xIsXObj
xIsValidXObj
xPrintXObj
Usage Rules
Initializing a Protocol
hlpRcv and hlpType
Protocol Realms
Asynchronous Protocols
Synchronous Protocols
Control Protocols
Anchor Protocols
Virtual Protocols
Default Operations
defaultOpenEnable
defaultOpenDisable
defaultOpenDisableAll
defaultVirtualOpenEnable
defaultVirtualOpenDisable
Usage
Participant Library
Type Definitions
Participant List Operations
partInit
partPush
partPop
partStackTopByteLen
partLen
partExternalize
partInternalize
partExtLen
GETPARTICIPANTS
Relative Protocol Numbers
Usage Rules
Message Library
Type Definitions
Constructor/Destructor Operations
msgConstructEmpty
msgConstructBuffer
msgConstructAllocate
msgConstructCopy
msgAssign
msgConstructInplace
msgConstructAppend
msgDestroy
Manipulation Operations
msgLen
msgTruncate
msgChopOff
msgJoin
msgPush
msgPop
msgPopDiscard
msgAppend
msgSetAttr
msgGetAttr
msgForEach
Usage Rules
Event Library
Type Definitions
Operations
evSchedule
evDetach
evCancel
evIsCancelled
evDump
Usage Rules
Repeating Events
Cancellable Events
Event Granularity
Map Library
Type Definitions
Operations
mapCreate
mapResolve
mapVarResolve
mapBind
mapVarBind
mapRemoveBinding
mapUnbind
mapClose
mapForEach
Usage Rules
External Keys
Active and Passive Maps
Thread Library
Type Definitions
Synchronization Operations
semInit
semWait
semSignal
Delay
Locking Operations
rwLockInit
rwLockDestroy
readerLock
readerUnlock
writerLock
writerUnlock
Usage Rules
Scheduling and Preemption
Blocking
External Threads
Thread Turnaround
Multiprocessor Support
Trace Library
Type Definitions
Operations
xTrace
xTraceP
xIfTrace, xIfTraceP
xAssert
xError
Usage Rules
Utility Routines
Storage: xMalloc and xFree
Time
xGetTime
xAddTime
xSubTime
Byte Order: ntohs, ntohl, htons, and htonl
Checksum
inCkSum
ocsum
Strings to Hosts
ipHostStr
str2ipHost
ethHostStr
str2ethHost
Host Name Service
xk_gethostbyname
ROM file parsing utilities
Control Operations
Standard Control Operations
Protocol and Session Operations
Session Operations
Protocol-Specific Control Operations
Forwarding Control Operations
Reference Counting XObjs
References
Reference counts
Counting External References
Counting xPops
Internal vs. External Reference Counts
Session Caching Strategies
Modifying v3.1 protocols
Configuring a Kernel
Specifying a Protocol Graph
Build Procedure
Scout (Alpha Standalone)
Debug versus Optimized Mode
Useful Make Targets
Modifying Code in System Areas
Running a Kernel
Protocol Tables
ROM options
ROM files
ROM File Generators
CAVEATS
Unix user-space (SunOS/Irix)
Simulated Drivers
Running
SunOS caveats
Irix caveats
Mach 3
ROM options
Mach 3
x
-kernel in the Mach kernel
Scout (Alpha standalone)
Booting
Specifying
x
-kernel Command Line Options
Using GDB
Interrupting with GDB
Attaching GDB to a Running Kernel
Running Test Suites
Troubleshooting
Releasing a Protocol
System Installation
Unpacking the
tar
file
About Compilers
Site-specific Configuration
Building the Utility programs
Building and testing the system
Installing MachNetIPC - A Network Extension of Mach3 IPC
Building MachNetIPC
Running MachNetIPC
Using MachNetIPC
Protocol Tables
Large Messages
Access Control and Privacy
Reporting Problems
Installing within a Mach3 Kernel
Protocol Specifications
ARP
BID
BIDCTL
BIND
BLAST
CHAN
CONFOUNDER
CRC-32
CRYPT and TCRYPT
DHKX
DSS
ETH
FDDI
ICMP
IP
IPSEC
JOIN
KM
MachNetIPC
MD5
NNS
RAT
RIP
RRX
RSA
SELECT
SHA
SIMSIMETH
SRX
SSR
SSR Test
SUNRPC
PMAP
TCP
TCRYPT
TEST
TWO4ONE
UDP
VCACHE
VCHAN
VCONF
VDISORDER
VDROP
VMUX
VNET
VSECSEL
VSIZE
VTAP
XKSOCKET
Device Drivers
Multi-platform
SIMETH
Mach 3
ETHDRV
NS8390
XKLANCE
Irix
IRIXETH
IRIXFDDI
SIMFDDI
Scout (Alpha standalone)
LANCE
Application Programmer Interfaces
Mach 3
Sockets
MachNetIPC
Building
Index
About this document ...