MYSQLND_HEADER_SIZE 161 mysqlnd/mysqlnd_loaddata.c zend_uchar empty_packet[MYSQLND_HEADER_SIZE]; MYSQLND_HEADER_SIZE 200 mysqlnd/mysqlnd_loaddata.c while ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEADER_SIZE TSRMLS_CC)) > 0) { MYSQLND_HEADER_SIZE 303 mysqlnd/mysqlnd_net.c zend_uchar safe_buf[((MYSQLND_HEADER_SIZE) + (sizeof(zend_uchar)) - 1) / (sizeof(zend_uchar))]; MYSQLND_HEADER_SIZE 315 mysqlnd/mysqlnd_net.c size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(left, MYSQLND_MAX_PACKET_SIZE); MYSQLND_HEADER_SIZE 332 mysqlnd/mysqlnd_net.c if (PASS == net->m.encode((compress_buf + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE), &tmp_complen, MYSQLND_HEADER_SIZE 333 mysqlnd/mysqlnd_net.c uncompressed_payload, to_be_sent + MYSQLND_HEADER_SIZE TSRMLS_CC)) MYSQLND_HEADER_SIZE 335 mysqlnd/mysqlnd_net.c int3store(compress_buf + MYSQLND_HEADER_SIZE, to_be_sent + MYSQLND_HEADER_SIZE); MYSQLND_HEADER_SIZE 338 mysqlnd/mysqlnd_net.c int3store(compress_buf + MYSQLND_HEADER_SIZE, 0); MYSQLND_HEADER_SIZE 339 mysqlnd/mysqlnd_net.c memcpy(compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, uncompressed_payload, to_be_sent + MYSQLND_HEADER_SIZE); MYSQLND_HEADER_SIZE 340 mysqlnd/mysqlnd_net.c payload_size = to_be_sent + MYSQLND_HEADER_SIZE; MYSQLND_HEADER_SIZE 346 mysqlnd/mysqlnd_net.c DBG_INF_FMT("writing "MYSQLND_SZ_T_SPEC" bytes to the network", payload_size + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE); MYSQLND_HEADER_SIZE 347 mysqlnd/mysqlnd_net.c bytes_sent = net->m.network_write_ex(net, compress_buf, payload_size + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, MYSQLND_HEADER_SIZE 352 mysqlnd/mysqlnd_net.c size_t decompressed_size = left + MYSQLND_HEADER_SIZE; MYSQLND_HEADER_SIZE 355 mysqlnd/mysqlnd_net.c compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, payload_size); MYSQLND_HEADER_SIZE 379 mysqlnd/mysqlnd_net.c bytes_sent = net->m.network_write_ex(net, p, to_be_sent + MYSQLND_HEADER_SIZE, conn_stats, error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 400 mysqlnd/mysqlnd_net.c STAT_BYTES_SENT, count + packets_sent * MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 401 mysqlnd/mysqlnd_net.c STAT_PROTOCOL_OVERHEAD_OUT, packets_sent * MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 609 mysqlnd/mysqlnd_net.c zend_uchar net_header[MYSQLND_HEADER_SIZE]; MYSQLND_HEADER_SIZE 613 mysqlnd/mysqlnd_net.c if (FAIL == net->m.network_read_ex(net, net_header, MYSQLND_HEADER_SIZE, conn_stats, error_info TSRMLS_CC)) { MYSQLND_HEADER_SIZE 58 mysqlnd/mysqlnd_wireprotocol.c MYSQLND_HEADER_SIZE + (packet)->header.size, \ MYSQLND_HEADER_SIZE 264 mysqlnd/mysqlnd_wireprotocol.c zend_uchar buffer[MYSQLND_HEADER_SIZE]; MYSQLND_HEADER_SIZE 268 mysqlnd/mysqlnd_wireprotocol.c if (FAIL == net->m.receive_ex(net, buffer, MYSQLND_HEADER_SIZE, conn_stats, error_info TSRMLS_CC)) { MYSQLND_HEADER_SIZE 279 mysqlnd/mysqlnd_wireprotocol.c STAT_PROTOCOL_OVERHEAD_IN, MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 462 mysqlnd/mysqlnd_wireprotocol.c #define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH + MYSQLND_MAX_ALLOWED_DB_LEN + 1 + 1024) MYSQLND_HEADER_SIZE 469 mysqlnd/mysqlnd_wireprotocol.c zend_uchar *p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ MYSQLND_HEADER_SIZE 545 mysqlnd/mysqlnd_wireprotocol.c if (PASS != conn->m->simple_command(conn, COM_CHANGE_USER, buffer + MYSQLND_HEADER_SIZE, p - buffer - MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 550 mysqlnd/mysqlnd_wireprotocol.c DBG_RETURN(p - buffer - MYSQLND_HEADER_SIZE); MYSQLND_HEADER_SIZE 552 mysqlnd/mysqlnd_wireprotocol.c size_t sent = conn->net->m.send_ex(conn->net, buffer, p - buffer - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 702 mysqlnd/mysqlnd_wireprotocol.c zend_uchar *p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ MYSQLND_HEADER_SIZE 712 mysqlnd/mysqlnd_wireprotocol.c size_t sent = conn->net->m.send_ex(conn->net, buffer, p - buffer - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 930 mysqlnd/mysqlnd_wireprotocol.c zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; MYSQLND_HEADER_SIZE 932 mysqlnd/mysqlnd_wireprotocol.c int1store(buffer + MYSQLND_HEADER_SIZE, packet->command); MYSQLND_HEADER_SIZE 935 mysqlnd/mysqlnd_wireprotocol.c size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE; MYSQLND_HEADER_SIZE 941 mysqlnd/mysqlnd_wireprotocol.c p = tmp + MYSQLND_HEADER_SIZE; /* skip the header */ MYSQLND_HEADER_SIZE 948 mysqlnd/mysqlnd_wireprotocol.c sent = net->m.send_ex(net, tmp, tmp_len - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 1769 mysqlnd/mysqlnd_wireprotocol.c MYSQLND_HEADER_SIZE + packet->header.size,