Lines Matching refs:rec_type
214 byte rec_type = CONNECTION_CLOSED; in state_machine() local
217 size_t bytes_needed = reader.get_record(rec_type, record); in state_machine()
226 rec_type = CONNECTION_CLOSED; in state_machine()
232 bytes_needed = reader.get_record(rec_type, record); in state_machine()
235 if(rec_type == CONNECTION_CLOSED) in state_machine()
241 else if(rec_type == APPLICATION_DATA) in state_machine()
248 else if(rec_type == HANDSHAKE || rec_type == CHANGE_CIPHER_SPEC) in state_machine()
249 read_handshake(rec_type, record); in state_machine()
250 else if(rec_type == ALERT) in state_machine()
271 void TLS_Server::read_handshake(byte rec_type, in read_handshake() argument
274 if(rec_type == HANDSHAKE) in read_handshake()
286 if(rec_type == HANDSHAKE) in read_handshake()
304 else if(rec_type == CHANGE_CIPHER_SPEC) in read_handshake()