[Click] ToSimDump patch
Eddie Kohler
kohler at cs.ucla.edu
Wed Jan 11 13:29:26 EST 2006
Applied, thanks!
E
On Jan 11, 2006, at 5:18 AM, Bart Braem wrote:
> Hello,
>
> Currently ToSimDump does not support passing through packets with
> unknown
> types. This is necessary if you want to do Mac development inside
> Click. It
> can be patched as follows:
> if (!encap_type || encap_type == "ETHER")
> _encap_type = SIMCLICK_PTYPE_ETHER;
> else if (encap_type == "UNKNOWN")
> _encap_type = SIMCLICK_PTYPE_UNKNOWN;
> else if (encap_type == "IP")
> _encap_type = SIMCLICK_PTYPE_IP;
> Everything is in the ns and Click sources, this should work out of
> the box. I
> did not yet check this on ClickCVS/ns-2.29 but most probably it
> works...
>
> Bart
> --
> Bart Braem
> PATS research group
> Dept. of Mathematics and Computer Sciences
> University of Antwerp
> G2.36, Building G
> Middelheimlaan 1
> 2020 Antwerpen, Belgium
> Phone: +32 (0)3 265.35.19.
> Fax: +32 (0)3 265.37.77.
> Web: www.pats.ua.ac.be
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list