[Click] FromDump restart

Eddie Kohler kohler at cs.ucla.edu
Thu Nov 29 16:05:57 EST 2007


There is no way to connect to globally scoped element declarations from inside 
an ElementClass.

(You can refer to global elements inside configuration strings, however.)

Eddie



Robert Ross wrote:
>  
> Is it possible to reference globally scoped element declarations from
> inside an ElementClass?
> 
> For example:
> 
> ------------------------------------------
> 
> drop_dump :: TopDump(dump.pcap, SNAPLEN 0);
> 
> Elementclass test {
> 	input -> drop_dump -> output;
> };
> 
> ------------------------------------------
> 
> This throws an error indicating that "drop_dump" is an unknown element.
> 
> Robert Ross
> DSCI Inc.
> 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list