What’s the interface between MacTCP/OT and an Ethernet card?

Zane Kaminski

Administrator
Staff member
Founder
Sep 5, 2021
372
610
93
Columbus, Ohio, USA
One of the next steps on my rather tentative ESP32-based network card concept is to figure out what API an Ethernet card has to implement.

I haven’t dumped the list of device drivers on one of my Macs with NuBus Ethernet but I suspect that Ethernet driver puts an entry in the system device queue to which you make the typical Open/Close/Prime/Control/Status calls. Is this correct? And if so then what are the particulars of the API? How do you identify that a particular device installed in the system is actually an Ethernet card? And what calls do you do to send/receive packets?

Once I know this I can devise a protocol so that the requests can be forwarded to the ESP32
 

alxlab

Active Tinkerer
Sep 23, 2021
287
312
63
www.alxlab.com
OOOOooo would be nice to have a new comm slot 1 and 2 network card based on this :)

Got this from Inside Macintosh Network book:

1636048999579.png


Sounds like the LAP Manager Interface is the way to go?

Chapters 10 and 11 seem like the most relevant:
http://mirror.informatimago.com/next/developer.apple.com/documentation/mac/pdf/Networking/pdf.html
 

Attachments

  • Chapter_10-LAP_Manager.pdf
    357.5 KB · Views: 152
  • Chapter_11-Ethernet-TR-FDDI.pdf
    361.7 KB · Views: 192
Last edited:
  • Like
Reactions: Zane Kaminski