write handler and global symbol table
powell molleti
powelllinux at yahoo.com
Wed Jan 16 11:16:35 EST 2002
Hi all,
how does a write_handler work.
When one adds a write_handler a proc entry comes up.
so one has to echo something to that entry.
ok that entry comes up as thunk? the string?
when i do
echo "1" > /proc/click/myelement/mywritehandler
i get the (int)thunk as zero.
and (char *)thunk as NULL?
could someone please through some light on
write_handlers , no documentation in the doc
for this method :(.
And when click module is insmoded can the
entry in the global symbol entry be use by
any part of the kernel? to call that function.
like can i call run_schedule method of
a element from the kernel?. sorry this may
sound stupid or strange but i just had a thought
if one can accomplish this.
Thanks
cya
Powell
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
More information about the click
mailing list