- 31 Aug, 2015 6 commits
-
-
Toshiaki Makita authored
This patch adds support for bridge vlan_protocol. Example: $ ip link set br0 type bridge vlan_protocol 802.1ad $ ip -d link show br0 4: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 44:37:e6:ab:cd:ef brd ff:ff:ff:ff:ff:ff promiscuity 0 bridge forward_delay 0 hello_time 200 max_age 2000 ageing_time 30000 stp_state 0 priority 32768 vlan_filtering 0 vlan_protocol 802.1ad addrgenmode eui64 Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Konstantin Shemyak authored
* "vti" and "vti6" tunnel modes added to ip-tunnel.8 manual page * Added "hoplimit" terminology for IPv6 * Corrected usage line * Minor language fix
-
Andy Gospodarek authored
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>
-
- 25 Aug, 2015 2 commits
-
-
Stephen Hemminger authored
Mostly just use of {} and whitespace.
-
Vadim Kochan authored
Add little more info about how to manually set priority by iptables, and some little clarifications about ingress/egress QoS mapping. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
- 23 Aug, 2015 4 commits
-
-
David Ahern authored
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>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Formatting JSON is moderately painful. Provide a simple API to do the syntax formatting.
-
- 19 Aug, 2015 4 commits
-
-
Vadim Kochan authored
Add more explanation about VLAN reordering and what it affects. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Phil Sutter authored
The previous man page fixup introduced a syntax error due to missing opening bracket, which might crash some humanoid BNF parsers. Fixes: 4e972d5e ("ip-address: fix and extend documentation") Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
My previous patch 5950ba91 ("lib/namespace: don't leak fd in error case") was a step in the wrong direction. Instead of closing the opened file descriptor in error case only, follow a better approach here and close the fd as soon as it is not used anymore. This way the inelegant goto statements can be dropped, and the fd leak in non-error case is fixed as well. Fixes: 5950ba91 ("lib/namespace: don't leak fd in error case") Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Zhang Shengju authored
Cut one level indentation to make things easier to read. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
- 14 Aug, 2015 2 commits
-
-
Stephen Hemminger authored
-
Zhang Shengju authored
Add missing return value to fix warnings Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
- 13 Aug, 2015 8 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Zhang Shengju authored
Remove unnecessary retrun, because invarg() exit. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
Pavel Šimerda authored
* Improve manual page synopsis and built-it help * Use full subcommand names (e.g. 'address' and 'maddress') * Specify when IPv4, IPv6 or both are affected * Add lifetimes, home and nodad * Remove any remaining excess spaces Commit 43d29f78 substantially improves generated ip-address.8 instead of ip-address.8.in and commit e419f2d6 removes the generated one losing the improvements entirely. This commit recovers the lost changes, adapts them to the current manual page and adds more man page and help improvements. Original commit by: Kenyon Ralph <kenyon@kenyonralph.com>
-
Pavel Šimerda authored
* Add `can` to list of supported link types * Document `addrgenmode` * Document `link-netnsid` * Document VLAN link type * Improve VXLAN link type documentation - Fix VXLAN srcport/dstport docs - Document `udpcsum`, `udp6zerocsumtx` and `udp6zerocsumrx`
-
Pavel Šimerda authored
* Use unabbreviated `address` and `maddress` * Keep only `-n` and `-netns` for network namespace
-
Zhang Shengju authored
Enhance promtp message for 'spoofchk' and 'query_rss' flag, and fix a typo. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
Stephen Hemminger authored
No need for extern on function prototypes.
-
- 12 Aug, 2015 14 commits
-
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
This was working before, but only if realloc a) succeeded and b) did not move the buffer to a different location. ''**buf = **new_buf' then writes the value of *new_buf's first field into that of *buf. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Nikolay Aleksandrov authored
This patch implements support for the IFLA_BR_VLAN_FILTERING attribute in iproute2 so it can enable/disable vlan_filtering. Example: $ ip link set br0 type bridge vlan_filtering 1 $ ip -d link show br0 6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default link/ether 08:00:27:ea:07:38 brd ff:ff:ff:ff:ff:ff promiscuity 0 bridge forward_delay 1500 hello_time 200 max_age 2000 vlan_filtering 1 addrgenmode eui64 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Nikolay Aleksandrov authored
When showing bridge attributes, show also ageing_time, stp_state and priority if available. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Stephen Hemminger authored
-
Zhang Shengju authored
fix a typo: "noarp" -> "arp" Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
Zhang Shengju authored
Allow to print link type usage by: ip link help bridge_slave Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
Zhang Shengju authored
Allow to print link type usage by: ip link help bridge Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
Zhang Shengju authored
Add missing link type "bridge_slave". Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-