You can try lipipq
http://linux.die.net/man/3/libipq

Regards,
Sankalp.