Thank you sir. I have one more doubt. How can I create a packet with source address and other parameters as packet contents and how do I parse the contents ? Eg: I want to create a packet with data, "10.0.4.1 1001 publish" as entries. I am facing difficulty with that.
I have looked *print.cc *code for parsing the contents and still finding it difficult. Please help me, sir. On Sat, Jan 26, 2013 at 1:17 AM, Eddie Kohler <ekoh...@gmail.com> wrote: > You need to use a routing table such as RadixIPLookup, and then access its > "add" or "set" handlers. For example, if using kernel Click, you might do: > > echo 1.0.0.0/8 1.0.0.1 2 > /click/radix_ip_lookup/add > > See; > http://read.cs.ucla.edu/click/**elements/radixiplookup<http://read.cs.ucla.edu/click/elements/radixiplookup> > > > > On 1/25/13 7:38 AM, Sakshi K wrote: > >> Hi, >> >> I want to add a route in the routing table dynamically. I have read the >> documentation but did not find any function to do that. Please tell me >> how >> can I do the same. >> ______________________________**_________________ >> click mailing list >> click@amsterdam.lcs.mit.edu >> https://amsterdam.lcs.mit.edu/**mailman/listinfo/click<https://amsterdam.lcs.mit.edu/mailman/listinfo/click> >> >> _______________________________________________ click mailing list click@amsterdam.lcs.mit.edu https://amsterdam.lcs.mit.edu/mailman/listinfo/click