[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03435) Re: setsockopt for IPv6 on Fedora Core 2?
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 03435) Re: setsockopt for IPv6 on Fedora Core 2?
- From: Patrick Lam <allmailinglist@xxxxxxxxx>
- Date: Thu, 30 Jun 2005 02:03:16 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lktH2A7YWVigl9NYf/r3+2t6bqTGkNzbuwE9ljuXBSd9K/swFLxuHGBV1GAbm8KF86zPMU+uqdyxv4zA1eLZwTm6FPvr2FC50xQURt1L5J34pSVBlYz3AjDbzR1L02jEPM9Ka3Jd1QhGf1X/DnQxrL5mEH1HXkkQmihPVoLnKFo= ;
- In-reply-to: <OF23ABAA73.1D3480AB-ON88257023.0078FA5F-88257023.007A2C66@us.ibm.com>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Hi David,
Thanks very much for your detailed response.
I have just installed FC4 and found that the IPv6 part
of the kernel is quite difference than the one in 2.4.
Would this (2.6) be a closer implementation to RFC
3542?
Regarding the example on sendmsg(), I think I should
modifiy the codes provided in section 21.2 of RFC
3542, right? I guess the the codes given in 22.1 is
not useable yet ...
Regards,
Patrick
--- David Stevens <dlstevens@xxxxxxxxxx> wrote:
> Patrick,
> Those are utility functions to make it
> easier to construct
> options, but aren't needed (they would be part of
> glibc, not in the
> kernel).
> Your application just needs to pass well-formed data
> to sendmsg(),
> whether you construct it using inet6_opt_* functions
> or not.
> I'm currently working on RFC 3542 (Advanced
> Sockets API)
> compliance, and others may be too, so I think it's
> safe to say this area
> is "work in progress" right now.
> To receive hop options, you can use the
> "IPV6_HOPOPTS"
> boolean (set it to 1). In the new RFC, this becomes
> IPV6_RECVHOPTS,
> so your code will be different as the work
> progresses.
> To send, you can use the IPV6_HOPOPTS
> cmsg_type in
> ancillary data (in new and old API).
> There are examples, using the new interface,
> in RFC3542,
> but some of that, of course, is not implemented yet.
> Still, it does have
> example code using sendmsg(), if you haven't done
> that before.
>
>
> +-DLS
>
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com