formatting changes, removed some py2 compatibility, added support for get_indev, get_outdev, nf_queue verdict. NOTE: has not been fully tested at this time.

This commit is contained in:
dowright 2021-08-18 12:12:52 -07:00 committed by DOWRIGHT
parent a3dedaea57
commit 005f246285

View File

@ -154,6 +154,8 @@ cdef extern from "libnetfilter_queue/libnetfilter_queue.h":
int nfq_get_timestamp(nfq_data *nfad, timeval *tv)
nfqnl_msg_packet_hw *nfq_get_packet_hw(nfq_data *nfad)
int nfq_get_nfmark (nfq_data *nfad)
u_int8_t nfq_get_indev(self._nfa)
u_int8_t nfq_get_outdev(self._nfa)
nfnl_handle *nfq_nfnlh(nfq_handle *h)
# Dummy defines from linux/socket.h: