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

u_int32_t nfq_get_physoutdev ( struct nfq_data nfad )

nfq_get_physoutdev - get the physical interface that the packet output

nfadNetlink packet data handle passed to callback function

The index of the physical device the queued packet will be sent out. If the returned index is 0, the packet is destined for localhost or the physical output interface is not yet known (ie. PREROUTING?).

The index of physical interface that the packet output will be routed out.

Definition at line 859 of file libnetfilter_queue.c.

Referenced by nfq_get_physoutdev_name().

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

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index