From owner-freebsd-net@FreeBSD.ORG Tue Jun 5 22:11:11 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 129C710657AC; Tue, 5 Jun 2012 22:11:11 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id A10A78FC12; Tue, 5 Jun 2012 22:11:10 +0000 (UTC) Received: from [IPv6:2002:508f:aec8::9067:f14:c64c:c60a] (unknown [IPv6:2002:508f:aec8:0:9067:f14:c64c:c60a]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 189F81C0C0BE9; Wed, 6 Jun 2012 00:11:09 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 From: Michael Tuexen In-Reply-To: Date: Wed, 6 Jun 2012 00:11:08 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7731AEE8-D1BF-4297-8F75-454149D3E303@lurchi.franken.de> References: <1D03F00E-2777-4B0B-8E1C-860EA115B6AF@lurchi.franken.de> To: Adrian Chadd X-Mailer: Apple Mail (2.1278) Cc: "freebsd-net@freebsd.org mailing list" Subject: Re: IP_RECVTOS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 22:11:11 -0000 On Jun 5, 2012, at 11:37 PM, Adrian Chadd wrote: > Hi, >=20 > can you please wrap this up in a PR so it's not lost? Why should it get lost? If there are no objections, I'll commit it. If = there are, we'll see if we can resolve it. Best regards Michael >=20 > thanks, >=20 >=20 > Adrian >=20 > On 5 June 2012 13:33, Michael Tuexen = wrote: >> Dear all, >>=20 >> there is currently no way to receive the TOS byte of a received = UDP/IPv4 packet. >> The attached patch adds a socket option (IP_RECVTOS) which you can = use >> to get a cmsg of type (IP_RECVTOS) which contains the TOS byte. Much = like >> IP_RECVTTL does for TTL. Any comments/objections? If there are none, = I would >> like to commit this to head soon. >>=20 >> Best regards >> Michael >>=20 >>=20 >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to = "freebsd-net-unsubscribe@freebsd.org" >=20