Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /


Preface About This Book xxi

Chapter 1 Introduction to Open Transport 1-1

Table 1-1 The Open Transport protocol matrix and some Open Transport protocols 1-7

Figure 1-1 The OSI model and Open Transport protocols 1-10

Figure 1-2 The basic architecture of Open Transport 1-13

Figure 1-3 An Open Transport Provider 1-17

Chapter 2 Providers 2-1

Figure 2-1 The TNetbuf structure 2-12

Listing 2-1 A notifier function 2-14

Chapter 3 Endpoints 3-1

Table 3-1 The names of functions used to transfer data 3-9

Table 3-2 Endpoint states 3-14

Figure 3-1 Possible endpoint states for a connectionless endpoint 3-15

Figure 3-2 Possible endpoint states for a connection-oriented endpoint 3-16

Table 3-3 Functions that can change an endpoint's state 3-18

Table 3-4 Events that can change an endpoint's state 3-19

Table 3-5 The Open Transport mode-of-service matrix and some Open Transport protocols 3-20

Table 3-6 Endpoint functions that behave differently in synchronous and asynchronous mode 3-25

Table 3-7 Pending asynchronous events and the synchronous functions they can affect 3-26

Table 3-8 Pending asynchronous events and the functions that clear them 3-27

Figure 3-3 Establishing a connection in synchronous mode 3-30

Figure 3-4 Establishing a connection in asynchronous mode 3-32

Figure 3-5 An abortive disconnect 3-35

Figure 3-6 Remote orderly disconnect 3-37

Figure 3-7 A local orderly disconnect 3-39

Figure 3-8 Describing noncontiguous data 3-41

Figure 3-9 How a transaction ID is generated 3-47

Figure 3-10 Data transfer using connectionless transaction-based endpoints in asynchronous mode 3-50

Figure 3-11 Data transfer using connection-oriented transaction-based endpoints in asynchronous model 3-51

Chapter 4 Mappers 4-1

Table 4-1 Completion events for asynchronous mapper functions 4-6

Figure 4-1 Format of entries in OTLookupName reply buffer 4-8

Listing 4-1 Parsing the reply buffer for OTLookupName 4-9

Chapter 5 Option Management 5-1

Figure 5-1 Negotiating an association-related option 5-6

Table 5-1 Open Transport endpoint functions and the types of options they accept 5-7

Figure 5-2 The format of option information 5-8

Figure 5-3 An options buffer 5-9

Table 5-2 XTI-level options 5-10

Table 5-3 Open Transport generic options 5-11

Listing 5-1 Constructing an options buffer manually 5-19

Listing 5-2 Constructing an options buffer using the OTCreateOptions function 5-20

Listing 5-3 Using the OTCreateOptionString function to parse through a buffer 5-24

Chapter 6 Configuration Management 6-1

Chapter 7 Process Management 7-1

Table 7-1 Open Transport functions you can call at interrupt time 7-6

Chapter 8 TCP/IP Services 8-1

Figure 8-1 TCP/IP protocols and functional layers 8-4

Table 8-1 The Open Transport protocol matrix and TCP/IP protocols 8-5

Figure 8-2 Internet subnet address 8-8

Table 8-2 Configuration strings for TCP/IP options 8-39

Chapter 9 Introduction to AppleTalk 9-1

Figure 9-1 AppleTalk protocol stack and the OSI model 9-5

Table 9-1 AppleTalk addressing identifiers 9-7

Table 9-2 Protocol identifiers for use in configuring AppleTalk providers 9-10

Table 9-3 Indicating AppleTalk options in the configuration string 9-11

Table 9-4 Open Transport support for AppleTalk endpoint protocols 9-13

Chapter 10 AppleTalk Addressing 10-1

Listing 10-1 Setting up a DDP Address 10-6

Listing 10-2 Setting up an NBP address 10-9

Table 10-1 Open Transport name-registration functions 10-11

Table 10-2 Open Transport name and address functions 10-12

Table 10-3 Wildcard operators 10-13

Chapter 11 AppleTalk Service Providers 11-1

Figure 11-1 AppleTalk service providers and their underlying delivery mechanism 11-5

Listing 11-1 Using the DoGetMyZone function synchronously 11-8

Chapter 12 Datagram Delivery Protocol (DDP) 12-1

Figure 12-1 The DDP endpoint provider's underlying delivery mechanism 12-5

Table 12-1 Effects of using the DDP type field 12-7

Chapter 13 AppleTalk Data Stream Protocol (ADSP) 13-1

Figure 13-1 The ADSP endpoint provider's underlying delivery mechanism 13-4

Listing 13-1 Setting the enable EOM option 13-8

Chapter 14 AppleTalk Transaction Protocol (ATP) 14-1

Figure 14-1 The ATP endpoint provider's underlying delivery mechanism 14-5

Table 14-1 ATP option definitions and default values 14-7

Chapter 15 Printer Access Protocol (PAP) 15-1

Figure 15-1 The PAP endpoint provider's underlying delivery mechanism 15-4

Chapter 16 Serial Endpoint Providers 16-1

Figure 16-1 The format of serialized bits 16-5

Appendix A Open Transport and XTI A-1

Table A-1 XTI-to-Open Transport function cross-reference A-2

Table A-2 Open Transport-to-XTI function cross-reference A-3

Table A-3 Open Transport Functions not found in XTI A-6

Table A-4 XTI-to-Open Transport data structure cross-reference A-7

Table A-5 XTI-to-Open Transport result code cross-reference A-8

Appendix B Result Codes B-1

Table B-1 Open Transport result codes B-1


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help