I have different threads reading the netlink messages.
Problem is that some messages should be treated by different threads. Right now, when a thread reads an answer, it reads all messages and other threads don't see the answer to their own request.
What I would like to do is filter the message I read from netlink-hs (by sequence/pid) ?
Another possibility would be to reinject packets in the netlink-hs queue.
Is this something doable or should I restructure my application to be in charge of the dispatching ?
I have different threads reading the netlink messages.
Problem is that some messages should be treated by different threads. Right now, when a thread reads an answer, it reads all messages and other threads don't see the answer to their own request. What I would like to do is filter the message I read from netlink-hs (by sequence/pid) ? Another possibility would be to reinject packets in the netlink-hs queue. Is this something doable or should I restructure my application to be in charge of the dispatching ?