summaryrefslogtreecommitdiffstats
path: root/tc/f_u32.c
Commit message (Collapse)AuthorAgeFilesLines
* ip: make local functions staticStephen Hemminger2013-02-121-3/+3
|
* tc: u32: Fix firstfrag filter.Hiroaki SHIMODA2012-07-101-1/+1
| | | | | | | On current firstfrag filter, all non fragmented packets are matched. firstfrag should check MF bit. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
* tc: u32: Fix icmp_code off.Hiroaki SHIMODA2012-07-101-1/+1
| | | | | | | The off of icmp_code is not 20 but 21. Also offmask should be 0 unless nexthdr+ is specified. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
* Convert to use rta_getattr_ functionsStephen Hemminger2012-04-101-5/+5
| | | | | User new functions (inspired by libmnl) to do type safe access of routeing attributes
* tc filter: fix dport/sport in pretty print outputStephen Hemminger2011-05-191-3/+3
| | | | | | Problem reported by Peter Lebbing on Debian. The decode of source and destination port filters in pretty print mode was backwards.
* Fix warning in u32 from assignment in conditionalStephen Hemminger2011-04-121-1/+2
|
* Fix byte order of ether address match for u32Stephen Hemminger2010-08-021-5/+2
| | | | | The u32 key match was incorrect byte order when using ether source or destination address matching.
* iproute: fix tc generating ipv6 priority filterPetr Lautrbach2010-07-231-1/+38
| | | | | | | | | This patch adds ipv6 filter priority/traffic class function static int parse_ip6_class(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) shifting filter value to 5th bit and ignoring "at" as header position is exactly given. Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
* tc: remove stale codeFlorian Westphal2010-01-211-2/+0
| | | | | | remove unused #define and "ok" statements. Signed-off-by: Florian Westphal <fwestphal@astaro.com>
* Add IPV6 match pretty printStephen Hemminger2009-05-261-0/+57
|
* Add u32 extension to match on ether source/destinationStephen Hemminger2009-04-151-0/+70
| | | | | Use existing u32 mechanism to match based on Ethernet header. No need for protocol that already exists.
* Remove goto chainStephen Hemminger2009-04-031-115/+42
| | | | The selector logic is clearer with if / else if
* Infrastructure for pretty printingjamal2008-05-091-15/+44
| | | | | | | | | | | | | | | And last for now .. cheers, jamal [PATCH 3/3] [TC/U32] Infrastructure for pretty printing This patch makes it easy to add pretty printers of different protocols. For starters it makes use of ipv4 and raw printers. Add more later ... Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
* Change formatting of u32 back to defaultStephen Hemminger2008-05-091-1/+3
| | | | | | Don't break scripts that depend on previous offset/value format. Introduce a new -pretty flag for decoding, and (*gasp*) document the formatting arguments.
* missing dport in f_u32 outputStephen Hemminger2008-02-221-1/+1
| | | | | Small typo from last change to decode filters. Should print dport not port.
* decode the output of u32 matchesStephen Hemminger2008-02-181-6/+31
| | | | reverse the match offset/mask values into ip header matches.
* break excessively long linesStephen Hemminger2008-02-181-23/+46
| | | | Cleanup code (slightly).
* Update various classifiers' help output for expected CLASSID syntaxPJ Waskiewicz2008-02-131-0/+1
| | | | | | | | | | | 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 decode of match rulesStephen Hemminger2007-12-311-12/+49
| | | | | | Show ip address etc when decoding output of tc filter show Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
* Eliminate trailing whitespaceStephen Hemminger2006-12-131-1/+1
| | | | Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* Fix missing class/flowid oddityjamal2006-12-131-1/+7
| | | | | | | | | | | [U32] Fix missing class/flowid oddity When an action or policer is specified but not a classid/flowid, the syntax accepts it but the kernel never really hits it. This has been a long standing problem, but thanks to the persistence of Marco Berizzi <pupilla@hotmail.com> I broke down and fixed it. Signed-off-by: J Hadi Salim <hadi@cyberus.ca> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* Remove trailing whitespaceStephen Hemminger2006-12-051-1/+1
| | | | | | Go through source files and remove all trailing whitespace Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
* Backout the 2.4 utsname hash patch.shemminger2006-03-221-15/+3
|
* Fix build errors from last patchss-060314shemminger2006-03-141-4/+5
|
* Fixes for tc hash sample.shemminger2006-03-141-5/+28
|
* Missing memset in tc sampleshemminger2006-03-101-0/+1
|
* Fix u32 filter for ipv6 priorityshemminger2006-01-101-1/+1
|
* Use parse_rtattr_nested8!tgraf2005-01-181-3/+1
| | | | (Logical change 1.129)
* Use NLMSG_TAIL8!tgraf2005-01-181-2/+2
| | | | (Logical change 1.127)
* Import patch iproute2.116net[shemminger]!shemminger2005-01-171-2/+5
| | | | (Logical change 1.118)
* Import patch iproute2.115net[shemminger]!shemminger2005-01-171-6/+57
| | | | (Logical change 1.117)
* Fix issues with filter name conflicts and cleanup.osdl.net!shemminger2004-09-281-5/+4
| | | | | | | 2004/09/04 06:16:51-07:00 net[shemminger]!kaber : prevent tc crashes (Logical change 1.81)
* Import patch jamal-p1net[shemminger]!shemminger2004-08-231-16/+14
| | | | (Logical change 1.70)
* new stuff from jamal.osdl.net!shemminger2004-08-131-13/+58
| | | | (Logical change 1.66)
* (Logical change 1.3)osdl.org!shemminger2004-04-151-0/+977
|
* Initial revisionosdl.org!shemminger2004-04-151-0/+0