Re: Click defines in ns3

Eddie Kohler <[email protected]> Wed, 23 Jan 2013 10:46:48 -0500
Newsgroups gmane.network.routing.click
Message-ID <CAF0C5SJR56kdNazV639WRAVPOdRxq0GJ2dbLGyO9enQF8T_chw@mail.gmail.com>
Hey,

I'm always bummed out by API changes that require people to keep two
packages precisely up to date and will therefore request some changes.

(1) Add a new SIMCLICK comamnd constant, SIMCLICK_DEFINE or
SIMCLICK_CREATE_DEFINE, your choice.
(2) Change simclick_click_command so that SIMCLICK_SUPPORTS reports
true for SIMCLICK_DEFINE
(3) Implement definition support via SIMCLICK_DEFINE, which will
require changes to click and to ns.

Make sense?
Eddie


On Wed, Jan 23, 2013 at 6:56 AM, Sascha Alexander Jopen
<[email protected]> wrote:
> Hi,
>
> i think this has nothing to do with the Click defines patchset. Please
> use a new thread for your questions.
>
> How packet processing is done in your application depends on the type
> and format of your packets. There are standard elements in click to deal
> with Ethernet or IP packets, for example. See
> http://read.cs.ucla.edu/click/elements
> For processing of application layer data, you have to write your own
> elements. See http://www.read.cs.ucla.edu/gitweb?p=click;a=blob;f=FAQ
> and http://www.read.cs.ucla.edu/click/learning
>
> Regards,
> Sascha
>
> On 23.01.2013 11:46, karthick m wrote:
>> Hi sascha,
>>
>>             I am implementing my own publish subscribe architecture using
>> click router. For that i need to work on packets. Say a publisher is
>> sending a publish packet, i have to see the packet data and process packet
>> according to the data and route it.  The problem is that, i do not find any
>> element which does packet processing for example. Could you please give me
>> a pointer to it. Thanks in advance.
>>
>
>
> --
> 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: [email protected]
> D-53113 Bonn, Germany
> _______________________________________________
> click mailing list
> [email protected]
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click