On Wednesday 26 June 2002 02:47 pm, John Tyner wrote: > > would like to store that address in memory somehow so that each > > time a packet is sent through my custom target I can use that base > > address in the target() function instead of having to re-discover > > the address every time the function is called. > > Why can't you do: > > void *foo_base; > > void init_module( void ) { > foo_base = find_foo_device(); > } > That seems to be just what I was looking for! Thanks, -Jeremy -- ------------------ Jeremy C. Andrus http://www.jeremya.com/ ------------------ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/