From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: Add etun driver Date: Mon, 09 Apr 2007 11:37:30 -0700 (PDT) Message-ID: <20070409.113730.71114683.davem@davemloft.net> References: <1176136628.8459.34.camel@johannes.berg> <461A70A5.8060607@trash.net> <461A829C.7050703@candelatech.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kaber@trash.net, johannes@sipsolutions.net, ebiederm@xmission.com, shemminger@linux-foundation.org, jgarzik@pobox.com, akpm@linux-foundation.org, netdev@vger.kernel.org, kuznet@ms2.inr.ac.ru, dlezcano@fr.ibm.com, dim@openvz.org, containers@lists.osdl.org To: greearb@candelatech.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:45342 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753358AbXDIShb (ORCPT ); Mon, 9 Apr 2007 14:37:31 -0400 In-Reply-To: <461A829C.7050703@candelatech.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Ben Greear Date: Mon, 09 Apr 2007 11:14:52 -0700 > Patrick McHardy wrote: > > > It would be nice if someone would finally come up with a generic > > interface based on netlink (RTM_NEWLINK) instead of adding yet > > another couple of homegrown interfaces. > > My preference is for ioctls, procfs, or similar that does not > require extra libraries. Ethtool is an ioctl based approach, > so that could potentially be used, though I'm not sure if > that's the right place to put it... I totally disagree. Netlink doesn't require libraries, the libraries just make using it easier. It's a simple protocol sent over a socket, if you include the right headers you can do it all yourself. We shouldn't fail to use our proper core network configuration interface just because it's inconvenient for you.