Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6)
From: Marcin Kaminski <hidden>
Date: 2003-03-12 12:51:53
From: Marcin Kaminski <hidden>
Date: 2003-03-12 12:51:53
On Wed, 12 Mar 2003, YOSHIFUJI Hideaki / [iso-2022-jp] $B5HF#1QL@(B wrote:
quoted
What should I do in order to get full packet?There're no portable way to send/receive whole packet including IPv6 header (and possible extension header(s)).
OK. 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?