On Tue, 20 Apr 2004, Lizzy Dizzy wrote:
> Need advice/hints on where I can modify the client_side.c such that the TOS
> bits are marked on packets that is travelling from the proxy server to the
> client. Current implementation only marks those going from proxy to
> destination website.
There was a patch for this some time ago. Looking.. Seems to be maintained
here: http://www.it-academy.bg/zph/
In principle you need to insert a
setsockopt(fd, IPPROTO_IP, IP_TOS, (char *) &tos, sizeof(int))
call at a suitable place before the data is sent to the client.
Regards
Henrik
Received on Tue Apr 20 2004 - 04:47:36 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Apr 29 2004 - 12:00:03 MDT