[Click] Click defines in ns3

Lalith Suresh suresh.lalith at gmail.com
Mon Jan 21 07:07:05 EST 2013


Hi Sascha,

On Mon, Jan 21, 2013 at 12:30 PM, Sascha Alexander Jopen
<jopen at informatik.uni-bonn.de> wrote:
> Hi again,
>
> Both for userlevel and linuxmodule click drivers, it is possible to set
> defines for the click configurations with commandline options. The
> attached patchset adds this ability to the ns3 click driver, too. It is
> possible to set the defines for each click node within ns3 by
>
> Ipv4ClickRouting::SetDefines (std::map<std::string, std::string> defines);
>
> with defines being a key/value mapping for the defines to be set.
>
> click-ns3-defines.diff is a small patch for click side, adding a new
> function to create a click node instance with defines set.
>
> ns3-nsclick-defines.diff adds support to the ns3 simulator side.
>
> ns2 should still run without modification. It simply doesn't use the new
> function, until someone provides a patch.
>
> If this extension is interesting to you, please review the patch and
> apply it if its ok.
>

Thanks for the two sets of patches. I'll give them a spin by tomorrow
and get back to you.

> Regards,
> Sascha
>
> --
> Dipl.-Inform. Sascha Jopen
>
> University of Bonn                     Tel.:   +49-228-73-54219
> Institute of Computer Science 4        Fax:    +49-228-73-4571
> Friedrich-Ebert-Allee 144              E-mail: jopen at cs.uni-bonn.de
> D-53113 Bonn, Germany
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



-- 
Lalith Suresh
www.lalith.in


More information about the click mailing list