Lines Matching defs:content_type
1323 static const char * openssl_content_type(int content_type)
1325 switch (content_type) {
1346 static const char * openssl_handshake_type(int content_type, const u8 *buf,
1349 if (content_type == 257 && buf && len == 1)
1351 if (content_type != 22 || !buf || len == 0)
1489 static void tls_msg_cb(int write_p, int version, int content_type,
1497 "OpenSSL: session ver=0x%x content_type=%d",
1498 version, content_type);
1503 wpa_printf(MSG_DEBUG, "OpenSSL: %s ver=0x%x content_type=%d (%s/%s)",
1504 write_p ? "TX" : "RX", version, content_type,
1505 openssl_content_type(content_type),
1506 openssl_handshake_type(content_type, buf, len));
1508 if (content_type == 24 && len >= 3 && pos[0] == 1) {
1522 if (content_type == 22 && pos && len > 0 && pos[0] == 2)
1524 if (content_type == 22 && pos && len > 0 && pos[0] == 12)