ipoque_detection_process_packet method?

106 views
Skip to first unread message

Kevin

unread,
Dec 13, 2011, 11:13:40 PM12/13/11
to opendpi
Hello -

Is the source code for the method, whose function prototype is
declared in ipq_public_functions.h, open-source and available?

I ask because I'd like to learn how to write an opendpi C file that
processes packets that include select words in the IP data layer. The
below method only appears to inspect a packet based on the packet's
header.

>#begin ubuntu CLI
>opendpi-1.3.0/opendpi-read-only/src/include/ipq_public_functions.h:

unsigned int
ipoque_detection_process_packet(struct
ipoque_detection_module_struct
*ipoque_struct, void *flow,
const unsigned char *packet,
const unsigned short packetlen,
const IPOQUE_TIMESTAMP_COUNTER_SIZE current_tick, void *src,
void *dst);

----

Please advise me.

Thanks
K

Ralf Hoffmann

unread,
Dec 14, 2011, 3:26:56 AM12/14/11
to ope...@googlegroups.com
Hi Kevin,

Of course this function is available, you can find this somewhere in
src/lib/ipq_main.c.

Best Regards,

Ralf

--
Ralf Hoffmann | DPI | ipoque
Neumarkt 29-33 | 04107 Leipzig | Germany
phone +49-341-59 40 30 | fax +49-341-59 40 30 19
web www.ipoque.com
trade register Amtsgericht Leipzig HRB21462
Gesellschaft mit beschr�nkter Haftung (GmbH)
board Hendrik Schulze, Markus Ziegler

ipoque Executive Blog at http://blog.ipoque.com

Reply all
Reply to author
Forward
0 new messages