- 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 1 commit
-
-
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 1 commit
-
-
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 12 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
When showing bridge attributes, show also ageing_time, stp_state and priority if available. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
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 2 commits
-
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Richard Alpe authored
One option is required for bearer set and bearer get.
-
- 01 Aug, 2015 2 commits
-
-
Antti Paila authored
Reset the 'preferred_family' global variable to its initially set value before each batch file command is processed. Signed-off-by: Antti Paila <antti.paila@gmail.com>
-
Roopa Prabhu authored
This is similar to command options corresponding to other NTF_* flags already exposed to the user space (examples self/master). Also updates bridge man page (The man page patch also includes a fix to the 'self' entry and documents 'master' for fdb entries) Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
- 28 Jul, 2015 2 commits
-
-
Stephen Hemminger authored
Left over copy/paste from ip monitor man page.
-
Felix Janda authored
Prefer using the POSIX constant PATH_MAX instead of the legacy BSD derived MAXPATHLEN. The necessary includes for MAXPATHLEN and PATH_MAX are <sys/param.h> and <limits.h>, respectively. Signed-off-by: Felix Janda <felix.janda@posteo.de> Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
-
- 27 Jul, 2015 6 commits
-
-
Nikolay Aleksandrov authored
This patch adds support for ADDMDB/DELMDB notifications about router ports which have been added or deleted/expired respectively. Example output: $ bridge -s monitor mdb Deleted router port dev eth3 master br0 router port dev eth3 master br0 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Zhang Shengju authored
Make sure that return value of each socket() call is properly checked and do not continue processing if the call failed. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
Zhang Shengju authored
Remove dupldated include for <linux/xfrm.h>, since it's already included by 'xfrm.h'. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
-
Nicolas Dichtel authored
Error was: f_bpf.o: In function `bpf_parse_opt': f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' m_bpf.o: In function `parse_bpf': m_bpf.c:(.text+0x587): undefined reference to `secure_getenv' collect2: error: ld returned 1 exit status There is no special reason to use the secure version of getenv, thus let's simply use getenv(). CC: Daniel Borkmann <daniel@iogearbox.net> Fixes: 88eea539 ("tc: {f,m}_bpf: allow to retrieve uds path from env") Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
-
Vadim Kochan authored
Really by default ss dumps not only TCP sockets but any kind of socket which is in ESTABLISHED state (TCP/UDP/UNIX). Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Reported-by: Miha Marolt <miham@beyondsemi.com>
-
Stephen Hemminger authored
Zhang Shengju some places where tabs were not being used. Go ahead and fix all the trival checkpatch warnings in ip/ip.c Also fix bridge.c
-