- 23 Nov, 2015 5 commits
-
-
Phil Sutter authored
Although the cache is only initialized in do_show(), this way it is at least consistent with ip6tunnel. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Make ip6tunnel print an error message as well. While there, get rid of unnecessary line breaking. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Instead of duplicating the same code six times (key, ikey and okey in iptunnel and ip6tunnel), have a common parsing routine. This has the added benefit of having the same verbose error message in ip6tunnel as well as iptunnel. I'm not sure if parsing an IPv4 address as key makes sense for ip6tunnel, but the code was there before so this patch at least doesn't make it worse. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Put whitespace in the beginning of optional parts, not as suffix anywhere. Also drop double whitespaces in between words. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Aaro Koskinen authored
Use PKG_CONFIG from Config - it works better when cross-compiling. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
-
- 04 Nov, 2015 8 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Phil Sutter authored
Instead of statically complaining about illegal inet address, use get_family() to get the address family right. Based on a patch by Hangbin Liu to print "inet6" for AF_INET6 made more generic by me. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
-
Phil Sutter authored
-
Phil Sutter authored
-
Phil Sutter authored
-
- 23 Oct, 2015 21 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
No blank lines at end of file
-
Stephen Hemminger authored
No blank lines at EOF, or trailing whitespace.
-
Stephen Hemminger authored
Shouldn't have extra blank lines.
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Cc: Jiri Pirko <jiri@resnulli.us> Cc: Patrick McHardy <kaber@trash.net> Cc: Werner Almesberger <werner@almesberger.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Werner Almesberger <werner@almesberger.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Patrick McHardy <kaber@trash.net> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Add missing spaces around operators to increase readability. Aside from that, make "preference" match a real synonym for "tos" and "dsfield" as it's effect was identical to them. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
This fixes a few syntax errors and changes route filter help text to use classid instead of flowid to be consistent with other filters' help texts. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Daniel Borkmann authored
If get_rt_realms() fails, try to get a possible raw u32 realms value for the u32 RTA_FLOW/FRA_FLOW attribute, as it might be useful to directly configure the hex value itself. And only if that fails, then bail out. The source realm is provided in the upper u16 (mask: 0xffff0000) and the destination realm through the lower u16 part (mask: 0x0000ffff). This can be useful for tc's bpf realm matcher, but also a full hex/mask param can be provided already for matching through iptables' --realm cmdline option, for example. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-
Stephen Hemminger authored
Track upstream
-
Kirill Tkhai authored
This patch adds save and restore commands to "ip rule" similar the same is made in commit f4ff11e3 for "ip route". The feature is useful in checkpoint/restore for container migration, also it may be helpful in some normal situations. Signed-off-by: Kirill Tkhai <ktkhai@odin.com>
-
- 19 Oct, 2015 5 commits
-
-
Stephen Hemminger authored
-
Roopa Prabhu authored
replace exit with return -2 on rtnl_talk failure Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
-
Wilson Kok authored
This patch adds fflush in fdb and mdb print functions Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
-
Phil Sutter authored
This has been inconsistent since the beginning of Git and seems to be merely a documentation leftover, therefore just remove it from help output and man page. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
When getopt_long encounters an option which has not been registered, it returns '?'. React upon that and call usage() instead of help() so ss returns with a non-zero exit status. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
- 16 Oct, 2015 1 commit
-
-
Roopa Prabhu authored
This patch updates ip-route man page with lwtunnel encap usage and description, covering MPLS and IP encapsulation. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Jiri Benc <jbenc@redhat.com>
-