Subject: How to grab a block of binary data w/out using ioctls?

From: Ben Greear <[email-masked]>
Date: Mon, 23 Oct 2006 17:44:24 -0700

Since IOCTLs are out of favor these days, what would be
a preferred way to get a block of binary data out of the
kernel?

I just want to grab a stats structure (well-aligned 32 and 64-bit counters
and fixed-length strings) for a pktgen interface.

Can you do this with seq-files somehow?

Thanks,
Ben

-- 
Ben Greear <[email-masked]>
Candela Technologies Inc  http://www.candelatech.com