Home
last modified time | relevance | path

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

/openthread-3.5.0/tests/scripts/thread-cert/
Ddtls.py347 def __init__(self, extension_type, extension_data): argument
348 self.extension_type = extension_type
352 return (isinstance(self, type(other)) and self.extension_type == other.extension_type and
356 return (struct.pack(">H", self.extension_type) + self.extension_data.to_bytes())
360 extension_type = struct.unpack(">H", data.read(2))[0]
362 return cls(extension_type, extension_data)