Logo Search packages:      
Sourcecode: libnetfilter-queue version File versions  Download package

int nfq_fd ( struct nfq_handle h )

nfq_fd - get the file descriptor associated with the nfqueue handler

Parameters:
hNetfilter queue connection handle obtained via call to nfq_open()
Returns:
a file descriptor for the netlink connection associated with the given queue connection handle. The file descriptor can then be used for receiving the queued packets for processing.

This function returns a file descriptor that can be used for communication over the netlink connection associated with the given queue connection handle.

Definition at line 248 of file libnetfilter_queue.c.

{
      return nfnl_fd(nfq_nfnlh(h));
}

Generated by  Doxygen 1.6.0   Back to index