I have done the suggested changes. Thanks for the pointers James. I referred to 
netstat -s statistics and i could see that the counter for 'ipv6InDiscards' 
kept increasing for every v6 packet that i received. It was obvious that the 
packets were dropped. Then with the help of a simple dtrace script i was able 
to locate the reason for packet drop. It nailed down the problem to receiving 
v4 packets in the v6 stream. 
  0  34605                 ip_rput_v6:entry
  0  12075        ip_rput_v6:ipv6InReceives
  0  12073            ip_rput_v6:ipv6InIPv4
  0  12119        ip_rput_v6:ipv6InDiscards
  0  34606                ip_rput_v6:return

As you had already guessed it, it didn't work on s10 ( sending v4 pkt on a v6 
stream ) . However i got the same problem ( packet drop in s9 as well ). Looks 
like s9 doesn't support it either.

Given that this is the problem, how do i communicate between my two filter 
module instances available in two different stacks and thereby send my received 
v6 packet to the v4 stack ( after reconstructing it as a v4 packet ).

Thanks again for your help and useful pointers.
 
 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to