diff --git a/new_packet.pxd b/new_packet.pxd index d9bf80b..9ebd72c 100644 --- a/new_packet.pxd +++ b/new_packet.pxd @@ -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