Home
last modified time | relevance | path

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

/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dioctl.py285 class IpFwRule(Structure): class
307 min_size = sizeof(IpFwRule)
310 rule = IpFwRule.from_buffer_copy(data[:min_size])
316 hdr = IpFwRule.from_buffer_copy(data[: sizeof(IpFwRule)])
320 obj_list=BaseInsn.parse_insns(data[sizeof(IpFwRule) :], insn_attrs),
335 hdr = IpFwRule(
361 while off + sizeof(IpFwRule) <= len(data):
362 hdr = IpFwRule.from_buffer_copy(data[off : off + sizeof(IpFwRule)])
363 rule_len = sizeof(IpFwRule) + hdr.cmd_len * 4