Hi!

On Son, 2008-10-19 at 21:30 +0200, John Hay wrote:
[...]
> So here is my patch to clip the mtu in the IPv6 case. I have hardcoded
> OLSR_IPV6_MTU, but at least on the BSDs it is defined in netinet/ip6.h as
> IPV6_MMTU. It did not look as if ip6.h is pulled in at the moment, so I did
> not know if we should start now. :-)

Why not?
Is there any reason not to use a #define in a system header and hardcode
magic values in some application?

Hmm, on my Fedora-9, I can find
----  snip  ----
/* The latest drafts declared increase in minimal mtu up to 1280. */

#define IPV6_MIN_MTU	1280
----  snip  ----
in <linux/ipv6.h> which seems to be the equivalent value.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



