kohler / click

The Click modular router: fast modular packet processing and analysis
Other
743 stars 321 forks source link

create handler #497

Open mhrashidi77 opened 3 years ago

mhrashidi77 commented 3 years ago

hello everyone how can i create a handler for my element is there a document?? thanks

tbarbette commented 3 years ago

You can check the explanation in the code at https://github.com/kohler/click/blob/master/lib/element.cc , but the first step is to be proficient with the usage of handlers themselves and Click in general before starting code modification. The wiki is a good starting point for that.

mhrashidi77 commented 3 years ago

My issue is that I want to call a function of my element while the click is running. What is your suggestion? I recently figured out that there is something named LLRPC. Is that better than handler for my purpose?