History log of /external/iproute2/ip/link_iptnl.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c079e121a73af5eb49e003b13607e8a690331df6 27-May-2015 Stephen Hemminger <shemming@brocade.com> libnetlink: add size argument to rtnl_talk

There have been several instances where response from kernel
has overrun the stack buffer from the caller. Avoid future problems
by passing a size argument.

Also drop the unused peer and group arguments to rtnl_talk.
/external/iproute2/ip/link_iptnl.c
858dbb208e3934525674252a6b6cf7d36a9de191 29-Jan-2015 Tom Herbert <therbert@google.com> ip link: Add support for remote checksum offload to IP tunnels

This patch adds support to remote checksum checksum offload
confinguration for IPIP, SIT, and GRE tunnels. This patch
adds a [no]encap-remcsum to ip link command which applicable
when configured tunnels that use GUE.

http://tools.ietf.org/html/draft-herbert-remotecsumoffload-00

Example:

ip link add name tun1 type gre remote 192.168.1.1 local 192.168.1.2 \
ttl 225 encap fou encap-sport auto encap-dport 7777 encap-csum \
encap-remcsum

This would create an GRE tunnel in GUE encapsulation where the source
port is automatically selected (based on hash of inner packet),
checksums in the encapsulating UDP header are enabled (needed.for
remote checksum offload), and remote checksum ffload is configured to
be used on the tunnel (affects TX side).

Signed-off-by: Tom Herbert <therbert@google.com>
/external/iproute2/ip/link_iptnl.c
c1159152e1b3abeee74b2d46f67e97fb5fa53ce4 05-Nov-2014 Tom Herbert <therbert@google.com> ip link ipip: Add support to configure FOU and GUE

This patch adds support to configure foo-over-udp (FOU) and Generic
UDP Encapsulation for IPIP and sit tunnels. This configuration allows
selection of FOU or GUE for the tunnel, specification of the source and
destination ports for UDP tunnel, and enabling TX checksum. This
configuration only affects the transmit side of a tunnel.

Example:

ip link add name tun1 type ipip remote 192.168.1.1 local 192.168.1.2 \
ttl 225 encap gue encap-sport auto encap-dport 9999 encap-csum

This would create an IPIP tunnel in GUE encapsulation where the source
port is automatically selected (based on hash of inner packet) and
checksums in the encapsulating UDP header are enabled.

Signed-off-by: Tom Herbert <therbert@google.com>
/external/iproute2/ip/link_iptnl.c
561e650eff679296d3f4c12657721ae769cbc187 30-Sep-2014 vadimk <vadim4j@gmail.com> ip link: Shortify printing the usage of link type

Allow to print particular link type usage by:

ip link help [TYPE]

Currently to print usage for some link type it is needed
to use the following way:

ip link { add | del | set } type TYPE help

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/ip/link_iptnl.c
30d07e9e36a4fd1044ed10b36e91dc6a124c6c3c 26-Aug-2013 Richard Godbee <richard@godbee.net> iproute2: spelling: noptmudisc -> nopmtudisc

Signed-off-by: Richard Godbee <richard@godbee.net>
/external/iproute2/ip/link_iptnl.c
77620be89af6087c1ff63467f9ccb036db37a033 16-Jul-2013 Nicolas Dichtel <nicolas.dichtel@6wind.com> ip: allow to specify mode for sit tunnels

It's now possible to have IPv4 and IPv6 over IPv4 tunnels with the module sit.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
/external/iproute2/ip/link_iptnl.c
195f0f62d7ae3eb1f98dda46de852660503370eb 14-Dec-2012 Nicolas Dichtel <nicolas.dichtel@6wind.com> ip/link_iptnl: fix indentation Logged in as shemminger

Use tabs instead of space when possible.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
/external/iproute2/ip/link_iptnl.c
1ce2de97386e38c258ee2048a80ee28d0e8bad01 12-Dec-2012 Nicolas Dichtel <nicolas.dichtel@6wind.com> ip: add support of 'ip link type [ipip|sit]'

This patch allows to manage ip tunnels via the interface ip link.
The syntax for parameters is the same that 'ip tunnel'.

It also allows to display tunnels parameters with 'ip -details link' or
'ip -details monitor link'.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
/external/iproute2/ip/link_iptnl.c