work on new packet

This commit is contained in:
dowright 2021-08-25 00:49:54 -07:00 committed by DOWRIGHT
parent e0b22a8550
commit a10c49a213

View File

@ -205,8 +205,14 @@ cdef class CPacket:
cdef void _parse(self) nogil
cdef void verdict(self, u_int32_t verdict)
cdef double get_timestamp(self)
cdef u_int8_t get_inint(self, bint name=False)
cdef u_int8_t get_outint(self, bint name=False)
cdef u_int8_t get_inint(self, bint name=?)
cdef u_int8_t get_outint(self, bint name=?)
cpdef update_mark(self, u_int32_t mark)
cpdef set_payload(self, bytes payload)
cpdef accept(self)
cpdef drop(self)
cpdef forward(self, u_int16_t queue_num)
cpdef repeat(self)
cdef class NetfilterQueue:
cdef object user_callback # User callback