public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <remi.denis-courmont@nokia.com>
To: "ext jpo234@netscape.net" <jpo234@netscape.net>
Cc: herbert@gondor.apana.org.au, netdev@vger.kernel.org
Subject: Re: Sending complete IPv6 packets without bypassing netfilter/IPsec
Date: Fri, 16 Jan 2009 12:56:15 +0200	[thread overview]
Message-ID: <200901161256.15744.remi.denis-courmont@nokia.com> (raw)
In-Reply-To: <8CB45DED3262281-2F30-8C9@webmail-stg-d07.sysops.aol.com>

On Friday 16 January 2009 12:46:30 ext jpo234@netscape.net, you wrote:
> Herbert,
> sorry for bothering you (and everybody else on the list) again. It
> seems that the stack does not replace a "::" source address with a real
> one when using a PF_INET6/SOCK_RAW/IPPROTO_RAW socket the way it does
> with an IP_HDRINCL IPv4 socket for "0.0.0.0". Do I have to fill this
> one myself

Yes. That's the _whole_ point of writing the header yourself.

> or is there another trick to achieve this?

Use transport-layer raw sockets and let the kernel do the network header.

-- 
Rémi Denis-Courmont
Maemo Software, Nokia Devices R&D


  reply	other threads:[~2009-01-16 10:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 13:15 Sending complete IPv6 packets without bypassing netfilter/IPsec jpo234
2009-01-15 23:54 ` Herbert Xu
2009-01-16  5:48   ` jpo234
2009-01-16  6:48     ` Herbert Xu
2009-01-16 10:28       ` jpo234
2009-01-16 10:46       ` jpo234
2009-01-16 10:56         ` Rémi Denis-Courmont [this message]
2009-01-16 11:12           ` jpo234
2009-01-16 14:09             ` Rémi Denis-Courmont
2009-01-16 14:54               ` jpo234
2009-01-16 12:18 ` Andi Kleen
2009-01-16 12:48   ` jpo234

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=200901161256.15744.remi.denis-courmont@nokia.com \
    --to=remi.denis-courmont@nokia.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jpo234@netscape.net \
    --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