Searched refs:more_flag (Results 1 – 2 of 2) sorted by relevance
/external/openthread/tests/scripts/thread-cert/ |
D | test_ipv6.py | 705 more_flag = any_bool() 708 ipv6_fragment_header = FragmentHeader(type, offset, more_flag, identification) 714 expected = bytearray([type, 0x00, offset >> 5, ((offset << 3) & 0xff) | more_flag])\ 723 more_flag = any_bool() 726 data = bytearray([type, 0x00, offset >> 5, ((offset << 3) & 0xff) | more_flag])\ 735 self.assertEqual(more_flag, ipv6_fragment_header.more_flag)
|
D | ipv6.py | 622 def more_flag(self): member in FragmentHeader 629 def __init__(self, next_header=None, fragm_offset=0, more_flag=False, identification=0): argument 632 self._more_flag = more_flag 650 more_flag = fragment_offset & 0x1 655 return cls(next_header, fragment_offset, more_flag, identificaton)
|