patch -p1 < linux-2.4.30-zph-ToS.patchAlways do full, clean compilation of the kernel. I had some problems because the dependancy checking cannot catch all real dependancies when doing incremental build.
or, for the 2.6 series:
patch -p1 < linux-2.6.11.10-zph-ToS.patch
patch -p1 < squid-2.5.STABLE10-ToS_Hit_ToS_Preserve.patch
zph_tos_local (integer) |
Allows you to select a TOS/Diffserv value to mark local hits. Default: 0 (disabled) |
zph_tos_peer (integer) | Allows you to select a TOS/Diffserv value to mark peer hits (siblings and parent). Default: 0 (disabled) |
zph_tos_parent (on|off) |
Set this to off if you want only sibling hits to be marked. |
zph_preserve_miss_tos on (on|off) |
If set to on (default), any HTTP response towards clients will
have the TOS value of the response comming from the remote
server, masked with the value of zph_preserve_miss_tos_mask.
For this to work correctly, you will need to patch your linux
kernel with the TOS preserving ZPH patch. |
zph_preserve_miss_tos_mask (0-255) |
Allows you to mask certain bits in the TOS received from the
remote server, before copying the value to the TOS send towards
clients. |