David Täht [off-list ref] 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@linux.intel.com -- Speaking for myself only