Home
last modified time | relevance | path

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

/openthread-3.6.0/tests/scripts/thread-cert/
Dtest_lowpan.py240 dam = any_dam()
243 byte1 = (cid << 7) | (sac << 6) | (sam << 4) | (m << 3) | (dac << 2) | dam
259 self.assertEqual(dam, actual.dam)
2727 dam = factory.IPHC_DAM_128B
2729 …c = lowpan.LowpanIPHC(any_tf(), any_nh(), any_hlim(), any_cid(), any_sac(), any_sam(), m, dac, dam)
2739 self.assertEqual(0, dam)
2750 dam = factory.IPHC_DAM_64B
2752 …c = lowpan.LowpanIPHC(any_tf(), any_nh(), any_hlim(), any_cid(), any_sac(), any_sam(), m, dac, dam)
2760 self.assertEqual(1, dam)
2771 dam = factory.IPHC_DAM_16B
[all …]
Dlowpan.py47 def __init__(self, tf, nh, hlim, cid, sac, sam, m, dac, dam): argument
56 self._dam = dam
91 def dam(self): member in LowpanIPHC
113 dam = data_byte & 0x03
115 return cls(tf, nh, hlim, cid, sac, sam, m, dac, dam)
127 self.dam,
638 if iphc.dam == self.IPHC_DAM_128B:
641 elif iphc.dam == self.IPHC_DAM_64B:
644 elif iphc.dam == self.IPHC_DAM_16B:
647 elif iphc.dam == self.IPHC_DAM_ELIDED:
[all …]
/openthread-3.6.0/tests/scripts/thread-cert/pktverify/
Dtest_layer_fields.py287 self.assertIsInstanceOrNull(lowpan.iphc.dam, int)