On Mon, Aug 23, 2010 at 02:59:45PM -0500, Christoph Lameter wrote: > On Mon, 23 Aug 2010, Jason Gunthorpe wrote: > > > Simplest then is to check if byte 24 of the packet is 0xff. > > (ie IN6_IS_ADDR_MULTICAST) > > Dont see that function defined anywhere in the kernel.
That is what userspace calls it.. How about ipv6_addr_type(((ipv6hdr *)skb->head)->daddr) & IPV6_ADDR_MULTICAST There are 32 occurrences of 'skb->head' in drivers/net.. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html