21a5a6b37892d7173f38691d1f84366840ce3917 |
|
19-Sep-2011 |
Jiri Benc <jbenc@redhat.com> |
iproute2: fix changing of ip6ip6 tunnel parameters When changing ip6ip6 parameters (ip -6 tun change), ip passes zeroed struct ip6_tnl_parm to the kernel. The kernel then tries to change all of the tunnel parameters to the passed values, including zeroing of local and remote address. This fails (-EEXIST in net/ipv6/ip6_tunnel.c:ip6_tnl_ioctl). For other tunnel types, ip fetches the current parameters first and applies the required changes on top of them. This patch applies the same code as in ip/iptunnel.c to ip/ip6tunnel.c. See http://bugzilla.redhat.com/730627 for the original bug report. Signed-off-by: Jiri Benc <jbenc@redhat.com>
/external/iproute2/ip/ip6tunnel.c
|
38c867d2a82d6f2b60450550fbaaadc5d9c77579 |
|
09-Mar-2011 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Add checks for fgets() when reading proc If expected proc headers are missing, catch and print error.
/external/iproute2/ip/ip6tunnel.c
|
ea71beacacb9ebf756bbc250c71df59ec2f46243 |
|
28-Nov-2010 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Use standard routines for interface name to index etc Use the available libraries for mapping from interface index to name or type. This should speed up display with lots of interfaces
/external/iproute2/ip/ip6tunnel.c
|
232642c28c5320e6cf1e32f667f866c5f7372bfe |
|
02-Dec-2009 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Remove Changes: comments Discourage developers from putting change log in comments now that software has been under change control for 5 years.
/external/iproute2/ip/ip6tunnel.c
|
c3651bf4763d7247e3edd4e20526a85de459041b |
|
27-Mar-2009 |
Srivats P <srivats.p@conexant.com> |
ip6tunnel: Fix no default display of ip4ip6 tunnels "ip -6 tunnel show" displays only ip6ip6 tunnels not ip4ip6 tunnels - it should display all irrespective of proto. This is because the default tunnel proto is initialized to IPPROTO_IPV6 in ip6_tnl_parm_init() which is fine for a 'add' command but not for 'show'. This patch overrides proto with 0 signifying 'mode any' as the default in case of a 'show'.
/external/iproute2/ip/ip6tunnel.c
|
eddde1101c6f906b61011bbf787c4006c9ca5b30 |
|
13-Mar-2008 |
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> |
Add more aliases for tunnel subcommand. Add more aliases to synchronize IPv4 and IPv6 tunnel command, e.g., IPv4: hoplimit (alias to ttl), tclass (alias to tos) IPv6: dsfield, tos (alias to tc, or tclass), ttl (alias to hoplimit) Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/ip/ip6tunnel.c
|
0b959b0f4dcb9c905fb1b7f60d39d9e284e77eea |
|
12-Oct-2007 |
YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> |
IPROUTE2: Support IPv4/IPv6 Tunnel Based on patch from Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/ip6tunnel.c
|
ae665a522bd46bea44c5ea84c89c8b1731954170 |
|
05-Dec-2006 |
Stephen Hemminger <shemminger@osdl.org> |
Remove trailing whitespace Go through source files and remove all trailing whitespace Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/ip6tunnel.c
|
288384f22ffafd2d7d888ee45d8dfcf26d3f2b1c |
|
23-Nov-2006 |
Masahide NAKAMURA <nakam@linux-ipv6.org> |
TUNNEL: IPv6-over-IPv6 tunnel support. Fix ip6tunnel.c to be fit with current ip command style. Unlike other modules currently iptunnel (and ip6tunnel) is not designed as protocol-independent because of unarranged structure between IPv4 and IPv6. Usage: ip -f inet6 tunnel { add | change | del | show } [ NAME ] [ remote ADDR local ADDR ] [ dev PHYS_DEV ] [ encaplimit ELIM ] [ hoplimit HLIM ] [ tc TC ] [ fl FL ] [ dscp inherit ] Where: NAME := STRING ADDR := IPV6_ADDRESS ELIM := { none | 0..255 }(default=4) HLIM := 0..255 (default=64) TC := { 0x0..0xff | inherit } FL := { 0x0..0xfffff | inherit } Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/ip6tunnel.c
|
9447a0d344bf772027a9012a44b6b536e170da35 |
|
23-Nov-2006 |
Masahide NAKAMURA <nakam@linux-ipv6.org> |
TUNNEL: Import ip6tunnel.c. This file (ip6tunnel.c) is renamed from ipv6tunnel.c which is imported from usagi cvs tree. It is originally ported by MIPL to work on their 2.4 kernel patch (MIPL1). Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/ip6tunnel.c
|