Re: How to identify different ip tunnels

2014-01-23 Thread Cong Wang
On Wed, Jan 22, 2014 at 11:33 PM, zhuyj 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

Re: How to identify different ip tunnels

2014-01-23 Thread zhuyj
The version of the kernel is 3.4.43. Any reply is appreciated. Best Regards! Zhu Yanjun On 01/23/2014 03:33 PM, zhuyj wrote: Hi, Maintainers We want to identify different ip tunnels. For example, we use “ip tunnel add xxx” command in linux to create an ipv4/6 tunnel interface,then,we can

Re: How to identify different ip tunnels

2014-01-23 Thread zhuyj
The version of the kernel is 3.4.43. Any reply is appreciated. Best Regards! Zhu Yanjun On 01/23/2014 03:33 PM, zhuyj wrote: Hi, Maintainers We want to identify different ip tunnels. For example, we use “ip tunnel add xxx” command in linux to create an ipv4/6 tunnel interface,then,we can

Re: How to identify different ip tunnels

2014-01-23 Thread Cong Wang
On Wed, Jan 22, 2014 at 11:33 PM, zhuyj zyjzyj2...@gmail.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

How to identify different ip tunnels

2014-01-22 Thread zhuyj
Hi, Maintainers We want to identify different ip tunnels. For example, we use “ip tunnel add xxx” command in linux to create an ipv4/6 tunnel interface,then,we can receive a RTM_NEWLINK message from linux for the new tunnel interface. We will parse the struct ifinfomsg message and get the

How to identify different ip tunnels

2014-01-22 Thread zhuyj
Hi, Maintainers We want to identify different ip tunnels. For example, we use “ip tunnel add xxx” command in linux to create an ipv4/6 tunnel interface,then,we can receive a RTM_NEWLINK message from linux for the new tunnel interface. We will parse the struct ifinfomsg message and get the