Searched refs:udphc (Results 1 – 2 of 2) sorted by relevance
/external/openthread/tests/scripts/thread-cert/ |
D | lowpan.py | 276 def _decompress_udp_ports(self, udphc, data): argument 277 if udphc.p == self.UDP_HC_P_BOTH_FULL: 281 elif udphc.p == self.UDP_HC_P_DST_COMPR: 285 elif udphc.p == self.UDP_HC_P_SRC_COMPR: 289 elif udphc.p == self.UDP_HC_P_BOTH_COMPR: 296 def _decompress_udp_checksum(self, udphc, data): argument 297 if udphc.c == self.UDP_HC_C_INLINE: 300 if udphc.c == self.UDP_HC_C_ELIDED: 306 udphc = LowpanUDPHC.from_bytes(bytearray(data.read(1))) 308 src_port, dst_port = self._decompress_udp_ports(udphc, data) [all …]
|
D | test_lowpan.py | 2200 udphc = lowpan.LowpanUDPHC(any_c(), p) 2208 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) 2221 udphc = lowpan.LowpanUDPHC(any_c(), p) 2229 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) 2242 udphc = lowpan.LowpanUDPHC(any_c(), p) 2250 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) 2263 udphc = lowpan.LowpanUDPHC(any_c(), p) 2271 … actual_src_port, actual_dst_port = factory._decompress_udp_ports(udphc, io.BytesIO(data_bytes)) 2284 udphc = lowpan.LowpanUDPHC(c, any_p()) 2291 actual_checksum = factory._decompress_udp_checksum(udphc, io.BytesIO(data_bytes)) [all …]
|