- 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 16 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>
-
Phil Sutter authored
Change '-human-readble' to '-human-readable'. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Stephen Hemminger authored
Save some space by using variable size for nsid cache elements. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
- 10 Aug, 2015 6 commits
-
-
Stephen Hemminger authored
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Nikolay Aleksandrov authored
Add support to be able to set and show the value of tlb_dynamic_lb (IFLA_BOND_TLB_DYNAMIC_LB). Example: $ ip -d link show dev bond0 type bond 7: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default link/ether ce:2f:e1:6e:d7:e0 brd ff:ff:ff:ff:ff:ff promiscuity 0 bond mode balance-tlb miimon 100 updelay 0 downdelay 0 use_carrier 1 arp_interval 0 arp_validate none arp_all_targets any primary_reselect always fail_over_mac none xmit_hash_policy layer2 resend_igmp 1 num_grat_arp 1 all_slaves_active 0 min_links 0 lp_interval 1 packets_per_slave 1 lacp_rate slow ad_select stable tlb_dynamic_lb 1 addrgenmode eui64 $ ip -d l set dev bond0 type bond tlb_dynamic_lb 0 $ ip -d link show dev bond0 type bond 7: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default link/ether ce:2f:e1:6e:d7:e0 brd ff:ff:ff:ff:ff:ff promiscuity 0 bond mode balance-tlb miimon 100 updelay 0 downdelay 0 use_carrier 1 arp_interval 0 arp_validate none arp_all_targets any primary_reselect always fail_over_mac none xmit_hash_policy layer2 resend_igmp 1 num_grat_arp 1 all_slaves_active 0 min_links 0 lp_interval 1 packets_per_slave 1 lacp_rate slow ad_select stable tlb_dynamic_lb 0 addrgenmode eui64 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Stephen Hemminger authored
-
Daniel Borkmann authored
Frontend support for kernel commit a5c90b29e5cc ("act_bpf: properly support late binding of bpf action to a classifier"). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-
Richard Alpe authored
One option is required for bearer set and bearer get.
-