History log of /external/iproute2/ip/tunnel.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f005b700cf076020e882ffadce693deb13a88488 10-Jun-2017 Krister Johansen <kjlx@templeofstupid.com> iptunnel: add support for mpls/ip to sit tunnels

Original-Author: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Krister Johansen <kjlx@templeofstupid.com>
/external/iproute2/ip/tunnel.c
56f5daac98da0c405fdbc52f04afd5de82404bce 21-Mar-2016 Stephen Hemminger <stephen@networkplumber.org> ip: code cleanup

Run all the ip code through checkpatch and have it fix the obvious stuff.
/external/iproute2/ip/tunnel.c
f8fc1d101e74fc9f1f9ca57b5e494c2f7bc33bf7 21-Dec-2015 Phil Sutter <phil@nwl.cc> iptunnel: Fix compile error in ip/tunnel.c

I repeatedly failed to get this right, so now I have to clean up my mess
afterwards.

Fixes: 7d6aadcd0a1dc ("ip{,6}tunnel: have a shared stats parser/printer")
Signed-off-by: Phil Sutter <phil@nwl.cc>
/external/iproute2/ip/tunnel.c
7d6aadcd0a1dc795d72e1ab311aee333c763fe71 18-Dec-2015 Phil Sutter <phil@nwl.cc> ip{,6}tunnel: have a shared stats parser/printer

This has a slight side-effect of not aborting when /proc/net/dev is
malformed, but OTOH stats are not parsed for uninteresting interfaces.

Signed-off-by: Phil Sutter <phil@nwl.cc>
/external/iproute2/ip/tunnel.c
a7ed1520ee9645e31b94caf72cad47be31856745 13-Nov-2015 Phil Sutter <phil@nwl.cc> ip/tunnel: introduce tnl_parse_key()

Instead of duplicating the same code six times (key, ikey and okey in
iptunnel and ip6tunnel), have a common parsing routine. This has the
added benefit of having the same verbose error message in ip6tunnel as
well as iptunnel.

I'm not sure if parsing an IPv4 address as key makes sense for
ip6tunnel, but the code was there before so this patch at least doesn't
make it worse.

Signed-off-by: Phil Sutter <phil@nwl.cc>
/external/iproute2/ip/tunnel.c
cb89c7c70a6e4577d57fcc073e129922524f7695 24-Jul-2015 Zhang Shengju <zhangshengju@cmss.chinamobile.com> ip/ip6tunnel: fix missing return value check

Make sure that return value of each socket() call is properly checked
and do not continue processing if the call failed.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
/external/iproute2/ip/tunnel.c
14e976733077f02a2e2d5c5508c5795c7a5fbf3b 04-Dec-2014 Stephen Hemminger <shemming@brocade.com> tunnel: decode ESP tunnel type

Add ESP to decode switch.
/external/iproute2/ip/tunnel.c
0612519e011812276ade512d4a7f8113497f64ed 17-Feb-2014 Stephen Hemminger <stephen@networkplumber.org> Remove trailing whitespace
/external/iproute2/ip/tunnel.c
4d98ab00de90bac916f526c83c68012d7159f712 07-Dec-2013 Stephen Hemminger <stephen@networkplumber.org> Fix FSF address in file headers
/external/iproute2/ip/tunnel.c
14645ec2310ee7cf6d2f3d5035ac37ec09674e2c 08-Feb-2013 Kees van Reeuwijk <reeuwijk@few.vu.nl> iproute2: improved error messages

This patch improves many error messages as follows:
- For incorrect parameters, show the value of the offending parameter, rather than just say that it is incorrect
- Rephrased messages for clarity
- Rephrased to more `mainstream' english

Signed-off-by: Kees van Reeuwijk <reeuwijk@few.vu.nl>
/external/iproute2/ip/tunnel.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/tunnel.c
3979ef91de9ed17d21672aaaefd6c228485135a2 04-Apr-2010 Alexandre Cassen <acassen@freebox.fr> Detect 6rd kernel missing support / 6rd tunnel scope

This patch fix two issues:

* If kernel is not supporting 6rd then ioctl() call
will return EINVAL, if so just skip perror call.

* 6rd scope is ipv6/ip tunnels. Dont try to fetch
6rd tunnel parms if tunnel protocol != IPPROTO_IPV6.

Signed-off-by: Alexandre Cassen <acassen@freebox.fr>
/external/iproute2/ip/tunnel.c
b88215c4689d94628d3aa0ac112c290b6373860a 16-Dec-2009 Alexandre Cassen <acassen@freebox.fr> IPv6: 6rd iproute2 support

This patch provides iproute2 facilities to configure 6rd tunnel. To
configure a 6rd tunnel, you need to configure a sit tunnel and set
6rd prefix as following :

ip tunnel add sit1 mode sit local a.b.c.d ttl 64
ip tunnel 6rd dev sit1 6rd-prefix xxxx:yyyy::/z

Optionally you can provide a relay prefix :

ip tunnel 6rd dev sit1 6rd-relay_prefix e.f.g.h/i

Finally you can reset previous tunnel settings :

ip tunnel 6rd dev sit1 6rd-reset

Signed-off-by: Alexandre Cassen <acassen@freebox.fr>
/external/iproute2/ip/tunnel.c
a07e9912539d4ec26c954a9b03f04af987df6246 04-May-2009 Sascha Hlusiak <mail@saschahlusiak.de> iproute2: ISATAP potential router list

--Boundary-01=_wxi/JRaNdLkbr7g
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Stephen,

please review attached patch to add support for in-kernel potential router=
=20
lists for ISATAP tunnels.

Usage:
ip tunnel add name isatap0 mode isatap local 192.168.1.100
ip tunnel prl dev isatap0 prl-default 192.168.1.1
ip tunnel prl dev isatap0 prl-nodefault 192.168.1.2
ip tunnel prl dev isatap0 prl-delete 192.168.1.1
ip tunnel show # pr and pdr will be listed as well

Patch based on http://osprey67.com/seal/iproute2_diff.v0_3.txt by Fred L.=20
Templin.

Thanks,
Sascha
/external/iproute2/ip/tunnel.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/tunnel.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/tunnel.c
d9bd1bd945b12b52e7825aa2742fa15ffa09651a 23-Nov-2006 Masahide NAKAMURA <nakam@linux-ipv6.org> TUNNEL: Split common functions to export them.

Split common functions like ioctl to export them.
This is a preparation to support to configure IPv6-over-IPv6 tunnel.
This patch also includes minor improvemen:
o to stop to include unused headers
o to change function static if it is not needed to be exported

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/tunnel.c