History log of /external/iproute2/ip/ip.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b082b9f9ad94f08d3f3d2e617f71dbaf3751ccad 08-Sep-2010 Dmitry Shmidt <dimitrysh@google.com> iproute2: Add ip utility

Change-Id: If7072c8d1b2d23c4383a452a4b0afddad779f3c1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/external/iproute2/ip/ip.c
5aa08f6bf4107f8aec43c0678466a314dbd0d054 20-Jan-2012 Stephen Hemminger <shemminger@vyatta.com> ip: make 'ip l' be 'ip link'

Restore compatiablity for those lazy typists.
/external/iproute2/ip/ip.c
38cd311adef818a891a0d9fa778969419fe55141 24-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> l2tp: Add l2tp support

Based on earlier implementation by James Chapman. But instead of
dragging in all of libnl, use existing libnetlink infrastructure.
/external/iproute2/ip/ip.c
7397944de6c11519a5951fc1bcff20225e71c4bd 13-Oct-2011 Stephen Hemminger <shemminger@vyatta.com> ip: fix exit codes

Alternative fix to problem reported by: Bin Li
The issue is came from https://bugzilla.novell.com/show_bug.cgi?id=681952.

In any previous version (since suse ... 10.0?), ip addr add always returned
the error code 2 in case the ip address is already set on the interface:

inet 172.16.2.3/24 brd 172.16.2.255 scope global bond0
RTNETLINK answers: File exists
2

On 11.4, it returns the exit code 254:

inet 172.16.1.1/24 brd 172.16.1.255 scope global eth0
RTNETLINK answers: File exists
254

This of course causes ifup to return an error in this quite common case..
/external/iproute2/ip/ip.c
0dc34c7713bb7055378fe5cbc720d63d0db572a1 13-Jul-2011 Eric W. Biederman <ebiederm@xmission.com> iproute2: Add processless network namespace support

The goal of this code change is to implement a mechanism such that it is
simple to work with a kernel that is using multiple network namespaces
at once.

This comes in handy for interacting with vpns where there may be rfc1918
address overlaps, and different policies default routes, name servers
and the like.

Configuration specific to a network namespace that would ordinarily be
stored under /etc/ is stored under /etc/netns/<name>. For example if
the dns server configuration is different for your vpn you would create
a file /etc/netns/myvpn/resolv.conf.

File descriptors that can be used to manipulate a network namespace can
be created by opening /var/run/netns/<NAME>.

This adds the following commands to iproute.
ip netns add NAME
ip netns delete NAME
ip netns monitor
ip netns list
ip netns exec NAME cmd ....
ip link set DEV netns NAME

ip netns exec exists to cater the vast majority of programs that only
know how to operate in a single network namespace. ip netns exec
changes the default network namespace, creates a new mount namespace,
remounts /sys and bind mounts netns specific configuration files to
their standard locations.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
/external/iproute2/ip/ip.c
64c7956061500611061910067d76512afcd2ddb4 01-Dec-2010 Ben Greear <greearb@candelatech.com> Allow 'ip addr flush' to loop more than 10 times

The default remains at 10 for backwards compatibility.

For instance:
# ip addr flush dev eth2
*** Flush remains incomplete after 10 rounds. ***
# ip -l 20 addr flush dev eth2
*** Flush remains incomplete after 20 rounds. ***
# ip -loops 0 addr flush dev eth2
#

This is useful for getting rid of large numbers of IP
addresses in scripts.

Signed-off-by: Ben Greear <greearb@candelatech.com>
/external/iproute2/ip/ip.c
b6c8e808fcea80da8bb97078ff942a0b9001e1c1 09-Jun-2010 Patrick McHardy <kaber@trash.net> ip: add support for multicast rules

commit 44a5293c1c47b8c32d9bb0756660ea5d4802acf2
Author: Patrick McHardy <kaber@trash.net>
Date: Tue Apr 13 17:03:47 2010 +0200

ip: add support for multicast rules

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/ip.c
33ff9324def1d618614ba869fa2d7e73fde8428e 04-Mar-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2
3e4f6a380a14a3100b1aa97a94c46d8712080863 04-Mar-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> Fix line numbering on batch commands

ip command should not keep track of lineno, that is done
in getcmdline().
/external/iproute2/ip/ip.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/ip.c
7f03191fda39ff09640f093b7ad84f461ffd65b2 28-Oct-2009 Patrick McHardy <kaber@trash.net> iproute uses too small of a receive buffer

It uses 1MB as receive buf limit by default (without
increasing /proc/sys/net/core/rmem_max it will be limited by less
however) and allows to specify the size manually using "-rcvbuf X"
(-r is already used, so you need to specify at least -rc).

