Hi Italo, By default in userlevel using FromDevice the kernel will also process the packets. However there is a workaround using the following FromDevice config parameter:
*SNIFFER*Boolean. Specifies whether FromDevice<http://read.cs.ucla.edu/click/elements/fromdevice> should run in sniffer mode. In non-sniffer mode, FromDevice<http://read.cs.ucla.edu/click/elements/fromdevice> installs KernelFilter <http://read.cs.ucla.edu/click/elements/kernelfilter> filtering rules to block the kernel from handling any packets arriving on device DEVNAME. Default is true (sniffer mode). So setting SNIFFER to false will block the kernel from handling packets as well. Beyers On Fri, Aug 20, 2010 at 3:20 AM, Italo Valcy <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Guys, > > I'm starting to use Click and I have a simple doubt: When I use Click in > userlevel the packages are still handled by the Linux kernel? I could > not find this information in the documentation, but only in the click > examples: > > - --------- click-1.8.0/conf/test-device.click ----------------- > .... > // If you run this inside the kernel, your kernel's ordinary IP stack > // will stop getting packets from eth0. > ... > - --------------------------------------------------------------- > > In other words, when I use Click in userlevel and I run 'click > ./conf/test-device.click' should my IP stack stop to getting packages > from the interface? > > Sorry if anyone already ask for this here, but I'm new in this mailing > list. Please let me know about. > > Thanks for any help. > > Kind Regards, Italo. > > > - -- > Saudações, > > Italo Valcy :: http://wiki.dcc.ufba.br/~ItaloValcy > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkxt2HoACgkQfidLqjN6RNG2xwCfR3zYBiMASOdvLkKtJP1D43Fi > z34AmwQl+wAuzcgHaXBzy1cZrMnEYxN3 > =rlp3 > -----END PGP SIGNATURE----- > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
