[Click] Hash Maps

Eddie Kohler kohler at cs.ucla.edu
Wed Feb 22 02:28:38 EST 2006


Hi Ramanathan,

I can't see what problems you might be having.  Lots and lots and lots of 
Click source files #include <click/bighashmap.cc>:

./tcpudp/iprewriter.cc:525:#include <click/bighashmap.cc>
./tcpudp/tcprewriter.cc:504:#include <click/bighashmap.cc>
./tcpudp/snooptcp.cc:621:#include <click/hashmap.cc>
./icmp/icmppingrewriter.cc:322:#include <click/bighashmap.cc>
./analysis/aggregateipflows.cc:598:#include <click/bighashmap.cc>
./analysis/aggregateipaddrpair.cc:197:#include <click/bighashmap.cc>
./analysis/fromtcpdump.cc:677:#include <click/bighashmap.cc>
./ip/ipaddrrewriter.cc:261:#include <click/bighashmap.cc>
./ip/iprw.cc:707:#include <click/bighashmap.cc>
./ip/rfc2507c.cc:259:#include <click/hashmap.cc>
./ip/ipaddrpairrewriter.cc:248:#include <click/bighashmap.cc>
./ip6/addresstranslator.cc:792:#include <click/bighashmap.cc>
./etherswitch/etherswitch.cc:122:#include <click/hashmap.cc>
./grid/linktracker.cc:340:#include <click/bighashmap.cc>
./grid/locqueryresponder.cc:150:#include <click/bighashmap.cc>
./grid/dsdvroutetable.cc:1679:#include <click/bighashmap.cc>
./grid/linkstat.cc:495:#include <click/bighashmap.cc>
./grid/floodinglocquerier.cc:424:#include <click/bighashmap.cc>
./grid/dsrarptable.cc:297:#include <click/bighashmap.cc>
./grid/updateroutes.cc:585:#include <click/bighashmap.cc>
./grid/simplelocquerier.cc:125:#include <click/bighashmap.cc>
./grid/dsrroutetable.cc:1976:#include <click/bighashmap.cc>
./grid/loctable.cc:130:#include <click/bighashmap.cc>
./grid/gridroutetable.cc:1624:#include <click/bighashmap.cc>
./test/bhmtest.cc:457:#include <click/bighashmap.cc>


And there are many others.  So what's going wrong?
Eddie


Ramanathan Palaniappan wrote:
> Hi,
> 
> I am trying to use the hash table implementation (hashmap) that comes along
> with click. But I find that click does not compile "bighashmap.cc" (into
> bighashmap.o) as part of the library. So, If i want to use hash tables in
> multiple files, how can I use it  ? Including bighashmap.cc in multiple
> files creates problems...
> 
> Thanks,
> Ramanathan
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list