Re: OTOptionManagement help?
Re: OTOptionManagement help?
- Subject: Re: OTOptionManagement help?
- From: Quinn <email@hidden>
- Date: Tue, 3 Dec 2002 16:20:27 +0000
At 7:16 -0800 3/12/02, Dylan Barrie wrote:
as well (which is copied and pasted from that IM:NWOT site), and it
too returns the KOTBadOptionErr error.
Take a look at the DoNegotiateRawModeOption function in the following sample.
<
http://developer.apple.com/samplecode/Sample_Code/Networking/OTLLCTest/NegotiateRawModeSample.c.htm>
That seems to handle all the special cases. Looking at that code
brings back memories of the 4 vs 12 byte raw mode options, depending
on which OT version you're using.
Also, what does LNK_TPI refer to? I would have thought the link
level you'd want to use for this would be LNK_ENET?
These options are not implemented as part of the Ethernet driver
(which speaks DLPI, and hence can't be communicated with directly via
an OT endpoint). Instead, these options are implemented by the
"tpi8022x" module, which is automatically pushed on top of the stream
when you open an endpoint to an Ethernet port. Hence, LNK_TPI rather
than LNK_ENET.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.