Lines Matching refs:packet
39 #define PACKET_WRITE(packet, conn) ((packet)->header.m->write_to_net((packet), (conn) TSRMLS_CC)) argument
40 #define PACKET_READ(packet, conn) ((packet)->header.m->read_from_net((packet), (conn) TSRMLS_CC)) argument
41 #define PACKET_FREE(packet) \ argument
43 DBG_INF_FMT("PACKET_FREE(%p)", packet); \
44 if ((packet)) { \
45 ((packet)->header.m->free_mem((packet), FALSE TSRMLS_CC)); \
54 enum_func_status (*read_from_net)(void *packet, MYSQLND *conn TSRMLS_DC);
55 size_t (*write_to_net)(void *packet, MYSQLND *conn TSRMLS_DC);
56 void (*free_mem)(void *packet, zend_bool stack_allocation TSRMLS_DC);
254 unsigned long php_mysqlnd_net_field_length(zend_uchar **packet);
255 zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, uint64_t length);