Home
last modified time | relevance | path

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

/openthread-3.6.0/tests/scripts/thread-cert/
Ddtls.py53 class ContentType(IntEnum): class
109 content_type = ContentType(struct.unpack(">B", data.read(1))[0])
151 super(HandshakeMessage, self).__init__(ContentType.HANDSHAKE)
528 super(AlertMessage, self).__init__(ContentType.ALERT)
552 super(ChangeCipherSpecMessage, self).__init__(ContentType.CHANGE_CIPHER_SPEC)
569 super(ApplicationDataMessage, self).__init__(ContentType.APPLICATION_DATA)
605 ContentType.CHANGE_CIPHER_SPEC: ChangeCipherSpecMessage,
606 ContentType.ALERT: AlertMessage,
607 ContentType.HANDSHAKE: HandshakeMessage,
608 ContentType.APPLICATION_DATA: ApplicationDataMessage,
[all …]
Dmessage.py357 if (self.type == MessageType.DTLS and self.dtls.content_type == dtls.ContentType.HANDSHAKE):
505 … if (content_type == dtls.ContentType.HANDSHAKE and msg.dtls.handshake_type != handshake_type):
509 t = (handshake_type if content_type == dtls.ContentType.HANDSHAKE else content_type)