[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090805.130405.242822698.davem@davemloft.net>
Date: Wed, 05 Aug 2009 13:04:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jengelh@...ozas.de
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] net: implement a SO_PROTOCOL getsockoption
From: Jan Engelhardt <jengelh@...ozas.de>
Date: Tue, 4 Aug 2009 19:28:28 +0200
> Similar to SO_TYPE returning the socket type, SO_PROTOCOL allows to
> retrieve the protocol used with a given socket.
>
> I am not quite sure why we have that-many copies of socket.h, and why
> the values are not the same on all arches either, but for where hex
> numbers dominate, I use 0x1029 for SO_PROTOCOL as that seems to be
> the next free unused number across a bunch of operating systems, or
> so Google results make me want to believe. SO_PROTOCOL for others
> just uses the next free Linux number, 38.
>
> Signed-off-by: Jan Engelhardt <jengelh@...ozas.de>
Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists