[Click] Creating IP packets inside an element!!

Roman Chertov rchertov at purdue.edu
Wed Jul 2 13:31:09 EDT 2008


Miguel Naranjo wrote:
> Hello All,
> 
> I have an element with the IP source, IP destination, MAC source, and 
> MAC destination. What is the easiest way to create a packet with valid 
> headers in the way that EtherEncap and IPEncap do it from my element? Do 
> I need to set all the fields of the IP header manually for example?

Take a look at FastUDPSrc element for reference.

Roman

> 
> 
> Thanks and Regards,
> 
> Miguel Naranjo
> MSc Data Communications, Networks and Distributed Systems
> University College London.
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 



More information about the click mailing list