- 20 Jan, 2012 1 commit
-
-
Stephen Hemminger authored
Restore compatiablity for those lazy typists.
-
- 19 Jan, 2012 7 commits
-
-
Eric Dumazet authored
Enable Adaptative RED algo, using : tc qdisc ... red limit BYTES ... adaptative ... Support of high precision probability/max_p setting and reporting, with support of old kernels. With a new kernel, "Plog ..." is replaced in tc output by "probability value" : qdisc red 10: dev eth3 parent 1:1 limit 360Kb min 30Kb max 90Kb ecn ewma 5 probability 0.09 Scell_log 15
-
Stephen Hemminger authored
Fixed up version of patch from Hagen Paul Pfeifer <hagen@jauu.net> Also run spell check.
-
Hagen Paul Pfeifer authored
This patch add rate shaping as well as cell support. The link-rate can be specified via rate options. Three optional arguments control the cell knobs: packet-overhead, cell-size, cell-overhead. To ratelimit eth0 root queue to 5kbit/s, with a 20 byte packet overhead, 100 byte cell size and a 5 byte per cell overhead: tc qdisc add dev eth0 root netem rate 5kbit 20 100 5 Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
-
Hagen Paul Pfeifer authored
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
-
Masatake YAMATO authored
This is trivial patch for libnetlink.c in iproute2. In iproute2/include/linux/netlink.h NLM_F_DUMP is defines as: #define NLM_F_DUMP (NLM_F_ROOT|NLM_F_MATCH) It is not used in libnetlink.c. If used, the code becomes a bit easier to read. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Vijay Subramanian authored
Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Stephen Hemminger authored
Incorporate change to fix inet_diag build failure.
-
- 10 Jan, 2012 3 commits
-
-
Stephen Hemminger authored
Initial merge window version of headers
-
Stephen Hemminger authored
lintian says: W: iproute: manpage-has-bad-whatis-entry usr/share/man/man7/tc-hfsc.7.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-address.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-addrlabel.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-link.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-maddress.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-monitor.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-mroute.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-neighbour.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-netns.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-ntable.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-route.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-rule.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-tunnel.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-xfrm.8.gz
-
Stephen Hemminger authored
Leftover from change to original code.
-
- 05 Jan, 2012 1 commit
-
-
Stephen Hemminger authored
-
- 03 Jan, 2012 6 commits
-
-
Jan Engelhardt authored
Upsteam: has not been sent yet Requesting the xt action never succeeded because it registered using the wrong name.
-
Jan Engelhardt authored
Upstream: not sent yet Any tests involving iptables _MUST_ utilize pkg-config to find the proper locations of the installation.
-
Stephen Hemminger authored
Spell check the README files and remove out of date release notes.
-
Stephen Hemminger authored
Use existing compile flag to indicate that input() is not used by tc ematch, fixes compiler warning.
-
Stephen Hemminger authored
yyerror() should take const char * on current bison.
-
Jan Engelhardt authored
gcc -DLIBDIR=\"/usr/lib64\" -D_GNU_SOURCE -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\"/usr/lib64/xtables\" -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib64\" -fPIC -c -o ipx_pton.o ipx_pton.c In file included from ../include/utils.h:8:0, from ipx_ntop.c:5: ../include/libnetlink.h: In function 'rta_getattr_u64': ../include/libnetlink.h:84:2: warning: implicit declaration of function 'memcpy' ../include/libnetlink.h:84:2: warning: incompatible implicit declaration of built-in function 'memcpy'
-
- 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>
-