netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to grab a block of binary data w/out using ioctls?
@ 2006-10-24  0:44 Ben Greear
  2006-10-24  4:54 ` Randy Dunlap
  2006-10-25 12:51 ` Hagen Paul Pfeifer
  0 siblings, 2 replies; 13+ messages in thread
From: Ben Greear @ 2006-10-24  0:44 UTC (permalink / raw)
  To: NetDev

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 <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-10-25 16:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-24  0:44 How to grab a block of binary data w/out using ioctls? Ben Greear
2006-10-24  4:54 ` Randy Dunlap
2006-10-24  5:00   ` Jeff Garzik
2006-10-24  5:04     ` Randy.Dunlap
2006-10-25  2:25     ` Ben Greear
2006-10-25  2:47       ` Jeff Garzik
2006-10-25  4:35         ` Randy Dunlap
2006-10-25  4:46           ` Jeff Garzik
2006-10-25  4:52             ` Randy.Dunlap
2006-10-25  5:01               ` Jeff Garzik
2006-10-25  5:07                 ` Randy.Dunlap
2006-10-25 16:30             ` Ben Greear
2006-10-25 12:51 ` Hagen Paul Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).