- 29 Dec, 2011 2 commits
-
-
Stephen Hemminger authored
Based on earlier implementation by James Chapman. But instead of dragging in all of libnl, use existing libnetlink infrastructure.
-
Stephen Hemminger authored
Based on idea in libmnl, add attribute access functions instead of explicitly exposing casts. Also handle possible alignment issues of u64.
-
- 28 Dec, 2011 1 commit
-
-
Stephen Hemminger authored
Both rtnl_talk and rtnl_dump had a callback for handling portions of netlink message that do not match the correct pid or seq. But this callback was never used by any part of iproute2 so remove it.
-
- 24 Dec, 2011 1 commit
-
-
Eric Dumazet authored
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
- 23 Dec, 2011 4 commits
-
-
Stephen Hemminger authored
New functions to handle u8, u16, u32, u64 and string attribute types. Use common code for all attribute wrappers.
-
Stephen Hemminger authored
Avoid having to cast buffer being sent.
-
Stephen Hemminger authored
Incorporate support for new loss models.
-
Stephen Hemminger authored
Format man page with conventional style (BNF and italics) to make it match other pages. Fix loss model options to match what will implemented!
-
- 22 Dec, 2011 3 commits
-
-
Stephen Hemminger authored
Keep in sync
-
Stephen Hemminger authored
The man page for ip command had grown too large to be readable. Break it up into separate pages.
-
Florian Westphal authored
With help from Eric Dumazet. Man page is derived in parts from README file contained in Juliusz Chroboczeks original sfb kernel patch.
-
- 09 Dec, 2011 1 commit
-
-
Eric Dumazet authored
Add harddrop support (kernel support added a long time ago), and various cleanups. min BYTES, max BYTES are now optional and follow Sally Floyd's recommendations. By the way, our default 2% probability is a bit low, Sally recommends 10%. Not a big deal if upcoming adaptative algo is deployed. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
- 01 Dec, 2011 3 commits
-
-
Hagen Paul Pfeifer authored
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
-
Eric Dumazet authored
Documentation advises to set burst to (min+min+max)/(3*avpkt) Let tc do this automatically if user doesnt provide burst himself. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Eric Dumazet authored
Check for burst values that are too small. Reported-by: Dave Taht <dave.taht@gmail.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
- 23 Nov, 2011 5 commits
-
-
Greg Rose authored
Add ip link command parsing for VF spoof checking enable/disable V2 - Fixed problem with parsing of dump info on kernels that don't support the spoof checking option and also wrapped the ifla_vf_info structure in #ifdef __KERNEL__ to prevent user space from directly accessing the structure V3 - Improved parsing of vfinfo V4 - Put Makefile back to proper list of subdirs V5 - Remove struct ifla_vf_info, it is only used by the kernel V6 - Make sure spoof check is reported by the driver - rtnl will set it to -1 to indicate driver didn't report a value. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
Eric Dumazet authored
Support ECNSEEN reporting in ss command. ESTAB 0 0 10.170.73.123:4900 10.170.73.125:51001 uid:501 ino:385994 sk:f31e5f00 mem:(r0,w0,f0,t0) ts sack ecn ecnseen bic wscale:8,8 rto:210 rtt:18.75/15 ato:40 cwnd:10 send 69.9Mbps rcv_space:32768 "ecn" means TCP session negociated ECN capability (TCP layer) at setup time "ecnseen" at least one frame with ECT(0) or ECT(1) or ECN (IP layer) was received from peer. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Thomas Jarosch authored
get_distribution() returns an int. cppcheck reported: [tc/q_netem.c:243]: (style) Checking if unsigned variable 'dist_size' is less than zero. The mismatch actually rendered the error checking after get_distribution() ineffective. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Stephen Hemminger authored
-
- 18 Nov, 2011 1 commit
-
-
Stephen Hemminger authored
-
- 16 Nov, 2011 1 commit
-
-
Petr Šabata authored
This patch emulates 'netstat -ul' behavior, showing 'closed' (state 07) UDP sockets when ss is called with '-ul' options. Although dirty, this seems like the least invasive way to fix it and shouldn't really break anything. Signed-off-by: Petr Šabata <contyk@redhat.com>
-
- 02 Nov, 2011 3 commits
-
-
Stephen Hemminger authored
make clean needs to remove all the yacc output files for ematch.
-
Michal Soltys authored
Few minor changes and small additions.
-
Michal Soltys authored
This patch adds detailed documentation for HFSC scheduler. It roughly follows HFSC paper, but tries to not rely too much on math side of things. Post-paper/Linux specific subjects (timer resolution, ul service curve, etc.) are also discussed. I've read it many times over, but it's a lengthy chunk of text - so try to be understanding in case I made some mistakes. tc-hfsc(7): explains algorithm in detail (very long) tc-hfsc(8): explains command line options briefly tc(8): adds references to new man pages Makefile: adds man7 directory to install target q_hfsc.c: minimal help text changes, consistency with tc-hfsc(8) Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 18 Oct, 2011 1 commit
-
-
Mike Frysinger authored
Building iproute2 in parallel might hit the race failure: emp_ematch.l:2:30: fatal error: emp_ematch.yacc.h: No such file or directory make[1]: *** [emp_ematch.lex.o] Error 1 This is because we currently allow the yacc/lex files to generate and compile in parallel. So add a simple dependency to make sure yacc has finished before we attempt to compile the lex output. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 13 Oct, 2011 2 commits
-
-
Stephen Hemminger authored
Alternative fix to problem reported by: Bin Li The issue is came from https://bugzilla.novell.com/show_bug.cgi?id=681952. In any previous version (since suse ... 10.0?), ip addr add always returned the error code 2 in case the ip address is already set on the interface: inet 172.16.2.3/24 brd 172.16.2.255 scope global bond0 RTNETLINK answers: File exists 2 On 11.4, it returns the exit code 254: inet 172.16.1.1/24 brd 172.16.1.255 scope global eth0 RTNETLINK answers: File exists 254 This of course causes ifup to return an error in this quite common case..
-
Thomas Jarosch authored
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
- 10 Oct, 2011 3 commits
-
-
Stephen Hemminger authored
Align header files with sanitized version of headers in kernel.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Fix usage of ".R" which is not man macro.
-
- 07 Oct, 2011 9 commits
-
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-