nfq_get_physindev - get the physical interface that the packet was received
|nfad||Netlink packet data handle passed to callback function|
- The index of the physical device the queued packet was received via. If the returned index is 0, the packet was locally generated or the physical input interface is no longer known (ie. POSTROUTING?).
Definition at line 831 of file libnetfilter_queue.c.
Referenced by nfq_get_physindev_name().
return ntohl(nfnl_get_data(nfad->data, NFQA_IFINDEX_PHYSINDEV, u_int32_t));