mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-21 10:37:11 +00:00
PortconProtocol: Add support for SCTP portcons.
This commit is contained in:
parent
4a98b8315b
commit
1a73d75b59
@ -54,6 +54,7 @@ cdef extern from "<sys/socket.h>":
|
|||||||
cdef extern from "<netinet/in.h>":
|
cdef extern from "<netinet/in.h>":
|
||||||
cdef int INET6_ADDRSTRLEN
|
cdef int INET6_ADDRSTRLEN
|
||||||
cdef int IPPROTO_DCCP
|
cdef int IPPROTO_DCCP
|
||||||
|
cdef int IPPROTO_SCTP
|
||||||
cdef int IPPROTO_TCP
|
cdef int IPPROTO_TCP
|
||||||
cdef int IPPROTO_UDP
|
cdef int IPPROTO_UDP
|
||||||
|
|
||||||
|
@ -186,6 +186,7 @@ class PortconProtocol(PolicyEnum):
|
|||||||
tcp = IPPROTO_TCP
|
tcp = IPPROTO_TCP
|
||||||
udp = IPPROTO_UDP
|
udp = IPPROTO_UDP
|
||||||
dccp = IPPROTO_DCCP
|
dccp = IPPROTO_DCCP
|
||||||
|
sctp = IPPROTO_SCTP
|
||||||
|
|
||||||
|
|
||||||
cdef class Portcon(Ocontext):
|
cdef class Portcon(Ocontext):
|
||||||
|
Loading…
Reference in New Issue
Block a user