- 05 Dec, 2014 1 commit
-
-
Stephen Hemminger authored
Need this header file to avoid build issues on older systems like Debian 7
-
- 04 Dec, 2014 4 commits
-
-
Stephen Hemminger authored
Missing "
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Add ESP to decode switch.
-
Stephen Hemminger authored
RFC 2598 defines Expedited Forwarding in section 2.3 Codepoint 101110 is recommended for the EF PHB. which translates to B8 as encoded in rt_dsfield
-
- 03 Dec, 2014 2 commits
-
-
vadimk authored
BEFORE: The show command has additional formatting options: -s, -stats, -statistics output more statistics about packet usage. -d, -details output more detailed information. -h, -human, -human-readble output statistics with human readable values number followed by suffix -iec print human readable rates in IEC units (ie. 1K = 1024). AFTER: The show command has additional formatting options: -s, -stats, -statistics output more statistics about packet usage. -d, -details output more detailed information. -h, -human, -human-readble output statistics with human readable values number followed by suffix -iec print human readable rates in IEC units (ie. 1K = 1024). Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Pavel Simerda authored
Just print the help when "ip route del" is called without any other arguments. Resolves: * https://bugzilla.redhat.com/show_bug.cgi?id=997965Signed-off-by:
Pavel Šimerda <psimerda@redhat.com>
-
- 30 Nov, 2014 4 commits
-
-
vadimk authored
Added checking existence of the doc files converters. If the XXX tool exists then HAVE_XXX:=y will be written to the Config file. Example of the configure script output: TC schedulers ATM no IPT using xtables IPSET yes iptables modules directory: /usr/lib/iptables libc has setns: yes SELinux support: no Docs latex: no WARNING: no docs can be built from LaTeX files sgml2html: yes Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Stephen Hemminger authored
Use current upstream header.
-
vadimk authored
Get rid of self-handling and creating of Netlink socket for show packet socket stats. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
- 29 Nov, 2014 11 commits
-
-
vadimk authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Added 'master' option to 'ip link show' command to filter devices by master dev. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Dave Taht authored
-
vadimk authored
When output the netlink sockets: ss -A netlink state close the layout is a little broken with a shifted 'Peer Address:Port' stars and empty new lines. Fixed by making the port field to be wider for 'Local Address:Port' column. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
I dont see a reason that packet and netlink states will be printed only if SS_CLOSE state is set in filter, in that case to print states of netlink or packet sockets it is needed to run: ss -A netlink state close instead of: ss -A netlink Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
As 'ip' util will share the same netns from the caller process then we can just look at /proc/self/.. to show the netns of the current process by: ip netns id Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
With this change the results of tc tests will be recorded under: testsuite/results/tc/ The ip related tests can be added under: testsuite/tests/ip Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
Added 'dev' option to allow filtering events by device. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
There were only few Netlink protocol names which were printed on the screen: rtnl, fw, tcpdiag So added the ability to identify Netlink proto name from /etc/iproute/nl_protos or from static table. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Tom Herbert authored
Add udpcsum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add udp6zerocsumtx, and udp6zerocsumrx options to enable sending zero checksums and receiving zero checksums in VXLAN/IPv6. Signed-off-by:
Tom Herbert <therbert@google.com>
-
Or Gerlitz authored
Add documentation on how to create devices of type IP-over-Infiniband in the man page. Signed-off-by:
Or Gerlitz <ogerlitz@mellanox.com>
-
- 22 Nov, 2014 1 commit
-
-
Florian Westphal authored
ip route change dev tap0 192.168.7.0/24 rto_min 1ms Error: argument "1ms" is wrong: "rto_min" value is invalid get_time_rtt() checks for 's' or 'msec' and converts to milliseconds if needed. Fixes: 697ac639 (utils: fix range checking for get_u32/get_u64 et all) Signed-off-by:
Florian Westphal <fw@strlen.de>
-
- 07 Nov, 2014 8 commits
-
-
Tom Herbert authored
Man pages for Foo-over-UDP and Generic UDP Encapsulation receive port configuration. gue man page links to fou one. Signed-off-by:
Tom Herbert <therbert@google.com>
-
Tom Herbert authored
This patch adds support to configure foo-over-udp (FOU) and Generic UDP Encapsulation for GRE tunnels. This configuration allows selection of FOU or GUE for the tunnel, specification of the source and destination ports for UDP tunnel, and enabling TX checksum. This configuration only affects the transmit side of a tunnel. Example: ip link add name tun1 type gre remote 192.168.1.1 local 192.168.1.2 \ ttl 225 encap fou encap-sport auto encap-dport 7777 encap-csum This would create an GRE tunnel in GUE encapsulation where the source port is automatically selected (based on hash of inner packet) and checksums in the encapsulating UDP header are enabled. Signed-off-by:
Tom Herbert <therbert@google.com>
-
Tom Herbert authored
This patch adds support to configure foo-over-udp (FOU) and Generic UDP Encapsulation for IPIP and sit tunnels. This configuration allows selection of FOU or GUE for the tunnel, specification of the source and destination ports for UDP tunnel, and enabling TX checksum. This configuration only affects the transmit side of a tunnel. Example: ip link add name tun1 type ipip remote 192.168.1.1 local 192.168.1.2 \ ttl 225 encap gue encap-sport auto encap-dport 9999 encap-csum This would create an IPIP tunnel in GUE encapsulation where the source port is automatically selected (based on hash of inner packet) and checksums in the encapsulating UDP header are enabled. Signed-off-by:
Tom Herbert <therbert@google.com>
-
Tom Herbert authored
Added 'ip fou...' commands to enable/disable UDP ports for doing foo-over-udp and Generic UDP Encapsulation variant. Arguments are port number to bind to and IP protocol to map to port (for direct FOU). Examples: ip fou add port 7777 gue ip fou add port 8888 ipproto 4 The first command creates a GUE port, the second creates a direct FOU port for IPIP (receive payload is a assumed to be an IPv4 packet). Signed-off-by:
Tom Herbert <therbert@google.com>
-
Masatake YAMATO authored
Signed-off-by:
Masatake YAMATO <yamato@redhat.com>
-
Christian Hesse authored
-
vadimk authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Christian Hesse authored
Width is the maximum number of characters used for the value, excluding a field separator. So append a single whitespace.
-
- 02 Nov, 2014 3 commits
-
-
Stephen Hemminger authored
Add a new -iec option in addition to -human. Cleanup code so the formatting of numbers is done in one function, not 2 ways and 2 sizes.
-
Christian Hesse authored
Byte and packet count can increase to really big numbers. This adds a switch to show human readable output. 4: wl: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 00:de:ad:be:ee:ef brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 1523846973 3969051 0 0 0 0 TX: bytes packets errors dropped carrier collsns 8710088361 6077735 0 0 0 0 4: wl: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 00:de:ad:be:ee:ef brd ff:ff:ff:ff:ff:ff RX: bytes packets errors dropped overrun mcast 1.5G 3.9M 0 0 0 0 TX: bytes packets errors dropped carrier collsns 8.7G 6.0M 0 0 0 0
-
Alexey Andriyanov authored
- any ipv6 tunnel mode (proto == 0) could not be set due to incomplete set of cases in do_add, do_del. - vti6 logic was inverted: it was using "ip6_vti0" basedev UNLESS mode is set to vti6. We don't need a switch by p.proto in do_add()/do_del(): it already exists in parse_args(). So if parse_args() call was successful, no need to check tunnel mode again. Signed-off-by:
Alexey Andriyanov <alan@al-an.info>
-
- 30 Oct, 2014 6 commits
-
-
Nicolas Dichtel authored
Signed-off-by:
Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Stephen Hemminger authored
Conflicts: include/linux/if_tunnel.h
-
dingzhi authored
This patch allows to configure ESN and anti-replay window. Signed-off-by:
dingzhi <zhi.ding@6wind.com> Signed-off-by:
Adrien Mazarguil <adrien.mazarguil@6wind.com> Signed-off-by:
Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Eric Dumazet authored
Starting from linux-3.15 (commit 9063e21fb026, "netlink: autosize skb lengths"), kernel is able to send up to 16K in netlink replies. This change enables iproute2 commands to get bigger chunks, without breaking compatibility with old kernels. Signed-off-by:
Eric Dumazet <edumazet@google.com>
-
Daniel Borkmann authored
Dump useful DCTCP state/debug information gathered from diag. Signed-off-by:
Daniel Borkmann <dborkman@redhat.com> Signed-off-by:
Florian Westphal <fw@strlen.de>
-
Stephen Hemminger authored
-