libnetfilter_queue : Parsing payload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am using the example in the library's git repo.

1. Do I need to copy the payload to another buffer? I saw a few
examples (using the deprecated API) that use pktb_alloc to allocate
memory and then copy payload to it.

2. How do I parse the payload? Let's say the IP and TCP headers. Can I
use the nfq_ip_get_hdr helper function or is it deprecated too?

Thanks,
psyspy



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux