On 12 November 2010 14:02, Luigi Rizzo <lu...@freebsd.org> wrote:
> Author: luigi
> Date: Fri Nov 12 13:02:26 2010
> New Revision: 215178
> URL: http://svn.freebsd.org/changeset/base/215178
>
> Log:
>  This commit implements the SO_USER_COOKIE socket option, which lets
>  you tag a socket with an uint32_t value. The cookie can then be
>  used by the kernel for various purposes, e.g. setting the skipto
>  rule or pipe number in ipfw (this is the reason SO_USER_COOKIE has
>  been implemented; however there is nothing ipfw-specific in its
>  implementation).

While at it, why not intptr_t? It would be marginally more useful and
almost free.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to