openc2lib.profiles.slpf.data.direction
1from openc2lib import Enumerated 2 3class Direction(Enumerated): 4 """ Direction enumeration 5 6 The packet direction to which a rule applies. 7 Defined in Sec. 2.1.3.2 of the SLPF Specification. 8 """ 9 both=1 10 """ Apply rules to all traffic """ 11 ingress=2 12 """ Apply rules to incoming traffic only """ 13 egress=3 14 """ Apply rules to outgoing traffic only """
4class Direction(Enumerated): 5 """ Direction enumeration 6 7 The packet direction to which a rule applies. 8 Defined in Sec. 2.1.3.2 of the SLPF Specification. 9 """ 10 both=1 11 """ Apply rules to all traffic """ 12 ingress=2 13 """ Apply rules to incoming traffic only """ 14 egress=3 15 """ Apply rules to outgoing traffic only """
Direction enumeration
The packet direction to which a rule applies. Defined in Sec. 2.1.3.2 of the SLPF Specification.
Inherited Members
- aenum._enum.Enum
- name
- value
- values