site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.duke.edu; s=mail; t=1229375000; bh=Gq0Fm4WsVwRXavGDGI6uL7bUAx70bOtL3W5vhk518ZE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Es8bSeJxwZ99 S8vPEBKylCcgoYt85DIQzUOPnL2HVv2L18oEsFDKtzgHYhMESRDmZvdQfHQJulnfeau IKjh7DKCqu61dn6cMr/0Xd4YkdthL6BP7SHQ0T9m26yRi9u+arn6HzO03VoQNPEvcR5 cwmIAFl4so8cFPmdatU+VjSvo= User-agent: Thunderbird 2.0.0.16 (X11/20080724) Before these obfuscations, I wrote a device driver for an HPC interconnect which does ethernet emulation (really encapsulation) which shared the ethernet driver transmit and receive code between FreeBSD, MacOSX, and Tru64. The shims for the mbuf accessor functions were no big deal, I still use them in current products that support 10.3. My memory is a bit hazy, but I seem to remember having problems creating an ifnet and hooking it into the system in 10.4 and higher. I don't remember exactly what was the problem, but at that point we were working on a new product which wouldn't support Tru64, so the opportunities for code sharing were diminished. So I just decided to write a "normal" IOEthernet derived driver for the next generation HPC software. Drew _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Amanda Walker wrote: On Dec 15, 2008, at 10:03 AM, Andrew Gallatin wrote: Interesting. I'd be curious about how extensive the changes were to use through the KPIs introduced in Darwin 8. I haven't had to do that conversion, but just looking at kpi_interface.h, it appears as though the changes would be pretty minimal (ifnet_t and its accessors and mutators strike me as more ecapsulation than obfuscation). This email sent to site_archiver@lists.apple.com