greenplumn ic_proxy_pkt_cache 源码

  • 2022-08-18
  • 浏览 (432)

greenplumn ic_proxy_pkt_cache 代码

文件路径:/src/backend/cdb/motion/ic_proxy_pkt_cache.h

/*-------------------------------------------------------------------------
 *
 * ic_proxy_pkt_cache.h
 *
 *
 * Copyright (c) 2020-Present VMware, Inc. or its affiliates.
 *
 *
 *-------------------------------------------------------------------------
 */

#ifndef IC_PROXY_PKT_CACHE_H
#define IC_PROXY_PKT_CACHE_H

#include <uv.h>

#define IC_PROXY_PKT_CACHE_MAX_SIZE 20000

extern void ic_proxy_pkt_cache_init(uint32 pkt_size);
extern void ic_proxy_pkt_cache_uninit(void);
extern void *ic_proxy_pkt_cache_alloc(size_t *pkt_size);
extern void ic_proxy_pkt_cache_alloc_buffer(uv_handle_t *handle,
											size_t size, uv_buf_t *buf);
extern void ic_proxy_pkt_cache_free(void *pkt);

#endif   /* IC_PROXY_PKT_CACHE_H */

相关信息

greenplumn 源码目录

相关文章

greenplumn cdbmotion 源码

greenplumn htupfifo 源码

greenplumn ic_common 源码

greenplumn ic_proxy 源码

greenplumn ic_proxy_addr 源码

greenplumn ic_proxy_addr 源码

greenplumn ic_proxy_backend 源码

greenplumn ic_proxy_backend 源码

greenplumn ic_proxy_bgworker 源码

greenplumn ic_proxy_client 源码

0  赞