• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Raw Ehternet Sockets on 10.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Raw Ehternet Sockets on 10.1?
      • From: "Duane Murphy" <email@hidden>
References: 
 >Re: Raw Ehternet Sockets on 10.1? (From: Rich Kubota <email@hidden>)
 >Re: Raw Ehternet Sockets on 10.1? (From: "Duane Murphy" <email@hidden>)

  • Prev by Date: Re: Raw Ehternet Sockets on 10.1?
  • Next by Date: Re: SecureTransport and socket I/O
  • Previous by thread: Re: Raw Ehternet Sockets on 10.1?
  • Next by thread: Re: Raw Ehternet Sockets on 10.1?
  • Index(es):
    • Date
    • Thread