nfq_get_outdev - gets the interface that the packet will be routed out
|nfad ||Netlink 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 803 of file libnetfilter_queue.c.
Referenced by nfq_get_outdev_name().
return ntohl(nfnl_get_data(nfad->data, NFQA_IFINDEX_OUTDEV, u_int32_t));