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

u_int32_t nfq_get_outdev ( struct nfq_data nfad )

nfq_get_outdev - gets the interface that the packet will be routed out

nfadNetlink packet data handle passed to callback function
The index of the device the queued packet will be sent out. If the returned index is 0, the packet is destined for localhost or the output interface is not yet known (ie. PREROUTING?).

Definition at line 844 of file libnetfilter_queue.c.

Referenced by nfq_get_outdev_name().

      return ntohl(nfnl_get_data(nfad->data, NFQA_IFINDEX_OUTDEV, u_int32_t));

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index