[Click] Dynamic use of UDPIPEncap
Eddie Kohler
kohler at cs.ucla.edu
Tue Oct 26 02:42:22 EDT 2004
Bart Braem wrote:
> Dear list,
>
> I am having difficulties to find an easy to way to use UDPIPEncap in a dynamic
> way. You see, I don't always have the same destination for my packets, so I
> need to be able to quickly add a "dynamic" UDP and IP header.
> (Most probably only the IP header but I don't want to rewrite UDP
> encapsulation code if it already exists, tested and well)
> What solution do you use when doing UDP/IP encapsulation to dynamically
> changing destinations? I did consider using handlers but I'm afraid of
> concurrency problems...
> Live reconfiguration will suffer from the same problem I guess, but I can't
> find any real documentation on that anyway.
Hi Bart,
man DynamicUDPIPEncap for an example of this. It sounds like you have special
semantics in mind; why not write your own element? You can use
[Dynamic]UDPIPEncap as a model, of course.
Eddie
>
> Thanks for your help,
> Bart
More information about the click
mailing list