About your protocol, give a look at the roofnet package in click-packages. It implements a source routing protocol with an header that is quite similar to the one you are describing. If I'm not mistaken there is also a DSR implementation for click.
R. On 31/08/2011 14:52, liang jiao wrote: > Hi,all, > I want to experiment source route with click, that is, I need to > write a list of addresses to IP header options. I hope each packet will be > forwarded according to the list of addresses in the IP header options. I > want to kown if click may implement source route or not. In addition, I am > study a network protocol named AR, this protocol's header includes seven > parts, the first part is type of this protocol, the second part is protocol > version, the third part is length of header, the forth part is next-as, > next-as is offset pointing to next-hop, the fifth part is doffset pointing > to data, the sixth part stores a list of addresses, one of addresses is > pointed by offset, the seventh part stores data. > a router receivering a message will judge this message is IP or AR > packet. if this message is a AR packet, this router modifies offset and > point to a new address included in address area in AR header, or a new AR > header will be added to this IP packet. > I have no idea how to use click to implement this protocol, I really > hope someone may help me with this problem. all suggestions are wellcom. > Best wishes, > messi > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click -- -------------------------------------------------------- Roberto Riggio, Ph.D. CREATE-NET Network & Security Solutions for Pervasive Computing Systems (iNSPIRE) Senior Researcher Via alla Cascata 56/D - 38123 Povo Trento (Italy) e-mail: [email protected] Tel: (+39) 0461 408400 - interno/extension 708 Fax: (+39) 0461 421157 www.create-net.org/~rriggio -------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited according to the Italian Law 196/2003 of the Legislature. If you received this in error, please contact the sender and delete the material from any computer. Le informazioni contenute in questo messaggio di posta elettronica e nei file allegati sono da considerarsi strettamente riservate. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalita' indicate nel messaggio stesso. Qualora riceveste questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla cancellazione del messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalita' diverse, costituisce comportamento contrario ai principi dettati dal D. Lgs. 196/2003. _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
