Searched refs:attr_map (Results 1 – 3 of 3) sorted by relevance
| /src/tests/atf_python/sys/netpfil/ipfw/ |
| H A D | ioctl.py | 108 def _parse(cls, data, attr_map): argument 113 def from_bytes(cls, data, attr_map=None): argument 115 obj = cls._parse(data, attr_map) 144 def _parse(cls, data, attr_map): argument 155 def parse_tlvs(data, attr_map): argument 164 obj_descr = attr_map.get(hdr.n_type, None) 208 def _parse(cls, data, attr_map): argument 258 def _parse(cls, data, attr_map): argument 260 tlv_list = cls.parse_tlvs(data[sizeof(IpFwObjCTlv) :], attr_map) 316 def _parse(cls, data, attr_map): argument [all …]
|
| H A D | insns.py | 163 def parse_insns(data, attr_map): argument 172 attr = attr_map.get(hdr.opcode, None)
|
| /src/tests/atf_python/sys/netlink/ |
| H A D | message.py | 197 def parse_child(self, data: bytes, attr_key, attr_map): argument 198 attrs, _ = self.parse_attrs(data, attr_map) 201 def parse_child_array(self, data: bytes, attr_key, attr_map): argument 213 val = self.parse_child(data[off + 4 : off + nla_len], nla_type, attr_map) 218 def parse_attrs(self, data: bytes, attr_map): argument 230 if nla_type in attr_map: 231 v = attr_map[nla_type]
|