Accessing packet marking functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am considering patching Squid proxy so that it retains a packet's mark
value if it could not be fetched from the cache. Squid already has
similar functionality for the TOS field, but I would like to extend this
to netfilter's mark feature.

Can somebody point me in the right direction for the correct way of
setting and accessing the mark value of a packet? The TOS feature in
Squid uses setsockopt(). Is there an equivalent for mark? Should I be
using libnetfilter_queue?

Thanks in advance,

Andy


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux