Skip to contentSkip to conversation

include skbuff.h in userspace?

DISCUSSION [email protected] 1 participant 1 message Mar 2, 2004

lore
Share & tools
lore
#0 lore raw

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