[Click] Help! - Logging packets to /proc
rchertov@purdue.edu
rchertov at purdue.edu
Thu Nov 23 16:40:16 EST 2006
I have created two device drivers that are integrated with Click. One allows a
user level app to write raw IP packets to Click, and the other one allows a user
level app to read raw IP packets out of click. (i.e. read from /dev/touserX or
write to /dev/toclickX) Both drivers just maintain two circular buffers and are
thread safe. If there is interest in these I can release them.
Roman
> Hi all,
>
> I am using a Click router configuration in kernel mode.
> I want to add an element that logs packets in /proc. I tried using
> read_handler function (add_read_handler), but that is static and hence
> can't be used by multiple element instances.
> Should I add /proc handling code to the element or is there any way to
> use an existing Click interface to do the same?
>
> Regards,
> Praveen
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list