Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking /


Chapter 11 - Ethernet, Token Ring, and Fiber Distributed Data Interface

This chapter describes how to write data directly to an Ethernet, token ring, or Fiber Distributed Data Interface (FDDI) driver. For Ethernet Phase 1 packets, that is, the original version of Ethernet packets, this chapter also describes how to read data
directly from an Ethernet driver using either the default protocol handler that Apple provides or your own protocol handler.

For Phase 2 packets, that is, IEEE 802.2 packets, you must use the interface to the Link-Access Protocol (LAP) Manager to attach your protocol handler to read data
from an Ethernet, token ring, or FDDI driver.

For a description of how to attach a protocol handler to read 802.2 packets, see the chapter "Link-Access Protocol (LAP) Manager" in this book, which also explains Ethernet Phase 1 packets and Phase 2 packets for Ethernet, token ring, and FDDI.

For an introduction to the hardware and software of an entire AppleTalk network,
see Understanding Computer Networks and the AppleTalk Network System Overview. For information on designing circuit cards and device drivers for Macintosh computers,
see Designing Cards and Drivers for the Macintosh Family, second edition.

To use this chapter, you should be familiar with the information on Ethernet and token ring provided in Inside AppleTalk, second edition. (Inside AppleTalk does not address FDDI.) To gain an understanding of the relationship between the AppleTalk data links and the physical device drivers, see the chapter "Introduction to AppleTalk" in this book, which also introduces some of the terminology used in this chapter.


Chapter Contents
About Ethernet, Token Ring, and FDDI Support
About Multivendor Network Interface Controller (NIC) Support
About Multicast Addressing
Using Ethernet, Token Ring, and FDDI Drivers
Using the Ethernet Driver
Opening the Ethernet Driver
Using a Write-Data Structure to Transmit Ethernet Data
Using the Default Ethernet Protocol Handler to Read Data
Using Your Own Ethernet Protocol Handler to Read Data
How the .ENET Driver Calls Your Protocol Handler
How Your Protocol Handler Calls the .ENET Driver Routines
Changing the Ethernet Hardware Address
Using the Token Ring Driver
Applying Ethernet Functions
Sending and Receiving Data
Using the FDDI Driver
Applying Ethernet Functions
Sending and Receiving Data
Ethernet, Token Ring, and FDDI Reference
Data Structures
The Write-Data Structure
The Parameter Block for Ethernet, Token Ring, and FDDI Driver Functions
Routines
Attaching and Detaching an Ethernet Protocol Handler
Writing and Reading Ethernet Packets
Obtaining Information About the Ethernet Driver and Switching Its Mode
Adding and Removing Ethernet Multicast Addresses
Summary of Ethernet, Token Ring, and FDDI
Pascal Summary
Constants
Data Structures
Routines
Attaching and Detaching an Ethernet Protocol Handler
Writing and Reading Ethernet Packets
Obtaining Information About the Ethernet Driver and Switching Its Mode
Adding and Removing Ethernet Multicast Addresses
C Summary
Constants
Data Types
Routines
Attaching and Detaching an Ethernet Protocol Handler
Writing and Reading Ethernet Packets
Obtaining Information About the Ethernet Driver and Switching Its Mode
Adding and Removing Ethernet Multicast Addresses
Assembly-Language Summary
Constants
Data Structures
EParamBlock Parameter Block
Result Codes

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996