From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 6 Sep 2001 16:23:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 6 Sep 2001 16:23:28 -0400 Received: from shell.cyberus.ca ([209.195.95.7]:50315 "EHLO shell.cyberus.ca") by vger.kernel.org with ESMTP id ; Thu, 6 Sep 2001 16:23:15 -0400 Date: Thu, 6 Sep 2001 16:20:39 -0400 (EDT) From: jamal To: Wietse Venema cc: Alan Cox , , Matthias Andree , , , Subject: Re: [PATCH] ioctl SIOCGIFNETMASK: ip alias bug 2.4.9 and 2.2.19 In-Reply-To: <20010906195958.222DFBC06C@spike.porcupine.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Sep 2001, Wietse Venema wrote: > Alan Cox: > > > Soldiers are marching down the street. The mother of one of those > > > soldiers is ever so proud. All the other guys are marching out of > > > step. Her son is the only one who does it right. > > > > > > That's what it looks like for a person who writes Internet software > > > that aims to work on a wide variety of platforms. > > > > I think you have the metaphor wrong. The older API is a bit like the > > cavalry charging into battle at the start of world war one. It may have been > > how everyone did it but they guys with the "newfangled, really not how it > > should be done, definitely not cricket" machine guns got the last laugh > > Keep your superiority complex out of my mailbox, thank you. > Wietse, netlink, as a few people have pointed to you is the 'proper' way to do things. Sure, the BSDs did it the way you love it, but linux is a different operating system (cut the "if its not Scottish its crap mentality"). Netlink does improve on "the way its always been done for the last 80 years". Infact netlink has already been approved to be (at least informational) RFC. Look at a slightly dated draft at: http://search.ietf.org/internet-drafts/draft-salim-netlink-jhshk-00.txt Maybe you should preach to the BSDs about netlink? cheers, jamal PS:- If you want help on writting netlink based code to achieve what you are trying to do, just yell. Look at the source for the ip utility which is within the iproute2 package.