- 23 Nov, 2015 1 commit
-
-
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 5 commits
-
-
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>
-
Roopa Prabhu authored
This patch adds support to parse and print lwtunnel encapsulation attributes attached to routes for MPLS and IP tunnels. example: Add ipv4 route with mpls encap attributes: Examples: MPLS: $ ip route add 40.1.2.0/30 encap mpls 200 via inet 40.1.1.1 dev eth3 $ ip route show 40.1.2.0/30 encap mpls 200 via 40.1.1.1 dev eth3 Add ipv4 multipath route with mpls encap attributes: $ ip route add 10.1.1.0/30 nexthop encap mpls 200 via 10.1.1.1 dev eth0 \ nexthop encap mpls 700 via 40.1.1.2 dev eth3 $ ip route show 10.1.1.0/30 nexthop encap mpls 200 via 10.1.1.1 dev eth0 weight 1 nexthop encap mpls 700 via 40.1.1.2 dev eth3 weight 1 IP: $ ip route add 10.1.1.1/24 encap ip id 200 dst 20.1.1.1 dev vxlan0 Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Jiri Benc <jbenc@redhat.com>
-
Stephen Hemminger authored
Files needed for new lwtunnel code.
-
Stephen Hemminger authored
-
Phil Sutter authored
Signed-off-by: Phil Sutter <phil@nwl.cc>
-