Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2010 12:56:29 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        Luigi Rizzo <luigi@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys
Message-ID:  <AANLkTinpfy-V79k0mgezJV6QpuUWMG3uOZ0hTY2tN4Rf@mail.gmail.com>
In-Reply-To: <201011121302.oACD2Qjt009385@svn.freebsd.org>
References:  <201011121302.oACD2Qjt009385@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 November 2010 14:02, Luigi Rizzo <luigi@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:
> =C2=A0This commit implements the SO_USER_COOKIE socket option, which lets
> =C2=A0you tag a socket with an uint32_t value. The cookie can then be
> =C2=A0used by the kernel for various purposes, e.g. setting the skipto
> =C2=A0rule or pipe number in ipfw (this is the reason SO_USER_COOKIE has
> =C2=A0been implemented; however there is nothing ipfw-specific in its
> =C2=A0implementation).

While at it, why not intptr_t? It would be marginally more useful and
almost free.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinpfy-V79k0mgezJV6QpuUWMG3uOZ0hTY2tN4Rf>