netdev
[Top] [All Lists]

Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6)

To: maxiu@xxxxxxxxxxxxx
Subject: Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6)
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Thu, 13 Mar 2003 00:33:41 +0900 (JST)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.44.0303121348470.23508-100000@xxxxxxxxxxxxxxxxxx>
Organization: USAGI Project
References: <20030312.213903.04850857.yoshfuji@xxxxxxxxxxxxxx> <Pine.GSO.4.44.0303121348470.23508-100000@xxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
In article <Pine.GSO.4.44.0303121348470.23508-100000@xxxxxxxxxxxxxxxxxx> (at 
Wed, 12 Mar 2003 13:51:53 +0100 (CET)), Marcin Kaminski <maxiu@xxxxxxxxxxxxx> 
says:

> Is there simplier method of obtaining source and destaination address of
> icmp packet (the only informations I need from ipv6 header) than setting
> IPV6_PKTINFO and receiving them with recvmsg?

No; recvmsg() and IPV6_PKTINFO socket options is the SIMPLE way for 
obtaining source and destination address.

--yoshfuji

<Prev in Thread] Current Thread [Next in Thread>