Additionally rtnl_listen() continues on ENOBUFS after printing the
error message.
/external/iproute2/ip/ip.c
580fbd88f75cc9eea0d28a48c025b090eb9419a7 19-Sep-2009 David Woodhouse <dwmw2@infradead.org> Add 'ip tuntap' support.

This patch provides support for 'ip tuntap', allowing creation and
deletion of persistent tun/tap devices.
/external/iproute2/ip/ip.c
10494d2724cac05d6a8a352205da18b86787eaba 07-Aug-2008 Petr Jediný <petr.jediny@gmail.com> Changing commandline help text to be more uniform...
/external/iproute2/ip/ip.c
4759758c05b3bda53b743a1c3238f1479bb61b43 13-Feb-2008 YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> Add addrlabel sub-command.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/ip/ip.c
692e075787835c6d89e7b67ec0c4df84e69466a7 21-Jan-2008 Stephen Hemminger <stephen.hemminger@vyatta.com> fix typo in ip batch error message

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/ip/ip.c
147da5de6648ae31b38421414780b4fab1a30e90 05-Sep-2007 Stephen Hemminger <shemminger@linux-foundation.org> Revert "Make ip utility veth driver aware"

This reverts commit 4ed390ce43d1ec7c881721f312260df901d8390d.
Newer version doesn't use genetlink.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/ip.c
1d93483985f0aa2d2afc72dde5179ff3f79a0999 22-Aug-2007 Patrick McHardy <kaber@trash.net> iplink: use netlink for link configuration

Add support for using netlink for link configuration. Kernel-support is
probed, when not available it falls back to using ioctls.

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/ip.c
4ed390ce43d1ec7c881721f312260df901d8390d 02-May-2007 Pavel Emelianov <xemul@sw.ru> Make ip utility veth driver aware

The new command is called "veth" with the following syntax:
* ip veth add <dev1> <dev2>
creates interconnected pair of veth devices.
* ip veth del <dev>
destroys the pair of veth devices, where <dev> is either
<dev1> or <dev2> used to create the pair.

One question that is to be solved is whether or not to create
a hard-coded netlink family for veth driver. Without it the
family resolution code has to be moved to general place in ip
utility (by now it is copy-paste-ed from one file to another
till final decision).

Signed-off-by: Pavel Emelianov <xemul@openvz.org>
/external/iproute2/ip/ip.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/ip.c
3bfa73ff99291d872f6d0e0284ee416e880088b6 26-Sep-2006 Stephen Hemminger <shemminger@osdl.org> rtnl fd check

Prevent accidental damage from rtnl library if fd is uninitialized.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/ip.c
09954dc61adc3051cbb2127e2bfcf692502c8306 10-Jan-2006 shemminger <shemminger> IP ntable support and header update.
/external/iproute2/ip/ip.c
e25d697069a1c3d5eb13a44050eeed5f007d31d4 02-Dec-2005 shemminger <shemminger> Backout ambigious error for ip
/external/iproute2/ip/ip.c
ede723964a065992bf9d0dbe3f780e65ca917872 22-Nov-2005 shemminger <shemminger> Add ip command aliases and better matching
/external/iproute2/ip/ip.c
234b613556679e22b9b70e9a1e8cb0c9fab991a0 24-Oct-2005 shemminger <shemminger> Fix ip command shortcuts
/external/iproute2/ip/ip.c
84616f8317554be7542b2e89b69f4129995cb03b 07-Oct-2005 shemminger <shemminger> Reenable 'ip mroute'
/external/iproute2/ip/ip.c
8ed63ab1f1283b2c63355fb7c1e80abead4b9399 21-Sep-2005 shemminger <shemminger> Fix leaks and warnings reported by valgrind.
/external/iproute2/ip/ip.c
fc57a9df1bee719c86a4f0bc82bafae05bb92fc2 07-Sep-2005 shemminger <shemminger> Fix ip monitor since it is special and can't reuse
rtnl_open handle.
/external/iproute2/ip/ip.c
3d418dc38a62bb1d07ee3eb81a8dfa243764fb8e 02-Sep-2005 shemminger <shemminger> Add usage for ip -batch
/external/iproute2/ip/ip.c
351efcde4e62967362a10b29f3b701cfecd7cdfc 01-Sep-2005 shemminger <shemminger> Update header files to 2.6.14
Integrate support for DCCP and tcp_diag into ss
Add -batch to ip command
/external/iproute2/ip/ip.c
90f93024a0818dc691138d8401721e797004b042 07-Jun-2005 shemminger <shemminger> Monitor time patch from Masahide NAKAMURA
/external/iproute2/ip/ip.c
c7699875bee00fbcd057fc62c30d6560b044e007 07-Jul-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch ipxfrm-20040707_2.diff

(Logical change 1.53)
/external/iproute2/ip/ip.c
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/ip/ip.c
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/ip/ip.c