[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHA+R7MGzxYGkNYrBmENcsaY_0de79xA4fHu+hPDGQK9bf21QA@mail.gmail.com>
Date: Thu, 23 Jan 2014 10:16:08 -0800
From: Cong Wang <cwang@...pensource.com>
To: zhuyj <zyjzyj2000@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>, kuznet@....inr.ac.ru,
jmorris@...ei.org, yoshfuji@...ux-ipv6.org, kaber@...sh.net,
linux-kernel@...r.kernel.org
Subject: Re: How to identify different ip tunnels
On Wed, Jan 22, 2014 at 11:33 PM, zhuyj <zyjzyj2000@...il.com> wrote:
> Here are the result that we have got:
>
> Actual Tunnel type ifi->ifi_type
> 4IN4 768
> GRE4 778
> 6IN4/6TO4/ISATAP 776
> 4IN6/6IN6/IPIN6 769
>
> So, we can NOT distinguish the actual tunnel type via ifi_type attribute
> except the GRE4 and 4IN4 tunnel. However we need the actual type. That is
> our question.
Try to search IFLA_IPTUN_PROTO. They are distinguished by protocol.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists