2505780c2081856f6eae22ae57d98e403f1735c7 |
|
18-Jan-2016 |
Stephen Hemminger <stephen@networkplumber.org> |
Merge branch 'net-next'
|
f921f567d1b9a7d6ad9b99049c7df816c47f92eb |
|
10-Jan-2016 |
Roopa Prabhu <roopa@cumulusnetworks.com> |
iplink: replace exit with return This patch replaces exits with returns in iplink command. Helps to continue on errors when invoked with ip -force -batch. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
/external/iproute2/ip/iplink.c
|
8e12bc0a9df46516b851c9baa48d9da6b0999022 |
|
04-Jan-2016 |
Bjørn Mork <bjorn@mork.no> |
iplink: support show and set of "addrgenmode random" "random" is a new IPv6 addrgenmode, enabling "stable_secret" type addresses with an auto-generated secret. $ ip link set eth0 addrgenmode random $ ip -d link show dev eth0 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether 00:21:86:a3:25:7d brd ff:ff:ff:ff:ff:ff promiscuity 0 addrgenmode random Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Bjørn Mork <bjorn@mork.no>
/external/iproute2/ip/iplink.c
|
8e098dd81a1d915c641a094a0bc2bf1c52a8e14e |
|
04-Jan-2016 |
Bjørn Mork <bjorn@mork.no> |
iplink: support setting addrgenmode stable_secret It is possible to switch to another addrgenmode after setting a valid secret. Allow switching back without reconfiguring the secret for completeness. Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Bjørn Mork <bjorn@mork.no>
/external/iproute2/ip/iplink.c
|
8aacb9bbbd741c2873ee90118264ae2d5bbd9ae3 |
|
25-Sep-2015 |
Christoph Schulz <develop@kristov.de> |
ip: allow using a device "help" (or a prefix thereof) Device names that match "help" or a prefix thereof should be allowed anywhere a device name can be used. Note that a suitable keyword ("dev" or "name", the latter for "ip tunnel") has to be used in these cases to resolve ambiguities. Signed-off-by: Christoph Schulz <develop@kristov.de> Reported-by: Leonhard Preis <leonhard@pre.is> Reported-by: Wilhelm Wijkander <lists@0x5e.se>
/external/iproute2/ip/iplink.c
|
940a96e6ca9a14cd52c97a719a1700b417adb2fb |
|
21-Sep-2015 |
Phil Sutter <phil@nwl.cc> |
ip-link: do not support 'ip link add dev help' Commit 0532555 ('Support "ip link add help" for rtnl_link API') added a check for specified help parameter. Though due to the place where it has been added to, it is not possible anymore to force a given parameter to be interpreted as interface name by prefixing it with 'dev '. Fix this by forcing whatever follows 'dev' to be presumed as interface name. Signed-off-by: Phil Sutter <phil@nwl.cc>
/external/iproute2/ip/iplink.c
|
f1e225beef61b2d8d3df79cbb86ba72ca97097de |
|
01-Sep-2015 |
Stephen Hemminger <shemming@brocade.com> |
Merge branch 'master' into net-next
|
5d295bb8e1af491bc3de1d2506cbb2bd6bbd9da1 |
|
28-Aug-2015 |
Andy Gospodarek <gospo@cumulusnetworks.com> |
add support for brief output for link and addresses This adds support for slightly less output than is normally provided by 'ip link show' and 'ip addr show'. This is a bit better when you have a host with lots of interfaces. Sample output: $ ip -br link show lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP> p2p1 UP 08:00:27:ee:0b:3b <BROADCAST,MULTICAST,UP,LOWER_UP> p7p1 UP 08:00:27:9d:62:9f <BROADCAST,MULTICAST,UP,LOWER_UP> p8p1 DOWN 08:00:27:dc:d8:ca <NO-CARRIER,BROADCAST,MULTICAST,UP> p9p1 UP 08:00:27:76:d9:75 <BROADCAST,MULTICAST,UP,LOWER_UP> p7p1.100@p7p1 UP 08:00:27:9d:62:9f <BROADCAST,MULTICAST,UP,LOWER_UP> $ ip -br -4 addr show lo UNKNOWN 127.0.0.1/8 p2p1 UP 192.168.56.2/24 p7p1 UP 70.0.0.1/24 p8p1 DOWN 80.0.0.1/24 p9p1 UP 10.0.5.15/24 p7p1.100@p7p1 UP 200.0.0.1/24 $ ip -br -6 addr show lo UNKNOWN ::1/128 p2p1 UP fe80::a00:27ff:feee:b3b/64 p7p1 UP 7000::1/8 fe80::a00:27ff:fe9d:629f/64 p8p1 DOWN 8000::1/8 p9p1 UP fe80::a00:27ff:fe76:d975/64 p7p1.100@p7p1 UP fe80::a00:27ff:fe9d:629f/64 $ ip -br addr show p7p1 p7p1 UP 70.0.0.1/24 7000::1/8 fe80::a00:27ff:fe9d:629f/64 v2: Now with color support! v3: Better field width estimation (except netdev names to keep output at a decent width) and whitespace fixup. Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
/external/iproute2/ip/iplink.c
|
6c5ffb9a2c3db46fdb94cf4c454005ec829db509 |
|
26-Aug-2015 |
Stephen Hemminger <shemming@brocade.com> |
iplink: cleanup whitespace and checkpatch issues Mostly just use of {} and whitespace.
/external/iproute2/ip/iplink.c
|
15faa0a30bedfa1eaba6d06a42978a8a56761be1 |
|
13-Aug-2015 |
David Ahern <dsa@cumulusnetworks.com> |
add support for VRF device Allow user to create a vrf device and specify its table binding. Based on the iplink_vlan implementation. Signed-off-by: Shrijeet Mukherjee <shm@cumulusnetworks.com> Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
/external/iproute2/ip/iplink.c
|
dfc3d015f6893337b4e46eea881c8e05057df91a |
|
23-Aug-2015 |
Stephen Hemminger <shemming@brocade.com> |
Merge branch 'master' into net-next
|
6843d36e3d4117f9e9ebf7f1f3098d1a319b858e |
|
14-Aug-2015 |
Zhang Shengju <zhangshengju@cmss.chinamobile.com> |
ip-link: cut one level indentation Cut one level indentation to make things easier to read. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
/external/iproute2/ip/iplink.c
|
9a6422c2438d60d9ecedac27d813f4c3fb44a7da |
|
14-Aug-2015 |
Stephen Hemminger <shemming@brocade.com> |
Merge branch 'master' into net-next
|
ff1e35edf521ea3a74f457674c7f020b52000882 |
|
13-Aug-2015 |
Zhang Shengju <zhangshengju@cmss.chinamobile.com> |
ip-link: enhance prompt message Enhance promtp message for 'spoofchk' and 'query_rss' flag, and fix a typo. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
/external/iproute2/ip/iplink.c
|
4b942cb1dfd2627955b375e76d45fd866e461f5f |
|
12-Aug-2015 |
Stephen Hemminger <shemming@brocade.com> |
Merge branch 'master' into net-next
|
e543a6a8a082937b89a9e449ec5a54ae395a211f |
|
12-Aug-2015 |
Zhang Shengju <zhangshengju@cmss.chinamobile.com> |
ip-link: fix a typo in help message fix a typo: "noarp" -> "arp" Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
/external/iproute2/ip/iplink.c
|
d8cf93de04d9372f478fc2e59e2fe8bce1953b7a |
|
12-Aug-2015 |
Zhang Shengju <zhangshengju@cmss.chinamobile.com> |
iplink: add missing link type Add missing link type "bridge_slave". Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
/external/iproute2/ip/iplink.c
|
188648270ae9d5d967fddf496cd2f2a5ac04e2bf |
|
14-Jul-2015 |
Anuradha Karuppiah <anuradhak@cumulusnetworks.com> |
ip link: proto_down config and display. This patch adds support to set and display protodown on a switch port. The switch driver can handle this error state by doing a phys down on the port. One example user space application setting this flag is a multi-chassis LAG application to handle split-brain situation on peer-link failure. Example: root@net-next:~# ip link set eth1 protodown on root@net-next:~/iproute2# ip link show eth1 4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 52:54:00:12:35:01 brd ff:ff:ff:ff:ff:ff protodown on root@net-next:~/iproute2# ip link set eth1 protodown off root@net-next:~/iproute2# ip link show eth1 4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 52:54:00:12:35:01 brd ff:ff:ff:ff:ff:ff root@net-next:~/iproute2# Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com> Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com>
/external/iproute2/ip/iplink.c
|
03371c7d98d167145b0c562f5d2ca2f54c8a5c7f |
|
28-May-2015 |
Stephen Hemminger <shemming@brocade.com> |
Merge branch 'master' into net-next Conflicts: include/linux/tcp.h lib/libnetlink.c
|
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/iplink.c
|
0628cddd9d5c0cb9ed0e0aba136e50de93487150 |
|
20-May-2015 |
Nicolas Dichtel <nicolas.dichtel@6wind.com> |
libnetlink: introduce rtnl_listen_filter_t There is no functional change with this commit. It only prepares the next one. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
/external/iproute2/ip/iplink.c
|
908755dc49df0beffd12c8cad91e425e5be76888 |
|
08-May-2015 |
John W. Linville <linville@tuxdriver.com> |
iproute2: GENEVE support Signed-off-by: John W. Linville <linville@tuxdriver.com>
/external/iproute2/ip/iplink.c
|
6c55c8c4617c5853b00cee3eefe94654d9a25c41 |
|
30-Apr-2015 |
Vlad Zolotarov <vladz@cloudius-systems.com> |
ip link set vf: Added "query_rss" command Add a new option to toggle the ability of querying the RSS configuration of a specific VF. VF RSS information like RSS hash key may be considered sensitive on some devices where this information is shared between VF and PF and thus its querying may be prohibited by default. This new option allows a system administrator with privileges to modify a PF state to control if the above VF querying is allowed or not. For example: To enable RSS querying of VF[0] of ethX: >> ip link set dev ethX vf 0 query_rss on Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
/external/iproute2/ip/iplink.c
|
8916ccf66cec59e4e1c1bd4d79a9342b0569d89c |
|
01-May-2015 |
Vadim Kochan <vadim4j@gmail.com> |
ip link: Add group in usage() for 'ip link delete' Show deleting by group in 'ip link help' output: ... ip link delete { DEVICE | dev DEVICE | group DEVGROUP } type TYPE [ ARGS ] ... Also show separately DEVICE option in { } list. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/ip/iplink.c
|
21107f52b0d611ada2713890e0effdf0cd1d994b |
|
04-Apr-2015 |
Vadim Kochan <vadim4j@gmail.com> |
ip-link: Align usage at [link-netns ID] line Output of the usage was shifted be cause of missing TAB Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/ip/iplink.c
|
ccdcbf35f120c754660b3b3f48fa67cc950a6407 |
|
17-Feb-2015 |
Nicolas Dichtel <nicolas.dichtel@6wind.com> |
iplink: add support of IFLA_LINK_NETNSID attribute This new attribute is now advertised by the kernel for x-netns interfaces. It's also possible to set it when an interface is created (and thus creating a x-netns interface with one single message). Example: $ ip netns add foo $ ip netns add bar $ ip -n foo netns set bar 15 $ ip -n foo link add ipip1 link-netnsid 15 type ipip remote 10.16.0.121 local 10.16.0.249 $ ip -n foo link ls ipip1 3: ipip1@NONE: <POINTOPOINT,NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default link/ipip 10.16.0.249 peer 10.16.0.121 link-netnsid 15 Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
/external/iproute2/ip/iplink.c
|
c3087c10f167ab30fc8f4fbe9897156a619f1c67 |
|
13-Jan-2015 |
Vadim Kochan <vadim4j@gmail.com> |
netns: Rename & move get_netns_fd to lib Renamed get_netns_fd -> netns_get_fd and moved to lib/namespace.c Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/ip/iplink.c
|
a1e2e5fcee9d56f350e14b826bf928b3b52cdbf8 |
|
17-Dec-2014 |
Duan Jiong <duanj.fnst@cn.fujitsu.com> |
ip link: use addattr_nest()/addattr_nest_end() Use addattr_nest() and addattr_nest_end() to simplify the code. Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
/external/iproute2/ip/iplink.c
|
5c2c10b17e47a065d12786282c08d5b0b913ced7 |
|
24-Dec-2014 |
Stephen Hemminger <shemming@brocade.com> |
Merge branch 'net-next'
|
712249d8fac88bcf3a9fd0b1de2263074075873b |
|
10-Dec-2014 |
Vadim Kochan <vadim4j@gmail.com> |
ip link: Show devices by type Added new option 'type' to 'ip link show' command which allows to filter devices by type: ip link show type bridge ip link show type vlan Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/ip/iplink.c
|
81eaf677f91b53873871f66b8b549f99fb4b9cf5 |
|
24-Nov-2014 |
Mahesh Bandewar <maheshb@google.com> |
ip link: Add ipvlan support to the iproute2/ip util Adding basic support to create virtual devices using 'ip' utility. Following is the syntax - ip link add link <master> <virtual> type ipvlan mode [ l2 | l3 ] e.g. ip link add link eth0 ipvl0 type ipvlan mode l3 Signed-off-by: Mahesh Bandewar <maheshb@google.com> Cc: Stephen Hemminger <stephen@networkplumber.org> Cc: Eric Dumazet <edumazet@google.com> Cc: Maciej Żenczykowski <maze@google.com> Cc: Laurent Chavey <chavey@google.com> Cc: Tim Hockin <thockin@google.com> Cc: Brandon Philips <brandon.philips@coreos.com> Cc: Pavel Emelianov <xemul@parallels.com>
/external/iproute2/ip/iplink.c
|
1b94414854d71a6b6df367644ae9b06a54278daf |
|
29-Nov-2014 |
Vadim Kochan <vadim4j@gmail.com> |
ip link: Allow to filter devices by master dev Added 'master' option to 'ip link show' command to filter devices by master dev. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/ip/iplink.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/iplink.c
|
68ac9ab339783119e6a8cabfafcd9479094529b0 |
|
01-Oct-2014 |
Atzm Watanabe <atzm@stratosphere.co.jp> |
iplink: do not require assigning negative ifindex at link creation Since commit 3c682146aeff, iplink requires assigning negative ifindex (-1) to the kernel when creating interface without specifying index. v2: checking whether index is -1, suggested by Cong Wang. Cc: Cong Wang <cwang@twopensource.com> Signed-off-by: Atzm Watanabe <atzm@stratosphere.co.jp> Acked-by: Cong Wang <cwang@twopensource.com>
/external/iproute2/ip/iplink.c
|
620ddedada7fddd0d1d04a3da0145535423bc237 |
|
03-Sep-2014 |
Nikolay Aleksandrov <nikolay@redhat.com> |
iproute2: allow to change slave options via type_slave This patch adds the necessary changes to allow altering a slave device's options via ip link set <device> type <master type>_slave specific-option. It also adds support to set the bonding slaves' queue_id. Example: ip link set eth0 type bond_slave queue_id 10 Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Acked-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/ip/iplink.c
|
3c682146aeff157ec354016befc3d8e21c982e9e |
|
06-Sep-2014 |
WANG Cong <xiyou.wangcong@gmail.com> |
iplink: forbid negative ifindex and modifying ifindex Cc: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
/external/iproute2/ip/iplink.c
|
f1b66ff83a0babbe99fef81b3a960d7a4ce8dbc6 |
|
30-Aug-2014 |
vadimk <vadim4j@gmail.com> |
ip link: Remove unnecessary device checking The real checking is performed later in iplink_modify(..) func which checks device existence if NLM_F_CREATE flag is set. Also it fixes the case when impossible to add veth link which was caused by 9a02651a87 (ip: check for missing dev arg when doing VF rate) because these devices are not exist yet. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
/external/iproute2/ip/iplink.c
|
ff7c20844049be836c10087cb2418b99ff36ca2b |
|
11-Jul-2014 |
Jiri Pirko <jiri@resnulli.us> |
iproute2: allow to ipv6 set address generation mode Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/ip/iplink.c
|
50b9950dd90114609e10298c0fa32a9371250687 |
|
16-Jul-2014 |
Roopa Prabhu <roopa@cumulusnetworks.com> |
link dump filter This patch avoids a full link wildump request when the user has specified a single link. Uses RTM_GETLINK without the NLM_F_DUMP flag. This helps on a system with large number of interfaces. This patch currently only uses the link ifindex in the filter. Hoping to provide a subsequent kernel patch to do link dump filtering on other attributes in the kernel. In iplink_get, to be safe, this patch currently sets the answer buffer size to the max size that libnetlink rtnl_talk can copy. The current api does not seem to provide a way to indicate the answer buf size. changelog from RFC to v1: - incorporated comments from stephen (fixed comment and fixed if/else block) changelog from v1 to v2: - fix whitespaces error Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
/external/iproute2/ip/iplink.c
|
7968262df6fe7103352105e222bc98ac1ba7a821 |
|
11-Jun-2014 |
Masatake YAMATO <yamato@redhat.com> |
ip: add nlmon as a device type to help message Though nlmon device can be added, it was not listed in the output of "ip link help". Signed-off-by: Masatake YAMATO <yamato@redhat.com> Acked-by: Daniel Borkmann <dborkman@redhat.com>
/external/iproute2/ip/iplink.c
|
9a02651a87d0fd56e2e7eedd63921a050a42b3ec |
|
14-Jul-2014 |
Stephen Hemminger <stephen@networkplumber.org> |
ip: check for missing dev arg when doing VF rate New VF rate code was not handling case where device not specified. Caught by GCC warning about uninitialized variable.
/external/iproute2/ip/iplink.c
|
f89a2a05ffa94ac5bec9f50751f761215356092b |
|
22-May-2014 |
Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> |
Add support to configure SR-IOV VF minimum and maximum Tx rate through ip tool o "min_tx_rate" option has been added for minimum Tx rate. Hence, for consistent naming, "max_tx_rate" option has been introduced for maximum Tx rate. o Change in v2: "rate" can be used along with "max_tx_rate". When both are specified, "max_tx_rate" should override. o Change in v3: * IFLA_VF_RATE: When IFLA_VF_RATE is used, and user has given only one of min_tx_rate or max_tx_rate, reading of previous rate limits is done in userspace instead of in kernel space before ndo_set_vf_rate. * IFLA_VF_TX_RATE: When IFLA_VF_TX_RATE is used, min_tx_rate is always read in kernel space. This takes care of below scenarios: (1) when old tool sends "rate" but kernel is new (expects min and max) (2) when new tool sends only "rate" but kernel is old (expects only "rate") o Change in v4 as suggested by Stephen Hemminger: * As per iproute policy, input and output formats should match. Changing display of max_tx_rate and min_tx_rate options accordingly. ./ip/ip link show p3p1 8: p3p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000 link/ether 00:0e:1e:16:ce:40 brd ff:ff:ff:ff:ff:ff vf 0 MAC 2a:18:8f:4d:3d:d4, tx rate 700 (Mbps), max_tx_rate 700Mbps, min_tx_rate 200Mbps vf 1 MAC 72:dc:ba:f9:df:fd Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
/external/iproute2/ip/iplink.c
|
2b70fe156b7198ee1cbe34610025c3a86461ed02 |
|
15-May-2014 |
Oliver Hartkopp <socketcan@hartkopp.net> |
iplink: can: fix help text and man page Controller Area Network (CAN) interfaces are physical network interfaces. They can't be 'created' like software devices by 'ip link add type can'. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
/external/iproute2/ip/iplink.c
|
4b726cb1762f3255726d4dd6843c33d3ab07bf83 |
|
09-May-2014 |
Stephen Hemminger <stephen@networkplumber.org> |
Whitespace and indentation cleanup Need to go over whole source and scrub..
/external/iproute2/ip/iplink.c
|
fbea6115645a126de87bbcf51371050dde1a5b39 |
|
23-Jan-2014 |
Jiri Pirko <jiri@resnulli.us> |
introduce support for slave info data Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/ip/iplink.c
|
5e25cf77b9e7d9ae9959db0ac5d731cfbf3b2717 |
|
26-Dec-2013 |
Pavel Emelyanov <xemul@parallels.com> |
iproute: Make it possible to specify index on link creation The RTM_NEWLINK message accepts ifi_index non-zero value and lets creation of links with given index (if it's free, or course). This functionality is available since linux-v3.5. This patch makes this API available via ip tool. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
/external/iproute2/ip/iplink.c
|
d2468da0a317c87ded0a9a0ae6d7d8bc7ab2e4d2 |
|
20-Dec-2013 |
Stephen Hemminger <stephen@networkplumber.org> |
check return value of rtnl_send and related functions Use warn_unused_result to enforce checking return value of rtnl_send, and fix where the errors are. Suggested by initial patch from Petr Písař <ppisar@redhat.com>
/external/iproute2/ip/iplink.c
|
cc26a8909ff31388ca0b3703b08605e116e490bb |
|
18-Oct-2013 |
Jiri Pirko <jiri@resnulli.us> |
iplink: add support for bonding netlink Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/ip/iplink.c
|
1253a10a63e417c5a7774c127aea1a3b0dd09e88 |
|
08-Oct-2013 |
Nicolas Dichtel <nicolas.dichtel@6wind.com> |
iplink: update available type list macvtap and vti were missing. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
/external/iproute2/ip/iplink.c
|
af89576d7a8c4235f68efd15c28092f090e36f43 |
|
28-Sep-2013 |
xeb@mail.ru <xeb@mail.ru> |
iproute2: GRE over IPv6 tunnel support. GRE over IPv6 tunnel support. Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
/external/iproute2/ip/iplink.c
|
07fa9c1529871b61879e11a7c9eccbf357982591 |
|
13-Jun-2013 |
Rony Efraim <ronye@mellanox.com> |
Add VF link state control Add link state per VF command Signed-off-by: Rony Efraim <ronye@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
/external/iproute2/ip/iplink.c
|
f0124b0f0aa0e5b9288114eb8e6ff9b4f8c33ec8 |
|
28-Mar-2013 |
Stephen Hemminger <stephen@networkplumber.org> |
ip: remove unnecessary ll_init_map Don't call ll_init_map on modify operations Saves significant overhead with 1000's of devices.
/external/iproute2/ip/iplink.c
|
44051234330e3211f0cf4b4741114d4b93b439a4 |
|
14-Mar-2013 |
Petr Šabata <contyk@redhat.com> |
iproute2: Mention the 'up' argument in documentation Both ip-link and ip-address support the 'up' argument, however this isn't documented in neither their help outputs or ip-address' manpage. This patch fixes that. Signed-off-by: Petr Šabata <contyk@redhat.com> Reported-by: Jiří Popelka <jpopelka@redhat.com>
/external/iproute2/ip/iplink.c
|
d1f28cf181a6f77f230d90267eef0ecfbcb25f30 |
|
12-Feb-2013 |
Stephen Hemminger <stephen@networkplumber.org> |
ip: make local functions static
/external/iproute2/ip/iplink.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/iplink.c
|
602e9d36ba09b34f4ec97bd539a2a6f5247c5b5c |
|
15-Dec-2012 |
Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> |
ip: add the type 'vxlan' in the output of "ip link help" The new type 'vxlan' is added in the output of "ip link help" Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
/external/iproute2/ip/iplink.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/iplink.c
|
9d0efc10487b92861a84fd6f171a841c1e026c6c |
|
12-Dec-2012 |
Nicolas Dichtel <nicolas.dichtel@6wind.com> |
ip: add support of 'ip link type ip6tnl' This patch allows to manage ip6 tunnels via the interface ip link. The syntax for parameters is the same that 'ip -6 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/iplink.c
|
de0389935f8c4abdbe275564db05e7ee3535ef36 |
|
25-Oct-2012 |
Or Gerlitz <ogerlitz@mellanox.com> |
iplink: Added support for the kernel IPoIB RTNL ops Added support to ipoib rtnl ops through which one can create, configure, query and delete IPoIB devices, for example $ ip link add link ib0.8001 name ib0.8001 type ipoib pkey 0x8001 $ ip link add link ib0.1 name ib0.1 type ipoib mode connected $ ip --details link show dev ib0.1 Cc: Patrick McHardy <kaber@trash.net> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
/external/iproute2/ip/iplink.c
|
d992f3e61151201feb09c599676bd007dc1fd6fb |
|
02-Aug-2012 |
Jiri Pirko <jiri@resnulli.us> |
iplink: add support for num[tr]xqueues
/external/iproute2/ip/iplink.c
|
5c434a9e5a5eafec09ec9939b255948843423f80 |
|
01-Mar-2012 |
Christoph J. Thompson <cjsthompson@gmail.com> |
iproute2 - Fix up and simplify variables pointing to install directories Define where is the are located the iproute2 config files. Get rid of trailing slashes for paths in several file. Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
/external/iproute2/ip/iplink.c
|
4ccfb44dfbe4bf34130cf601a2a59152f4eec816 |
|
06-Apr-2012 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Make link mode case independent The link mode is printed in upper case, and following the general rule that ip command output should work on input, allow either case.
/external/iproute2/ip/iplink.c
|
4f2fdd44b6694f713aa638cc2222a2d7d17dfe5f |
|
06-Apr-2012 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Add ability to set link state with ip Exposes existing netlink operations to modify link state of devices.
/external/iproute2/ip/iplink.c
|
82499282b27c82a25448dc40948920950c9a6936 |
|
20-Mar-2012 |
Stephen Hemminger <shemminger@vyatta.com> |
ip: allow set and display of link mode parameter The kernel supports a link mode attribute (which can be dormant or default). This attribute is used to control how the link watch engine handles operstate transistion. This adds a new parameter to ip link command to allow setting and displaying the value. ---
/external/iproute2/ip/iplink.c
|
09fa32794154a69d4a6fbc58c1ee02dbe26a99e9 |
|
14-Mar-2012 |
Stephen Hemminger <shemminger@vyatta.com> |
iproute: allow changing gretap parameters Change the order of evaluation of ip link type arguements to allow changing parameters of gre tunnels. The following wouldn't work: # ip li add mytunnel type gretap remote 1.1.1.1 key 3 # ip li set mytunnel type gretap key 9
/external/iproute2/ip/iplink.c
|
cd70f3f522e04b4d2fa80ae10292379bf223a53b |
|
28-Dec-2011 |
Stephen Hemminger <shemminger@vyatta.com> |
libnetlink: remove unused junk callback Both rtnl_talk and rtnl_dump had a callback for handling portions of netlink message that do not match the correct pid or seq. But this callback was never used by any part of iproute2 so remove it.
/external/iproute2/ip/iplink.c
|
6cf8398f5f487762586801c25539d8fe5bb33b39 |
|
23-Dec-2011 |
Stephen Hemminger <shemminger@vyatta.com> |
libnetlink: change rtnl_send() to take void * Avoid having to cast buffer being sent.
/external/iproute2/ip/iplink.c
|
7b8179c780a1abd547e5002c4e6fba898c6d72bb |
|
13-Oct-2011 |
Greg Rose <gregory.v.rose@intel.com> |
iproute2: Add new command to ip link to enable/disable VF spoof check Add ip link command parsing for VF spoof checking enable/disable V2 - Fixed problem with parsing of dump info on kernels that don't support the spoof checking option and also wrapped the ifla_vf_info structure in #ifdef __KERNEL__ to prevent user space from directly accessing the structure V3 - Improved parsing of vfinfo V4 - Put Makefile back to proper list of subdirs V5 - Remove struct ifla_vf_info, it is only used by the kernel V6 - Make sure spoof check is reported by the driver - rtnl will set it to -1 to indicate driver didn't report a value. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
/external/iproute2/ip/iplink.c
|
a22e92951d21d0f796040d0d6c00d59a1e188bca |
|
07-Oct-2011 |
Sridhar Samudrala <sri@us.ibm.com> |
iproute2: Fix usage and man page for 'ip link' Add bridge as a supported type with 'ip link' in usage and all the missing types in 'ip' man page. Also fixed some typos. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
/external/iproute2/ip/iplink.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/iplink.c
|
d5b7420a269e6e220e00cfbd69546d157fac1332 |
|
26-Feb-2011 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Remove #ifdef's The iproute package keeps its own headers so there is no need of polluting code with #ifdef's
/external/iproute2/ip/iplink.c
|
a1e191b90c35f5ef5d7dfba5ad8b5b7a7f57a421 |
|
26-Feb-2011 |
Jiri Pirko <jpirko@redhat.com> |
iplink: implement setting of master devic
/external/iproute2/ip/iplink.c
|
db02608b6f408998ea8c823fb791cead3e574f50 |
|
02-Feb-2011 |
Vlad Dogaru <ddvlad@rosedu.org> |
iproute2: support device group semantics Add the group keyword to ip link set, which has the following meaning: If both a group and a device name are pressent, we change the device's group to the specified one. If only a group is present, then the operation specified by the rest of the command should apply on an entire group, not a single device. So, to set eth0 to the default group, one would use ip link set dev eth0 group default Conversely, to set all the devices in the default group down, use ip link set group default down Signed-off-by: Vlad Dogaru <ddvlad@rosedu.org>
/external/iproute2/ip/iplink.c
|
f960c92aac1838e0f336c0ca0f657bb55a42d8e9 |
|
02-Feb-2011 |
Vlad Dogaru <ddvlad@rosedu.org> |
iproute2: support listing devices by group User can specify device group to list by using the group keyword: ip link show group test If no group is specified, 0 (default) is implied. Signed-off-by: Vlad Dogaru <ddvlad@rosedu.org>
/external/iproute2/ip/iplink.c
|
1598b9ef7b6704af5126d632e324323703ca8112 |
|
13-Jan-2011 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Revert "iproute2: add VF_PORT support" This reverts commit 632110aa0db4518b33fc09189ffcdd1b2e2e1762. There seem to be some recent changes in the 802.1Qbh/bg specs which may result in changes to this patch in the near future. It seems like its best to ignore this patch for now. I will re-spin at a later time when the changes in the specs converge. BTW, Please let me know if I should CC netdev list and others on the original email. I can resend this email. Thanks, Roopa
/external/iproute2/ip/iplink.c
|
632110aa0db4518b33fc09189ffcdd1b2e2e1762 |
|
09-Nov-2010 |
Roopa Prabhu <roprabhu@cisco.com> |
iproute2: add VF_PORT support Resubmitting Scott Feldmans original patch with below changes - Fix port profile strlen which was off by 1 - Added function to convert IFLA_PORT_RESPONSE codes to string Add support for IFLA_VF_PORTS. VF port netlink msg layout is [IFLA_NUM_VF] [IFLA_VF_PORTS] [IFLA_VF_PORT] [IFLA_PORT_*], ... [IFLA_VF_PORT] [IFLA_PORT_*], ... ... [IFLA_PORT_SELF] [IFLA_PORT_*], ... The iproute2 cmd line for link set is now: Usage: ip link add link DEV [ name ] NAME [ txqueuelen PACKETS ] [ address LLADDR ] [ broadcast LLADDR ] [ mtu MTU ] type TYPE [ ARGS ] ip link delete DEV type TYPE [ ARGS ] ip link set DEVICE [ { up | down } ] [ arp { on | off } ] [ dynamic { on | off } ] [ multicast { on | off } ] [ allmulticast { on | off } ] [ promisc { on | off } ] [ trailers { on | off } ] [ txqueuelen PACKETS ] [ name NEWNAME ] [ address LLADDR ] [ broadcast LLADDR ] [ mtu MTU ] [ netns PID ] [ alias NAME ] [ port MODE { PROFILE | VSI } ] [ vf NUM [ mac LLADDR ] [ vlan VLANID [ qos VLAN-QOS ] ] [ rate TXRATE ] [ port MODE { PROFILE | VSI } ] ] ip link show [ DEVICE ] TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | can } MODE := { assoc | preassoc | preassocrr | disassoc } PROFILE := profile PROFILE [ instance UUID ] [ host UUID ] VSI := vsi mgr MGRID type VTID ver VER [ instance UUID ] Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
/external/iproute2/ip/iplink.c
|
3fd86630876aed8a23e4f2c2d72e68cbb2ee331a |
|
18-May-2010 |
Chris Wright <chrisw@sous-sol.org> |
iproute2: rework SR-IOV VF support The kernel interface changed just before 2.6.34 was released. This brings iproute2 in line with the current changes. The VF portion of setlink is comprised of a set of nested attributes. IFLA_VFINFO_LIST (NESTED) IFLA_VF_INFO (NESTED) IFLA_VF_MAC IFLA_VF_VLAN IFLA_VF_TX_RATE Signed-off-by: Chris Wright <chrisw@sous-sol.org>
/external/iproute2/ip/iplink.c
|
ae7229d5f99ed9d7fd6ae11bcc726b80e8f8cb87 |
|
10-Feb-2010 |
Williams, Mitch A <mitch.a.williams@intel.com> |
ip: Add support for setting and showing SR-IOV virtual funtion link params Add support to 'ip' for setting and showing SR-IOV virtual function link parameters. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
/external/iproute2/ip/iplink.c
|
5a2044782b6a0eb7594d3b3e2e32bbd6a63e77f1 |
|
12-May-2009 |
Wolfgang Grandegger <wg@grandegger.com> |
iproute2: Support for the CAN netlink Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
/external/iproute2/ip/iplink.c
|
cb2eb9997a0292a144968d117f4d831c155ca71d |
|
30-Apr-2009 |
Andreas Henriksson <andreas@fatal.se> |
Bug#526329: iproute: Segfault on garbage lladdr On tor, 2009-04-30 at 14:32 +0100, Timothy Baldwin wrote: > Package: iproute > Version: 20090324-1 > Severity: minor > > > $ ip link set eth0 address help > "help" is invalid lladdr. > Segmentation fault > > Desipte the invalid command line arguments it shouldn't crash. > Callers need to check return value from ll_addr_a2n(). Patch below. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
/external/iproute2/ip/iplink.c
|
685f3a9ffbdc504f27aff4a9fd70023f0b3da5d2 |
|
27-Mar-2009 |
Oliver Hartkopp <oliver@hartkopp.net> |
iproute2: add vcan to ip link help text Hello Stephen, thanks für the commit of my last CAN patch. Today i got a hint, that the help text of 'ip link' can be improved also. Many thanks! Oliver Signed-Off-By: Oliver Hartkopp <oliver@hartkopp.net>
/external/iproute2/ip/iplink.c
|
ace9c96121b10ff8f91d79b7486bb8a5520c12df |
|
23-Mar-2009 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Add support for IFALIAS New 2.6.28 support for text description
/external/iproute2/ip/iplink.c
|
750a405a5a6f6cdae7d14609b49051e59738177e |
|
13-Oct-2008 |
Stephen Hemminger <stephen.hemminger@vyatta.com> |
Fix help text for ip link This is a variant of Patrick McHardy patch for help text. Add help for ip link add and ip link delete. The help conditional on what the kernel supports. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/external/iproute2/ip/iplink.c
|
3ef0c8594283d4891e84b4b8d7d04901416aeae0 |
|
07-Oct-2008 |
Patrick McHardy <kaber@trash.net> |
Refuse "ip link add/replace" without device type parameter Fix confusing error message noticed by Martin Josefsson: Fix typo noticed by Phil Oester: information vs. informatin # ip link add RTNETLINK answers: Operation not supported The reason is missing device type information, refuse this and print a message. Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/iplink.c
|
053255520216654c6914e84b0a37e86c542898bd |
|
07-Oct-2008 |
Patrick McHardy <kaber@trash.net> |
Support "ip link add help" for rtnl_link API For some reason "ip link add help" is currently not supported when using the new rtnl_link API. Fix that. Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/iplink.c
|
5e3bb534ae179be141a92eb1a4e2eb48094193b7 |
|
22-Aug-2008 |
Andreas Henriksson <andreas@fatal.se> |
iproute: DESTDIR vs LIBDIR. Hello Rafael Almeida. I noticed your patch adding DESTDIR support in the latest iproute2 release. Much appreciated! Soon the debian packages might be able to move to actually using "make install" rather then it's own installation procedure when building packages. I've noticed something that will break though.... Debian packages usually sets DESTDIR=debian/tmp/ and packages the contents of that directory as if it where the root file system. This will break the /usr/lib/{tc,ip}/ module loading, because they DESTDIR (/usr) will be /whatever-the-build-path-was/debian/tmp/lib/{tc,ip}/. I beleive others usually call this the LIBDIR to make the separation between DISTDIR being the (possibly temporary) place things are put when build is done, and LIBDIR (and others) are used for actual runtime paths. I'm attaching a patch that I think fixes this, but would be really happy if you could have a look at to verify I'm not screwing something up. -- Regards, Andreas Henriksson Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/ip/iplink.c
|
b514b3587ee56552fcc87a066c955a7ff4f55d6f |
|
02-Jun-2008 |
Rafael Almeida <rafaelc@dcc.ufmg.br> |
Fixed installation when changing DESTDIR After changing the DESTDIR the installated binaries have some issues due to hard coded paths. For example, using distributions on NetEm would segfault. I've changed iplink.c and tc_util.c so they are now aware of DESTDIR. Along with that change I needed to change the main Makefile so it defines the DESTDIR macro when calling gcc. I also changed the paths so that during the installation sbin, etc, share and lib directories are created directly inside of the DESTDIR, instead of creating a usr directory inside that. That's the behaviour of most packages out there, so I think most users will be expecting that to happen.
/external/iproute2/ip/iplink.c
|
e2613dc8605e56dbc53890ebbae263f93610bd41 |
|
20-Jun-2008 |
Benjamin Thery <benjamin.thery@bull.net> |
iproute2: add support for IFLA_NET_NS_PID in ip link Hi Stephen, I resend you this patch once more. This time I updated the documentation too (may be that was the reason why you didn't take it before?). Please tell me if there are other things missing in this patch It applies on iproute2 git tree. Regards, Benjamin Description: ------------ This patch adds support for the IFLA_NET_NS_PID type. It is used to move network devices between network namespaces. The syntax is: ip link set DEVICE netns PID PID is the pid of a process in the target network namespace. (Daniel Lezcano is the original author). Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/ip/iplink.c
|
909dfe2c7ebcfe853b2fe4f995be1c4681d5a2a5 |
|
19-Jul-2007 |
Pavel Emelyanov <xemul@openvz.org> |
iplink_parse() routine This routine parses CLI attributes, describing generic link parameters such as name, address, etc. This is mostly copy-pasted from iplink_modify(). Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/iplink.c
|
66e529f579f45351828fc82d6ba2629cc6eb3ddd |
|
25-Oct-2007 |
Patrick McHardy <kaber@trash.net> |
iproute 2.6.23 incompatibility Arkadiusz Miskiewicz wrote: > People are reporting that >> ip link set multicast on dev eth0 (Invalid argument) >> no longer works when using iproute 2.6.23 on kernel 2.6.21. >> >> On my testing machine it also fails: >> # ./ip link set eth0 multicast on >> RTNETLINK answers: Invalid argument It seems it fails to properly detect that your kernel is missing RTM_NEWLINK support. Apparently the reason is that the kernels I tested with return a different error in this situation. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/iplink.c
|
ca78b0e7d4042be7f7283d551d433b76da7f312b |
|
12-Oct-2007 |
Patrick McHardy <kaber@trash.net> |
Prevent renaming interfaces to empty string. Andreas Henriksson wrote: > From: Alexander Wirt <formorer@debian.org> > > > Signed-off-by: Andreas Henriksson <andreas@fatal.se> > --- > ip/iplink.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/ip/iplink.c b/ip/iplink.c > index 4060845..da1f64e 100644 > --- a/ip/iplink.c > +++ b/ip/iplink.c > @@ -670,6 +670,10 @@ static int do_set(int argc, char **argv) > } > > if (newname && strcmp(dev, newname)) { > + if (strlen(newname) == 0) { > + printf("\"\" is not valid device identifier\n"); > + return -1; > + } Indentation fixed, same change for the non-ioctl case, use invarg. While I'm at it I also fixed the error message for "name too long", *argv is NULL at this point. Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/iplink.c
|
5058332f3cd751cb0aa4970a0892ebc4b791b748 |
|
13-Oct-2007 |
Stephen Hemminger <shemminger@linux-foundation.org> |
Revert "don't allow "" for device name" Use Patrick's instead This reverts commit ba371d989038e0dda803528c194e12e5177f7008.
/external/iproute2/ip/iplink.c
|
59cc4f73f20f802eda02baa0180a5fb92c14c25c |
|
13-Oct-2007 |
Stephen Hemminger <shemminger@linux-foundation.org> |
Revert "Remove bogus reference to tc-filters(8) from tc(8) manpage." This reverts commit 1bacc7ce752f795df3b1b3710245c4cd8c1bc396.
/external/iproute2/ip/iplink.c
|
1bacc7ce752f795df3b1b3710245c4cd8c1bc396 |
|
12-Oct-2007 |
Andreas Barth <aba@not.so.argh.org> |
Remove bogus reference to tc-filters(8) from tc(8) manpage. Spotted by Aleš Kozumplík <al_es@seznam.cz> (http://bugs.debian.org/289225) Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/iplink.c
|
ba371d989038e0dda803528c194e12e5177f7008 |
|
12-Oct-2007 |
Stephen Hemminger <shemminger@linux-foundation.org> |
don't allow "" for device name If a zero-length string is given, it is not rejected by netlink in kernel so catch it at command line. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/iplink.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/iplink.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/iplink.c
|
7b5657545dc246ae37690d660597e8fa37040205 |
|
22-Mar-2006 |
shemminger <shemminger> |
The ip(8) command has a bug when dealing with IPoIB link layer addresses. Specifically it does not correctly handle the addition of new entries in the neighbor/arp table. For example, this command will fail: ip neigh add 192.168.0.138 lladdr 00:00:04:04:fe:80:00:00:00:00:00:00:00:01:73:00:00:00:8a:91 nud permanent dev ib0 An IPoIB link layer address is 20-bytes (see http://www.ietf.org/internet-drafts/draft-ietf-ipoib-ip-over-infiniband-09.txt, section 9.1.1). The command line parsing code expects link layer addresses to be a maximum of 16-bytes. Addresses over 16-bytes are truncated.
/external/iproute2/ip/iplink.c
|
f332d169246447bd5e258ac03d5ee840a70adb1e |
|
06-Jul-2005 |
shemminger <shemminger> |
Cleanup GCC4 warnings about signedness.
/external/iproute2/ip/iplink.c
|
71058eb8ef128aa99666dc4e6664e7632e12a1b9 |
|
01-Sep-2004 |
osdl.net!shemminger <osdl.net!shemminger> |
Fix ip command to not crash when interface name is too long. always use strncpy(.., IFNAMSIZ) (Logical change 1.79)
/external/iproute2/ip/iplink.c
|
d27b1b5b41659d7b62f2e9f5213ffcefcad9753c |
|
02-Jul-2004 |
net[shemminger]!shemminger <net[shemminger]!shemminger> |
Import patch iplink.c.more_ifcfg_opts.diff (Logical change 1.42)
/external/iproute2/ip/iplink.c
|
aba5acdfdb347d2c21fc67d613d83d4430ca3937 |
|
15-Apr-2004 |
osdl.org!shemminger <osdl.org!shemminger> |
(Logical change 1.3)
/external/iproute2/ip/iplink.c
|
86fdf0e47be697587efcf9602cd1f952a1d73170 |
|
15-Apr-2004 |
osdl.org!shemminger <osdl.org!shemminger> |
Initial revision
/external/iproute2/ip/iplink.c
|