Well, I have absolutely no experience in this area, but I did this:
I found no hint that this library can distinguish between "incoming" and "outgoing" packets, whatever that means. You may wish to study the man page more carefully yourself.
Failing that, just look inside each packet. It has everything you need to know.
Hope this helps.