work on new packet

This commit is contained in:
dowright 2021-08-23 21:59:12 -07:00 committed by DOWRIGHT
parent 532f2a43b5
commit 6e3815ff95

View File

@ -195,3 +195,10 @@ cdef class CPacket:
cdef parse(self, nfq_q_handle *qh, nfq_data *nfa) nogil
cdef _parse(self, unsigned char **data)
cdef void verdict(self, u_int32_t verdict)
cdef class NetfilterQueue:
cdef object user_callback # User callback
cdef nfq_handle *h # Handle to NFQueue library
cdef nfq_q_handle *qh # A handle to the queue
cdef u_int16_t af # Address family
cdef packet_copy_size # Amount of packet metadata + data copied to buffer