kern/177362: [netinet] [patch] Wrong control used to return TOS
Mark Andrews
marka at isc.org
Wed Mar 27 12:00:03 UTC 2013
The following reply was made to PR kern/177362; it has been noted by GNATS.
From: Mark Andrews <marka at isc.org>
To: Michael Tuexen <tuexen at freebsd.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: kern/177362: [netinet] [patch] Wrong control used to return TOS
Date: Wed, 27 Mar 2013 22:54:06 +1100
In message <25EB2335-645C-42ED-B90A-6D07A33280DB at freebsd.org>, Michael Tuexen w
rites:
> It was not done by accident. The returned cmsg_type is IP_RECVTOS instead
> of IP_TOS to keep it consistent with the handling of the IP_RECVTTL socket
> option.
> I found it more important to be consistent within the same protocol family
> than across different ones.
> I think that unfortunately IP_RECVTOS is not defined in any standard.
>
> Best regards
> Michael
And Linux uses IP_TOS to return the value.
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the freebsd-net
mailing list