Re: setting the DF bit on a UDP BSD socket in OS X
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