librelist archives

« back to archive

[click] how to create packets just for test my own element?

[click] how to create packets just for test my own element?

From:
zT
Date:
2015-01-15 @ 12:31
hello click members, i want to test my new element for this purpose. i need
test it on packet how can i do this?

Re: [click] how to create packets just for test my own element?

From:
Bro, Lars
Date:
2015-01-15 @ 14:04
Hi,

For example

RatedSource() -> your_element() -> Discard();

If you need for example UDP/IP packets:

RatedSource() -> UDPIPEncap(src, port, dst, dport) -> your_element() -> 
Discard() ;



From: click@librelist.com [mailto:click@librelist.com] On Behalf Of zT
Sent: 15. januar 2015 13:32
To: click@librelist.com
Subject: [click] how to create packets just for test my own element?

hello click members, i want to test my new element for this purpose. i 
need test it on packet how can i do this?

Re: [click] how to create packets just for test my own element?

From:
zT
Date:
2015-01-15 @ 15:06
tnx , when i do this this error appear: undeclared element
but my element is in list of userlevel list , what's the problem??

On Thu, Jan 15, 2015 at 5:34 PM, Bro, Lars <lars.bro@siemens.com> wrote:

>  Hi,
>
>
>
> For example
>
>
>
> RatedSource() -> your_element() -> Discard();
>
>
>
> If you need for example UDP/IP packets:
>
>
>
> RatedSource() -> UDPIPEncap(src, port, dst, dport) -> your_element() ->
> Discard() ;
>
>
>
>
>
>
>
> *From:* click@librelist.com [mailto:click@librelist.com] *On Behalf Of *zT
> *Sent:* 15. januar 2015 13:32
> *To:* click@librelist.com
> *Subject:* [click] how to create packets just for test my own element?
>
>
>
> hello click members, i want to test my new element for this purpose. i
> need test it on packet how can i do this?
>
>
>