Subject: Re: Asserting ECN from userspace?

From: Andi Kleen <[email-masked]>
Date: Thu, 06 Oct 2011 16:52:05 -0700

David Täht <[email-masked]> 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

-- 
[email-masked] -- Speaking for myself only