From owner-freebsd-net Wed Jul 17 6:26:12 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73E4837B400 for ; Wed, 17 Jul 2002 06:26:10 -0700 (PDT) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A6AF43E4A for ; Wed, 17 Jul 2002 06:26:09 -0700 (PDT) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g6HDPst23822; Wed, 17 Jul 2002 15:25:54 +0200 Received: (nullmailer pid 71802 invoked by uid 1000); Wed, 17 Jul 2002 13:25:51 -0000 Date: Wed, 17 Jul 2002 15:25:51 +0200 From: Mark Santcroos To: net@freebsd.org Cc: Joe Pellegrino Subject: ip options on udp sockets Message-ID: <20020717132551.GF485@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-NCC-SpamStatus: Found to be clean X-RIPE-NCC-SpamCheck: SpamAssassin (score=-100, required 10, USER_IN_WHITELIST) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Why are IP options not passed to userland on a udp socket? (and on all other transport protocols for that matter) We created such an implementation by just returning it in the ancillary data control message. (Only for IP timestamps which we needed but this could be easily done for all IP options) If there is any good (maybe historic) reason why this is not done and why it should not be done I would like to hear that. We also created a kernel option to threat the IP timestamp as microseconds instead of milliseconds to make the measurements more useful. If there is interest we are more than happy to submit the code to the project. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message