[Click] small help
Eddie Kohler
kohler at cs.ucla.edu
Mon Apr 3 03:10:34 EDT 2006
Hi,
Your code assigns "ip :: Strip"'s 0th output twice. You meant to send the
output of GetIPAddress into the Classifier, but you didn't. Try this instead
for the declaration of the Strip...GetIPAddress path:
> ip :: { input -> Strip(14)
> -> CheckIPHeader(...)
> -> GetIPAddress(...) -> output };
Eddie
>
> FromDevice(eth2) -> ip;
> FromDevice(eth1) ->ip;
>
> ip -> classifier(...,
> -)
> .....
>
> The code is complaining about:
> strip output 0 not used,
> ip reused.
>
> can you help me with adding another FromDevice please.
>
>
> On 09/03/06, Eddie Kohler <kohler at cs.ucla.edu> wrote:
> Did you make install
>
>
> Lesedi wrote:
> > Hello,
> >
> > Thank you it worked.It was because of the .cpp. now I can see the
> > element in the userlevel/elements.conf.
> >
> > The problem now is when I try to use Loss the element I created it
> says
> > Loss is not declared,but I have done the
> >
> > EXPORT_ELEMENT(Loss) in the .cc code
> >
> >
> >
> > On 08/03/06, *Eddie Kohler* <kohler at cs.ucla.edu
> > <mailto:kohler at cs.ucla.edu>> wrote:
> >
> > On Mar 8, 2006, at 9:32 AM, Lesedi wrote:
> >
> > > - .ccp & .hh files in element/local
> >
> > Did you name the file .ccp or .cc? Only .cc will work.
> >
> > > - run ./configure enable-local
> >
> > Did you give "enable-local" or "--enable-local"? Note the
> dashes.
> > Only dashes will work.
> >
> > E
> >
> >
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list