netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: netdev@oss.sgi.com, shemminger@osdl.org,
	rhousley@rsasecurity.com, shollenbeck@verisign.com
Subject: Re: [PATCH][RFC] etherip: Ethernet-in-IPv4 tunneling
Date: Wed, 12 Jan 2005 15:11:40 -0800	[thread overview]
Message-ID: <41E5AEAC.8060706@candelatech.com> (raw)
In-Reply-To: <20050112224810.GE14280@xi.wantstofly.org>

Lennert Buytenhek wrote:
> On Wed, Jan 12, 2005 at 02:42:49PM -0800, Ben Greear wrote:
> 
> 
>>Why do you add a single device when loading the module?  Is this just
>>so you have something to hook the ioctl to?
>>
>>My personal preference would be something where you do not automatically
>>create an etherip0, but would have an etherip-config tool or similar to
>>create/destroy interfaces.
> 
> 
> I modelled this after the way ipip/gre/sit do things -- they create
> tunl0/gre0/sit0, and have 'ip tunnel' send its ioctls to those devices.
> 
> I wouldn't mind changing this to another mechanism, but 1) we'd have to
> agree on a mechanism, and 2) we'd have to change the other tunnel types
> over to this mechanism as well.

Ok, it's not a big deal to me.

>>Also, could you add an ioctl that allowed one to query whether or not
>>a particular device is an etherip device?  I had always wished I had added
>>this earlier to the VLAN code :)
> 
> 
> Hmmm.  Bridge devices don't have this either, do they?  Can you name
> an advantage of having this?

I got the request several times with regard to VLANs.  Lots of people
(and applications) will want to know the interface type for various
reasons.  If you don't give them a nice programatic thing like an
IOCTL to call, they will undoubtedly start making assumptions based
off of the device name...

Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2005-01-12 23:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-12 22:24 [PATCH][RFC] etherip: Ethernet-in-IPv4 tunneling Lennert Buytenhek
2005-01-12 22:42 ` Ben Greear
2005-01-12 22:48   ` Lennert Buytenhek
2005-01-12 23:11     ` Ben Greear [this message]
2005-01-12 23:16       ` Lennert Buytenhek
2005-01-12 23:43         ` Thomas Graf
2005-01-13  0:18           ` Lennert Buytenhek
2005-01-13  0:28             ` Thomas Graf
2005-01-13  0:36               ` Lennert Buytenhek
2005-01-13  1:20                 ` Thomas Graf
2005-01-12 23:43         ` Ben Greear
2005-01-13  0:04 ` Stephen Hemminger
2005-01-13  0:29   ` Lennert Buytenhek
2005-01-13  7:49 ` Pekka Savola
2005-01-13  9:23   ` Lennert Buytenhek
2005-01-16 17:37     ` jamal
2005-01-16 18:55       ` tunneling in linux (was: Re: [PATCH][RFC] etherip: Ethernet-in-IPv4 tunneling) Lennert Buytenhek
2005-01-16 19:51         ` Pekka Savola
2005-01-16 19:57           ` Lennert Buytenhek
2005-01-17  5:45             ` Pekka Savola
2005-01-16 20:02         ` jamal
2005-01-16 20:20           ` Lennert Buytenhek
2005-01-16 20:37             ` Hasso Tepper
2005-01-16 21:21               ` Lennert Buytenhek
2005-01-16 21:32                 ` Hasso Tepper
2005-01-16 21:44                   ` Lennert Buytenhek
2005-01-16 23:09             ` jamal
2005-01-16 19:02       ` [PATCH][RFC] etherip: Ethernet-in-IPv4 tunneling Lennert Buytenhek
2005-01-16 20:05         ` jamal
2005-01-16 20:22           ` Lennert Buytenhek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41E5AEAC.8060706@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=buytenh@wantstofly.org \
    --cc=netdev@oss.sgi.com \
    --cc=rhousley@rsasecurity.com \
    --cc=shemminger@osdl.org \
    --cc=shollenbeck@verisign.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).