• 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: setting the DF bit on a UDP BSD socket in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting the DF bit on a UDP BSD socket in OS X


  • Subject: Re: setting the DF bit on a UDP BSD socket in OS X
  • From: "Peter Sichel" <email@hidden>
  • Date: Thu, 13 Jul 2006 13:20:57 -0400

On 7/13/06, Ivan Beschastnikh wrote:

>Thanks for the reply, but IP_HDRINCL only works with RAW sockets. I'm
>looking for a way to modify the bit for a UDP socket.

You can of course send UDP from a RAW socket, or even a bpf socket, it
just takes a little more work.

I don't know of any other way to set the DF bit in Mac OS X, or control
the path MTU discovery mechanism.  If you think there might be some
undocumented setting, I would get the "xnu" open source project and
search all files for an appropriately named option (more specifically
<netinet/in.h>). When I've done this, I didn't see it.

Kind Regards,

- Peter

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >setting the DF bit on a UDP BSD socket in OS X (From: Ivan Beschastnikh <email@hidden>)
 >Re: setting the DF bit on a UDP BSD socket in OS X (From: "Peter Sichel" <email@hidden>)
 >Re: setting the DF bit on a UDP BSD socket in OS X (From: Ivan Beschastnikh <email@hidden>)

  • Prev by Date: Re: setting the DF bit on a UDP BSD socket in OS X
  • Next by Date: Looking for pointers to 3G/UMTS info
  • Previous by thread: Re: setting the DF bit on a UDP BSD socket in OS X
  • Next by thread: O_NONBLOCK & connect() not blocking
  • Index(es):
    • Date
    • Thread