| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
On current firstfrag filter, all non fragmented packets are matched.
firstfrag should check MF bit.
Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
User new functions (inspired by libmnl) to do type safe access
of routeing attributes
|
|
|
|
|
|
| |
Problem reported by Peter Lebbing on Debian.
The decode of source and destination port filters in pretty print
mode was backwards.
|
| |
|
|
|
|
|
| |
The u32 key match was incorrect byte order when using ether source
or destination address matching.
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
remove unused #define and "ok" statements.
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
|
| |
|
|
|
|
|
| |
Use existing u32 mechanism to match based on Ethernet header.
No need for protocol that already exists.
|
|
|
|
| |
The selector logic is clearer with if / else if
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Don't break scripts that depend on previous offset/value format.
Introduce a new -pretty flag for decoding, and (*gasp*) document
the formatting arguments.
|
|
|
|
|
| |
Small typo from last change to decode filters. Should print dport
not port.
|
|
|
|
| |
reverse the match offset/mask values into ip header matches.
|
|
|
|
| |
Cleanup code (slightly).
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Show ip address etc when decoding output of tc filter show
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
|
|
|
|
| |
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
|
|
|
|
|
|
|
|
|
|
|
| |
[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>
|
|
|
|
|
|
| |
Go through source files and remove all trailing whitespace
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(Logical change 1.129)
|
|
|
|
| |
(Logical change 1.127)
|
|
|
|
| |
(Logical change 1.118)
|
|
|
|
| |
(Logical change 1.117)
|
|
|
|
|
|
|
| |
2004/09/04 06:16:51-07:00 net[shemminger]!kaber
: prevent tc crashes
(Logical change 1.81)
|
|
|
|
| |
(Logical change 1.70)
|
|
|
|
| |
(Logical change 1.66)
|
| |
|
|
|