In article <[EMAIL PROTECTED]> (at Fri, 09 Nov 2007 16:35:59 -0800), osprey67
<[EMAIL PROTECTED]> says:
> --- linux-2.6.24-rc2/include/linux/if_tunnel.h.orig 2007-11-09
> 09:06:16.000000000 -0800
> +++ linux-2.6.24-rc2/include/linux/if_tunnel.h 2007-11-09
> 15:49:54.000000000 -0800
> @@ -25,6 +25,8 @@ struct ip_tunnel_parm
> __be16 o_flags;
> __be32 i_key;
> __be32 o_key;
> + __be32 router;
> + __be32 lifetime;
> struct iphdr iph;
> };
>
No, you cannot simply change this.
If you change ioctl structure, you need to change
constants for SIOC{GET,ADD,CHG,DEL}TUNNEL.
Rename ole ones to OSIOxxx and assign new values.
If possible, new iproute2 should work with old kernels, and
old iproute2 should work with new kernels (without new features).
--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html