On Tue, Aug 16, 2005 at 12:50:51PM +0300, Hasso Tepper wrote:
> According to man 7 ip:
> 
> IP_RECVTTL
>       When this flag is set pass a IP_RECVTTL control message with the
>       time to live field of the received packet as a  byte.  Not 
>       supported for SOCK_STREAM sockets.
> 
> This is not what happens. Instead of control message with type IP_RECVTTL 
> (12) I get message with type IP_TTL (2). What makes it more complicated 
> is that in FreeBSD (AFAIK othere OSes don't have it) control message has 
> type IP_RECVTTL.
> 
> Bug in man page? Or in kernel?

The man page was supposed to document the kernel, so it's probably
a bug in the manpage.  You should send a patch to the manpages
maintainers, with a warning in NOTES that the Linux behaviour
differs from other OS.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to