Various questions regarding action parameters

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm in the process of writing man pages for tc actions. Sadly I wasn't
able to figure everything out by searching the web, grepping Git log or
reading kernel/iproute2 code. Therefore I present a number of open
questions here, hoping for you to help me work things out. Please feel
free to answer selected questions as well, any input is highly
appreciated.

connmark action
---------------
I struggle with the effect of the different branch targets. My
understanding so far is:

reclassify - restart classification by jumping back to the first filter
             on the same level.
pipe       - continue with the next action in line.
drop/shot  - drop packet without calling any further filters/actions

Is this correct so far? Could you please explain 'continue' and 'pass'
branches (and what distinguishes each from the others if questionable)?

Further, this action supports an 'index' option which seems to specify
the index at which this action is put into the list of actions attached
to the same filter. Is this correct? So is it just there as an
alternative to reordering the action list upon tc invocation? Or are
there other uses of that index?

police action
-------------
OK, this is lame: I failed to find out what distinguishes rate, peakrate
and avrate and what influence burst and mtu values have. That cell size
parameter to the latter was also completely obscure to me. I could
probably steal from tc-htb.8 for most of them, but writing things
without understanding them is usually not a good idea (actually
remembers me of some of my old professors at university ;).
Could you maybe point me to some documentation which applies to police
as well? Even though I finally understood what the rate precalculation
does, the respective kernel code looked pretty weird to me.

OK, that's it for now. (At least these are my 'XXX' entries right now,
review will probably arise more questions later.)

Thanks, Phil
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux