Re: Accessing packet marking functions

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

 



On Saturday 2010-06-19 18:42, Andrew Beverley wrote:

>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?

setsockopt(fd, SOL_SOCKET, SO_MARK, ...)
--
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