netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Octavian Purdila <opurdila@ixiacom.com>
To: "Rémi Denis-Courmont" <rdenis@simphalempin.com>
Cc: netdev@vger.kernel.org
Subject: Re: question regarding (AF_INET6, SOCK_RAW, IPPROTO_RAW) sockets
Date: Thu, 13 Mar 2008 01:02:02 +0200	[thread overview]
Message-ID: <200803130102.02366.opurdila@ixiacom.com> (raw)
In-Reply-To: <200803122006.49506.rdenis@simphalempin.com>

On Wednesday 12 March 2008, Rémi Denis-Courmont wrote:

>
> I am a bit confused here. Why would you use IPV6_PKTINFO with a
> network-layer raw socket? You have to write the IPv6 header anyway, so what
> useful additional infos would you the ancillary data contain?


Hi Rémi,

You are right. For some reason (the IPV4 case / man 7 raw) I though that 
IPV6_PKTINFO is implied when using IPPROTO_RAW but I see now that it is not 
required.

Thanks,
tavi

      reply	other threads:[~2008-03-12 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12 16:34 question regarding (AF_INET6, SOCK_RAW, IPPROTO_RAW) sockets Octavian Purdila
2008-03-12 18:06 ` Rémi Denis-Courmont
2008-03-12 23:02   ` Octavian Purdila [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=200803130102.02366.opurdila@ixiacom.com \
    --to=opurdila@ixiacom.com \
    --cc=netdev@vger.kernel.org \
    --cc=rdenis@simphalempin.com \
    /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;
as well as URLs for NNTP newsgroup(s).