Asserting ECN from userspace?

Andi Kleen andi at firstfloor.org
Thu Oct 6 19:52:05 EDT 2011


David Täht <dave.taht at gmail.com> writes:
>
> And twiddling them, on a per stream basis, for a single packet, would
> seem to require something more robust than setsockopt/getsockopt
> (although that would work for udp streams)

With netfilter nf_queue you can construct a rule that passes packets
through user space and reinjects them.

I would suggest to just use that to modify the ECN bits.

I'm sure with reasonable google skills you can find some examples
how to do this on the web.

-Andi


-- 
ak at linux.intel.com -- Speaking for myself only



More information about the Bloat-devel mailing list