nfq_handle_packet - handle a packet received from the nfqueue subsystem
|h ||Netfilter queue connection handle obtained via call to nfq_open() |
|buf ||data to pass to the callback |
|len ||length of packet data in buffer|
Triggers an associated callback for the given packet received from the queue. Packets can be read from the queue using nfq_fd()
and recv(). See example code for nfq_fd()
- 0 on success, non-zero on failure.
Definition at line 523 of file libnetfilter_queue.c.
return nfnl_handle_packet(h->nfnlh, buf, len);