Hello,
 In the function send_mgr_filter_ip(), when determining the next encapsulated 
IP protocol, your code needs to detect and process IPPROTO_HOPOPTS to discover 
the real next IP protocol.

Such that if( p_ipv6_hdr->NextHeader == IPPROTO_HOPOPTS ), then you need to 
process IPV6_EXTENSION_HEADER(s) to determine the real next protocol via 
p_ext->NextHeader.
See http://en.wikipedia.org/wiki/IPv6_packet.
As the code stands now, in send_mgr_filter_ip(), the switch( prot ) fails as 
IPPROTO_HOPOPTS qualifies as an unsupported protocol.

I found processing the IPv6 extension header(s) when first setting 'prot' a 
convenient location.

stan.
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to