Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jengelh@medozas.de
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/2] net: implement a SO_PROTOCOL getsockoption
Date: Wed, 05 Aug 2009 13:04:05 -0700 (PDT)	[thread overview]
Message-ID: <20090805.130405.242822698.davem@davemloft.net> (raw)
In-Reply-To: <1249406909-24161-1-git-send-email-jengelh@medozas.de>

From: Jan Engelhardt <jengelh@medozas.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@medozas.de>

Applied to net-next-2.6


      parent reply	other threads:[~2009-08-05 20:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 17:28 [PATCH 1/2] net: implement a SO_PROTOCOL getsockoption Jan Engelhardt
2009-08-04 17:28 ` [PATCH 2/2] net: implement a SO_DOMAIN getsockoption Jan Engelhardt
2009-08-05 20:04   ` David Miller
2009-08-05  6:35 ` [PATCH 1/2] net: implement a SO_PROTOCOL getsockoption Rémi Denis-Courmont
2009-08-05  8:45   ` Jan Engelhardt
2009-08-05  9:28     ` Rémi Denis-Courmont
2009-08-05 20:04 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090805.130405.242822698.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jengelh@medozas.de \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox