summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update various classifiers' help output for expected CLASSID syntaxPJ Waskiewicz2008-02-136-0/+8
| | | | | | | | | | | update: Fix the spelling of "hexidecimal" This updates the help output to specify that CLASSID should be hexidecimal. This makes sure that a user entering "flowid 1:10" gets his flow put into band 15 (0x10) and knows why. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* add include/linux/hdlc/ioctl.hStephen Hemminger2008-02-131-0/+81
| | | | | | | Need to add include/linux/hdlc/ioctl.h because it is not present in older releases. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* minor typo fixesStephen Hemminger2008-02-072-2/+2
| | | | A couple of obvious typo's.
* Protocol field on tc_filter is requiredStephen Hemminger2008-02-071-2/+7
| | | | | Kernel won't find matching filter if protocol value not provided.
* add support for matching AOE and CAN ether typesStephen Hemminger2008-02-072-0/+117
| | | | | Update the protocol table to match current kernel support. Why is the list not in an /etc file?
* reharmonize headers with pre-freeze 2.6.25Stephen Hemminger2008-02-072-2/+2
| | | | Some minor header file changes headed for 2.6.25
* fix typos in help message for meta matchStephen Hemminger2008-02-051-2/+1
| | | | Make sure examples actually work.
* ignore emacs backup filesStephen Hemminger2008-02-051-0/+1
|
* Change where vlan option shows up in helpStephen Hemminger2008-02-051-1/+1
| | | | Vlan should not be in the socket section
* cls_flow: add vlan-tag supportPatrick McHardy2008-02-052-1/+4
| | | | | | | | | | | | commit 94e9cba778cb97d77d9146dc3bd38ff195bc2c8a Author: Patrick McHardy <kaber@trash.net> Date: Sat Feb 2 18:22:16 2008 +0100 [IPROUTE]: cls_flow: add vlan-tag support Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* harmonize headers with upcoming 2.6.25Stephen Hemminger2008-01-313-1/+41
| | | | | | Add stuff from early 2.6.25 merge. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* Add flow classifier supportPatrick McHardy2008-01-313-0/+398
| | | | | | | [IPROUTE]: Add flow classifier support Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* Add support for SFQ xstatsPatrick McHardy2008-01-312-0/+22
| | | | | | | [IPROUTE]: Add support for SFQ xstats Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* fix problem caused by rtnl_send checksStephen Hemminger2008-01-317-18/+13
| | | | | | | Some usages of rtnl_send could cause errors (ie flush requests) others do a listen afterwards. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* whitespace typo in tc_common.hStephen Hemminger2008-01-311-1/+1
| | | | minor whitespace typo.
* poll for errors after rtnl_sendStephen Hemminger2008-01-261-1/+29
| | | | | | This fixes the problem where a bulk operation (like ip flush) is performed as non-root user. The kernel will only send a response if there is an error, so check for it.
* remove extra newline from perror() callsStephen Hemminger2008-01-264-4/+4
| | | | | perror error adds a newline, so don't split error message across two lines.
* libnetlink: don't spin forever on receive errorStephen Hemminger2008-01-251-9/+12
| | | | | | | If there is a problem talking to kernel, don't retry except in the special case of signal or -EAGAIN Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* Merge branch 'net-2.6.25'Stephen Hemminger2008-01-2516-76/+330
|\
| * vlan meta tag matchStephen Hemminger2008-01-241-0/+1
| | | | | | | | Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
| * update headers to current net-2.6.25Stephen Hemminger2008-01-245-4/+10
| | | | | | | | Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
| * iproute2: add synonyms for ip rule options to ip(8) manpage.Andreas Henriksson2008-01-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 355e1438f73602fbac029d28891dfa889471b679 Author: Andreas Henriksson <andreas@fatal.se> Date: Wed Jan 2 23:21:59 2008 +0100 Add synonyms for ip rule options to ip(8) manpage. See: http://bugs.debian.org/433507 http://bugs.debian.org/213673 Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
| * iproute2: revert syntax help text mistake.Andreas Henriksson2008-01-021-1/+1
| | | | | | | | | | | | | | | | Sorry. The pref and prio options are actually synonyms. This reverts part of commit 576c63ee59de3f18bec4ebd8181a5a395f268d03. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
| * Revert "TC action parsing bug fix"Stephen Hemminger2008-01-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [...] > Commands like "tc filter add dev ppp0 parent ffff: protocol ip prio 50 > u32 match ip src 0.0.0.0/0 police rate 4mbit burst 10k drop flowid :1" > apparently no longer works. The flowid is not accepted anymore. > Reverting commit 720a2e8d99... which you authored seems to "fix" this. [...] After further investigation it seems clear to me that reverting the commit 720a2e8d990707749b2... is the correct thing to do, since the real fix for the problem this commit was supposed to fix was instead fixed in commit c29391c7c68f031e246c... Whatever you specify after a u32 police you will now get a syntax error, and according to "tc filter add u32 help" there are several things that you are supposed to be able to specify after a police. This reverts commit 720a2e8d990707749b2cafa77ab3cd2b8241ec47.
| * Merge branch 'master' into net-2.6.25Stephen Hemminger2007-12-311-0/+230
| |\
| * | Update header files from net-2.6.25Stephen Hemminger2007-12-314-52/+57
| | | | | | | | | | | | Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
| * | Merge branch 'master' into net-2.6.25Stephen Hemminger2007-12-3122-415/+235
| |\ \
| * | | netem potential dist table overflowStephen Hemminger2007-12-121-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix possible stack overflow when given distribution table that is too large. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
| * | | iproute2-2.6.23: RFC4214 Support (v2.5)Templin, Fred L2007-12-112-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes support for the Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) per RFC4214. The following diffs are specific to the iproute2-2.6.23 software distribution. This message includes the full and patchable diff text; please use this version to apply patches. Signed-off-by: Fred L. Templin <fred.l.templin@boeing.com> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
| * | | Merge branch 'master' into net-2.6.25Stephen Hemminger2007-12-117-17/+315
| |\ \ \
| * | | | rlim qdisc supportStephen Hemminger2007-12-101-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for new rate limit qdisc Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
| * | | | Fix breakage from netfilter/ip_tables header change.Stephen Hemminger2007-12-101-0/+39
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
| * | | | Fix breakage from netfilter/ip_tables header change.Stephen Hemminger2007-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
| * | | | Merge header file changes from net-2.6.25Stephen Hemminger2007-12-104-6/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
* | | | | fix typo in ip batch error messageStephen Hemminger2008-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | | | release v2.6.24-080108Stephen Hemminger2008-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | | | Revert "TC action parsing bug fix"Stephen Hemminger2008-01-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 720a2e8d990707749b2cafa77ab3cd2b8241ec47. After further investigation it seems clear to me that reverting the commit 720a2e8d990707749b2... is the correct thing to do, since the real fix for the problem this commit was supposed to fix was instead fixed in commit c29391c7c68f031e246c... Whatever you specify after a u32 police you will now get a syntax error, and according to "tc filter add u32 help" there are several things that you are supposed to be able to specify after a police. So, Steven, please revert 720a2e8d990707749b2...
* | | | | iproute2: add synonyms for ip rule options to ip(8) manpage.Andreas Henriksson2008-01-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 355e1438f73602fbac029d28891dfa889471b679 Author: Andreas Henriksson <andreas@fatal.se> Date: Wed Jan 2 23:21:59 2008 +0100 Add synonyms for ip rule options to ip(8) manpage. See: http://bugs.debian.org/433507 http://bugs.debian.org/213673 Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | | | iproute2: revert syntax help text mistake.Andreas Henriksson2008-01-021-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Sorry. The pref and prio options are actually synonyms. This reverts part of commit 576c63ee59de3f18bec4ebd8181a5a395f268d03. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | | add include/netinet/tcp.hStephen Hemminger2007-12-311-0/+230
| |_|/ |/| | | | | | | | | | | | | | | | | ss.c needs lastest version of netinet/tcp.h which probably isn't on most distro's yet. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | iptables compatiablityDenys Fedoryshchenko2007-12-311-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | New iptables 1.4.0 has some library names changed from libipt to libxt. It is prefferable also to open libxt_ first, as newer "style". Signed-off-by: Denys Fedoryshchenko <nuclearcat@nuclearcat.com> Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | Change the rate table calc of transmit cost to use upper bound value.Jesper Dangaard Brouer2007-12-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patrick McHardy, Cite: 'its better to overestimate than underestimate to stay in control of the queue'. Illustrating the rate table array: Legend description rtab[x] : Array index x of rtab[x] xmit_sz : Transmit size contained in rtab[x] (normally transmit time) maps[a-b] : Packet sizes from a to b, will map into rtab[x] Current/old rate table mapping (cell_log:3): rtab[0]:=xmit_sz:0 maps[0-7] rtab[1]:=xmit_sz:8 maps[8-15] rtab[2]:=xmit_sz:16 maps[16-23] rtab[3]:=xmit_sz:24 maps[24-31] rtab[4]:=xmit_sz:32 maps[32-39] rtab[5]:=xmit_sz:40 maps[40-47] rtab[6]:=xmit_sz:48 maps[48-55] New rate table mapping, with kernel cell_align support. rtab[0]:=xmit_sz:8 maps[0-8] rtab[1]:=xmit_sz:16 maps[9-16] rtab[2]:=xmit_sz:24 maps[17-24] rtab[3]:=xmit_sz:32 maps[25-32] rtab[4]:=xmit_sz:40 maps[33-40] rtab[5]:=xmit_sz:48 maps[41-48] rtab[6]:=xmit_sz:56 maps[49-56] New TC util on a kernel WITHOUT support for cell_align rtab[0]:=xmit_sz:8 maps[0-7] rtab[1]:=xmit_sz:16 maps[8-15] rtab[2]:=xmit_sz:24 maps[16-23] rtab[3]:=xmit_sz:32 maps[24-31] rtab[4]:=xmit_sz:40 maps[32-39] rtab[5]:=xmit_sz:48 maps[40-47] rtab[6]:=xmit_sz:56 maps[48-55] Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | Cleanup: tc_calc_rtable().Jesper Dangaard Brouer2007-12-316-25/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change tc_calc_rtable() to take a tc_ratespec struct as an argument. (cell_log still needs to be passed on as a parameter, because -1 indicate that the cell_log needs to be computed by the function.). Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | Overhead calculation is now done in the kernel.Jesper Dangaard Brouer2007-12-312-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | The only current user is HTB. HTB overhead argument is now passed on to the kernel (in the struct tc_ratespec). Also correct the data types. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | Use netinet/tcp.h (with correction) rather than kernel headersStephen Hemminger2007-12-313-226/+1
| | | | | | | | | | | | | | | | | | | | | Fix the userspace header file rather than importing more kernel headers. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | snapshot 31 Dec 2007Stephen Hemminger2007-12-311-1/+1
| | | | | | | | | | | | Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | add decode of match rulesStephen Hemminger2007-12-313-33/+64
| | | | | | | | | | | | | | | | | | Show ip address etc when decoding output of tc filter show Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | Manual page fixesStephen Hemminger2007-12-312-2/+2
| | | | | | | | | | | | | | | | | | These are from debian sid. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* | | veth.h move to linux/Stephen Hemminger2007-12-252-1/+1
| | | | | | | | | | | | | | | | | | Move veth.h to linux/ since it is an API. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
* | | snapshot targetStephen Hemminger2007-12-212-1/+5
| | | | | | | | | | | | | | | | | | Add Makefile target to create snapshot file. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>