Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 12:00:01 GMT
From:      Mark Andrews <marka@isc.org>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/177362: [netinet] [patch] Wrong control used to return TOS
Message-ID:  <201303271200.r2RC01nl074477@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/177362; it has been noted by GNATS.

From: Mark Andrews <marka@isc.org>
To: Michael Tuexen <tuexen@freebsd.org>
Cc: bug-followup@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@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@isc.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303271200.r2RC01nl074477>