libipq thread safety
Hello.
I am writing an application which uses the QUEUE target and am using the libipq library.
I have a question regarding the thread safety of the library: is it possible to do an ipq_read from one thread and an ipq_set_verdict from another? Searching the archive of both netfilter and netfilter-devel yields no definite answers...
Thanks for your help.
Quoted 9 lines · Nir Tzachar
Hello.
I am writing an application which uses the QUEUE target and am using the libipq library.
I have a question regarding the thread safety of the library: is it possible to do an
ipq_readfrom one thread and anipq_set_verdictfrom another? Searching the archive of both netfilter and netfilter-devel yields no definite answers...
It should be. But I'd use nfnetlink_queue, which obsoletes ip_queue.