powell molleti powelllinux at yahoo.com
Thu Jun 6 21:44:41 EDT 2002


Hi,

--- liuzhuty <liuzhuty at sina.com> wrote:
> Hi,
> I am a student of JiLin University at China. I have
> installed the source code of Click. I have some
> questions of Click in linux kernel. I want to know
> how it is realized as a kernel thread, and if I want
> to know it which files of the source code should be
> read.

click is compiled to a kernelmodule. The source code
u would want to take a immediate look is

    click/linuxmodule/module.cc
and click/linuxmodule/sched.cc. 

> Another question is about the configuration.
> Why a new routing graph  must be run click-install
> first? And what are the relational files?

well if i got ur write. Click takes a router
configuration to intialise. Please read up the 
documentation especially eddie's thesis. It is a
really
good reading.

click basically consists of many elements. It is
upto u to put together the elements and make any 
sort of router or what ever u want that to do.

So to put together the elements u have to write a
configuration file that is written in click langugae
which is easy to learn. And then u can feed the 
cofiguration file to click using click-install binary.

u can take a look at some sample configuration files
in click/conf directory.

i hope this helps.

cya
powell

> Thanks a lot! 
> ______________________________________
> 
>
===================================================================
> ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
> ÐÂÀË·ÖÀàÐÅÏ¢£º¶þÊÖÊг¡×ßÒ»×ߣ¬¸Ã³öÊÖʱ¾Í³öÊÖ£¡
(http://classad.sina.com.cn/2shou/)


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the click mailing list