Re: Raw Ehternet Sockets on 10.1?
Re: Raw Ehternet Sockets on 10.1?
- Subject: Re: Raw Ehternet Sockets on 10.1?
- From: Rich Kubota <email@hidden>
- Date: Mon, 29 Sep 2003 12:50:28 -0700
At 11:47 AM -0700 9/29/03, Duane Murphy wrote:
Thanks for this vote of confidence Rich. Unfortunatelly I tried
BSDLLCTest between 10.2 and 10.1.5 and the 10.1.5 machine couldnot
receive any packets.
This seems to be the same problem I am experiencing in my code.
I did the following tests:
10.2.3 Sending -> 10.2.6 Receiving, this worked fine.
10.2.3 Sending -> 10.1.5 Receiving, does not work
The code shown is the leaf of three functions that do the right thing for
each protocol type. In the case we are having trouble with, we are doing
SNAP. We also do ETHERTYPE as well (ARP). We havent tried this on
ETHERTYPE yet.
The receiving machine is a PowerBook G3 (Firewire; aka Pismo) in case
that matters. The tests were done on Ethernet (built-in), not AirPort.
I would appreciate any additional information concerning this problem.
Thanks,
...Duane
Duane,
I used a 10.1.5 target system and encountered the same problem which
you described, using the BSDLLCTest program. then I remembered, that
the problem with setting the length field in the Ethernet header. I
recall that when the length field was set to 1500 or greater, the
receiving side would not receive the packet. Sure enough, when I set
the length field for 1499, I could receive LLC packets. In your
case, if you are sending out ARP packets, the length field, or in
this case, the protocol type field is set to 0x0806, which is greater
than 1500 decimal. I need to check, but you may have encountered a
problem which existed in 10.1.x.
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
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.