[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00611) Re: Problem with the Hop limit with raw sockets



In article <1359791339f7.1339f7135979@xxxxxxxxxxx> (at Wed, 04 Jul 2001 10:16:47 +0200), SUPERJFG <SUPERJFG@xxxxxxxx> says:

>      I've got a problem when trying to get the incoming packets hop 
> limit in a raw socket. I've set the hop limit reception to true, but it 
> only works when the raw socket is bound to the UDP protocol. When 
> trying another protocol (TCP, ICMPv6...) I can't get it. I always get 
> zero, while I can see through the tcpdump utility that the hop limit is 
> not zero. Someone can help me??

Please describe your environment (USAGI version, etc.), 
and show your exact code for testing and result.

I believe you can receive hoplimit on ICMPv6 socket at least;
ping6 etc. uses this API.

--yoshfuji