Home
last modified time | relevance | path

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

/external/openthread/tests/scripts/thread-cert/
Dnetwork_data.py87 def __init__(self, border_router_16, prf): argument
88 self._border_router_16 = border_router_16
92 def border_router_16(self): member in Route
102 return (self.border_router_16 == other.border_router_16 and self.prf == other.prf)
105 return "Route(border_router_16={}, prf={})".format(self.border_router_16, self.prf)
111 border_router_16 = struct.unpack(">H", data.read(2))[0]
116 return Route(border_router_16, prf)
236 def __init__(self, border_router_16, prf, p, s, d, c, r, o, n, stable): argument
238 self._border_router_16 = border_router_16
249 def border_router_16(self): member in BorderRouter
[all …]
Dtest_network_data.py42 return struct.pack(">HB", route.border_router_16, ((route.prf & 0x03) << 6))
60 border_router.border_router_16,
290 border_router_16 = any_border_router_16()
292 route = network_data.Route(border_router_16, any_prf())
295 actual_border_router_16 = route.border_router_16
298 self.assertEqual(border_router_16, actual_border_router_16)
317 border_router_16 = any_border_router_16()
322 data = convert_route_to_bytearray(network_data.Route(border_router_16, prf))
329 self.assertEqual(border_router_16, actual_route.border_router_16)
541 border_router_16 = any_border_router_16()
[all …]
DCert_7_1_06_BorderRouterAsLeader.py206 p.thread_nwd.tlv.border_router_16
298 [0xFFFE] == p.thread_nwd.tlv.border_router_16
325 [ROUTER_2_RLOC16] == p.thread_nwd.tlv.border_router_16 and\
348 p.thread_nwd.tlv.border_router_16 is nullField and\
383 [ROUTER_2_RLOC16] == p.thread_nwd.tlv.border_router_16
403 p.thread_nwd.tlv.border_router_16
432 set(p.thread_nwd.tlv.border_router_16) and\
468 [0xFFFE] == p.thread_nwd.tlv.border_router_16
DCert_7_1_07_BorderRouterAsLeader.py230 p.thread_nwd.tlv.border_router_16
288 p.thread_nwd.tlv.border_router_16) and\
320 is_sublist([0xFFFE], p.thread_nwd.tlv.border_router_16)
342 p.thread_nwd.tlv.border_router_16
386 p.thread_nwd.tlv.border_router_16) and\
438 is_sublist([0xFFFE, 0xFFFE], p.thread_nwd.tlv.border_router_16)
469 p.thread_nwd.tlv.border_router_16 is nullField
555 is_sublist([0xFFFE], p.thread_nwd.tlv.border_router_16) and\
DCert_5_6_09_NetworkDataForwarding.py161 … p.thread_nwd.tlv.prefix) and {0xFFFE, 0xFFFE} == set(p.thread_nwd.tlv.border_router_16))
194 … p.thread_nwd.tlv.prefix) and {0xFFFE, 0xFFFE} == set(p.thread_nwd.tlv.border_router_16))
217 … p.thread_nwd.tlv.prefix) and {0xFFFE, 0xFFFE} == set(p.thread_nwd.tlv.border_router_16))
DCert_7_1_08_BorderRouterAsFED.py146 p.thread_nwd.tlv.border_router_16 == [FED_RLOC16, FED_RLOC16]
DCert_5_6_04_NetworkDataRegisterAfterAttachRouter.py153 [1, 1, 1] and p.thread_nwd.tlv.border_router_16 == [0xFFFE])
DCert_7_1_05_BorderRouterAsRouter.py224 [0xFFFE, 0xFFFE] == p.thread_nwd.tlv.border_router_16
DCert_5_6_03_NetworkDataRegisterAfterAttachLeader.py146 [1, 1, 1] and p.thread_nwd.tlv.border_router_16 == [0xFFFE])
Dcommand.py708 def __init__(self, prefix=None, border_router_16=None): argument
710 self._border_router_16 = border_router_16
719 result &= (self._border_router_16 == border_router_tlv.border_router_16)
DCert_7_1_04_BorderRouterAsRouter.py154 … ) and p.thread_nwd.tlv.border_router_16 == [0xFFFE])
DCert_7_1_02_BorderRouterAsRouter.py153 p.thread_nwd.tlv.prefix) and p.thread_nwd.tlv.border_router_16 == [0xFFFE])
DCert_5_6_06_NetworkDataExpiration.py183 … } == set(p.thread_nwd.tlv.prefix) and {0xFFFE, 0xFFFE} == set(p.thread_nwd.tlv.border_router_16))
Dtest_mle.py1803border_router_16=37888, prf=0, p=1, s=1, d=0, c=0, r=1, o=1, n=0, stable=1)