include skbuff.h in userspace?

From: wdebruij
Date: Tue Mar 02 2004 - 05:17:23 EST


does anyone know whether it is at all possible to access sk_buff structures from
userspace? A simple

#include <linux/skbuff.h>

brings up way too many declaration conflicts between libc headerfiles and linux
headerfiles.

The reason I need this is that I've memory mapped complete sk_buffs into
userspace for a more efficient network monitoring platform (than bpf+libpcap).

Thanks,

Willem de Bruijn
ffpf.sourceforge.net


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/