Re: [PATCH] EtherIP tunnel driver (RFC 3378)

From: Stephen Hemminger
Date: Wed Sep 13 2006 - 21:34:07 EST


On Thu, 14 Sep 2006 11:21:22 +1000
Philip Craig <philipc@xxxxxxxxxxxx> wrote:

> Joerg Roedel wrote:
> > + To configure tunnels an extra tool is required. You can download
> > + it from http://zlug.fh-zwickau.de/~joro/projects/ under the
> > + EtherIP section. If unsure, say N.
>
> To obtain a list of tunnels, this tool calls SIOCGETTUNNEL
> (SIOCDEVPRIVATE + 0) for every device in /proc/net/dev. I don't think
> this is safe, but I don't have a solution for you.
>
> Is there a reason why you have a separate tool rather than modifying
> iproute2?
>
> I don't know if you are aware of this older etherip patch by Lennert
> Buytenhek: http://www.wantstofly.org/~buytenh/etherip/

SIOCDEVPRIVATE usage makes it hard to do 32 bit compatibility layer.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/