click configuration file

fkchong fookeongc at yahoo.com
Thu Oct 11 09:43:24 EDT 2001


hi,

thanks for the reply.

sorry to trouble u again. i tried to add element rrudpipencap but
unfortunately the following message i received: -

[root at m1mi003 click-1.2.2]# make install
make[1]: Entering directory `/root/click/click-1.2.2/userlevel'
g++ -Wp,-w -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -DHAVE_CONFIG_
H -I../include -I../
include -I. -I..  -MD -DCLICK_USERLEVEL -g -O2 -c
../elements/tcpudp/rrudpipencap.cc
../elements/tcpudp/rrudpipencap.cc: In method `class Packet *
RoundRobinUDPIPEncap::simple_actio
n(class Packet *)':
../elements/tcpudp/rrudpipencap.cc:140: warning: implicit declaration of
function `int in_cksum(
...)'
../click-buildtool elem2export < elements.conf > elements.cc
g++ -Wp,-w -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -DHAVE_CONFIG_
H -I../include -I../
include -I. -I..  -MD -DCLICK_USERLEVEL -g -O2 -c elements.cc
g++ -Wp,-w -W -Wall -fno-exceptions -fno-rtti -fvtable-thunks -g -O2  -o
click -rdynamic ftpport
mapper.o arpfaker.o arpquerier.o arpresponder.o ensureether.o etherencap.o
ethermirror.o hosteth
erfilter.o checkicmpheader.o icmperror.o icmppingresponder.o
icmppingrewriter.o icmprewriter.o i
cmpsendpings.o checkipheader.o checkipheader2.o decipttl.o fixipsrc.o
getipaddress.o ipaddrrewri
ter.o ipclassifier.o ipencap.o ipfilter.o ipfragmenter.o ipgwoptions.o
ipinputcombo.o ipmirror.o
 ipoutputcombo.o ipprint.o ipratemon.o ipreassembler.o iproutetable.o iprw.o
iprwpatterns.o look
upiproute.o lookupiproute2.o lookupiproutelinux.o markipce.o markipheader.o
radixiplookup.o rfc2
507c.o rfc2507d.o ripsend.o rripmapper.o setipaddress.o setipchecksum.o
setipdscp.o setrandipadd
ress.o storeipaddress.o stripipheader.o unstripipheader.o align.o
averagecounter.o bandwidthmete
r.o bandwidthshaper.o burster.o bwratedsplitter.o bwratedunqueue.o
checkcrc32.o checklength.o ch
eckpaint.o classifier.o compblock.o counter.o delayshaper.o delayunqueue.o
devirtualizeinfo.o di
scard.o discardnofree.o dropbroadcasts.o drr.o frontdropqueue.o hashswitch.o
idle.o infinitesour
ce.o meter.o msqueue.o nullelement.o nulls.o paint.o painttee.o
peekhandlers.o pokehandlers.o pr
int.o priosched.o probsplitter.o pullswitch.o queue.o quitwatcher.o
randomerror.o randomlossage.
o randomsource.o ratedsource.o ratedsplitter.o ratedunqueue.o red.o
rrsched.o rrswitch.o setcrc3
2.o setpackettype.o settimestamp.o shaper.o spinlockacquire.o spinlockinfo.o
spinlockrelease.o s
taticpullswitch.o staticswitch.o stridesched.o strideswitch.o strip.o
suppressor.o switch.o tee.
o timedsink.o timedsource.o unqueue.o unqueue2.o unstrip.o checktcpheader.o
checkudpheader.o dyn
udpipencap.o iprewriter.o rrudpipencap.o settcpchecksum.o tcprewriter.o
udpipencap.o chattersock
et.o controlsocket.o fromdevice.o fromdump.o handlerproxy.o kerneltap.o
khandlerproxy.o printold
.o todevice.o todump.o  elements.o click.o libclick.a
`../click-compile --libs`
rrudpipencap.o: In function `RoundRobinUDPIPEncap::simple_action(Packet *)':
/root/click/click-1.2.2/userlevel/../elements/tcpudp/rrudpipencap.cc:140:
undefined reference to
 `in_cksum'
/root/click/click-1.2.2/userlevel/../elements/tcpudp/rrudpipencap.cc:154:
undefined reference to
 `in_cksum'
make[1]: *** [click] Error 1
make[1]: Leaving directory `/root/click/click-1.2.2/userlevel'
make: *** [install] Error 1

----- Original Message -----
From: "Eddie Kohler" <kohler at aciri.org>
To: "fkchong" <fkchong at tm.net.my>
Cc: <click at amsterdam.lcs.mit.edu>
Sent: Wednesday, October 10, 2001 10:52 PM
Subject: Re: click configuration file


> Hi,
>
> The CycleCount and StoreCycles elements are obsolete. Try this instead:
>
> ...
> is -> udpgen ->
> SetCycleCount ->
> rm :: IPRateMonitor(PACKETS, 0, 1, 0, <MEM_LIMIT>) ->
> st :: CycleCountAccum ->
> co :: Counter -> Discard;
>
> As for RoundRobinUDPIPEncap, I've attached rrudpipencap.{cc,hh}. Drop
these
> files in your 'elements/tcpudp' directory, run 'make elemlist', and you
> should be ready to go. Let us know if you have any other problems!
>
> love,
> ed
>
> p.s.
>
> > for your information i have tried to contact the MULTOPS
> > author but fail.
>
> Bad Thomer!
>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the click mailing list