[Click] File operations in Click

Jelena Mirkovic mirkovic at ISI.EDU
Wed Jul 16 21:04:07 EDT 2008


I've been trying to write a kernel module in Click that reads address  
info from a file, then manipulates (drops or forwards) packets for  
the specified addresses. I've had problems with using fopen -  
basically click-install informs me that fopen is unknown symbol even  
though I've included stdio.h in my file. I seem to remember Linux  
kernel has a problem manipulating files. Is there an easy way to open  
and read a file from a Click kernel module?

Thanks
-------------------------------------
Jelena Mirkovic
Computer Scientist
USC Information Sciences Institute
4676 Admiralty Way, Suite 1001
Marina del Rey, CA 90292
310-448-9170




More information about the click mailing list