> Yann
> if your plugin allocates for instance a "struct your_plugin_data" and sets
the
> pointer into parse_buffer.mem and the length into parse_buffer.mem_len,
> your userspace application should do something like this for each received
> packet:
> 
> if(header->extended_hdr.parsed_pkt.last_matched_plugin_id ==
> YOUR_PLUGIN_ID) {
>    struct your_plugin_data *data = (struct your_plugin_data*) buffer;

So the usual packet data will be at buffer+mem_len ?

Yann

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to