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 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/