Home
last modified time | relevance | path

Searched refs:enum_from_int (Results 1 – 5 of 5) sorted by relevance

/src/tests/atf_python/sys/netpfil/ipfw/
H A Dinsns.py32 from atf_python.sys.netpfil.ipfw.utils import enum_from_int
79 self._enum = enum_from_int(self.obj_enum_class, self.obj_type)
110 enum_from_int(cls.obj_enum_class, data[0])
175 type_enum = enum_from_int(BaseInsn.obj_enum_class, hdr.opcode)
467 self.lookup_type = enum_from_int(IpFwTableLookupType, self.lookup_int_type)
468 self.tvalue_type = enum_from_int(IpFwTableValueType, self.tvalue_int_type)
559 code = enum_from_int(IcmpRejectCode, self.arg1)
H A Dutils.py35 def enum_from_int(enum_class: Enum, val) -> Enum: function
H A Dioctl.py34 from atf_python.sys.netpfil.ipfw.utils import enum_from_int
64 self._enum = enum_from_int(self.obj_enum_class, obj_type)
403 self._enum = enum_from_int(self.messages, self.obj_type)
H A Dipfw.py29 from atf_python.sys.netpfil.ipfw.utils import enum_from_int
/src/sbin/ipfw/tests/
H A Dtest_add_rule.py53 from atf_python.sys.netpfil.ipfw.utils import enum_from_int