EMT API ver: 2.26.0
载入中...
搜索中...
未找到
EMQUdpConfigBse结构体 参考

#include <quote_struct_bse.h>

成员变量

bool enable
 是否启用
 
EMQBseUdpRecvMode mode
 接收模式
 
EMQBseType quote_type
 行情类型
 
char eth_name [ETH_NAME_LEN]
 网卡名
 
char bind_ip [IP_LEN]
 绑定地址
 
uint16_t bind_port
 绑定端口(0表示系统自动分配)
 
int32_t rx_cpu_id
 用于接收的cpu id,-1表示不绑定
 
int32_t handle_cpu_id
 用于处理的cpu id,-1表示不绑定
 
int32_t rx_pkt_num
 接收内存大小 单位为4MB
 
int32_t spsc_size
 缓存队列长度,单位K
 

结构体成员变量说明

◆ bind_ip

char bind_ip[IP_LEN]

绑定地址

◆ bind_port

uint16_t bind_port

绑定端口(0表示系统自动分配)

◆ enable

bool enable

是否启用

◆ eth_name

char eth_name[ETH_NAME_LEN]

网卡名

◆ handle_cpu_id

int32_t handle_cpu_id

用于处理的cpu id,-1表示不绑定

◆ mode

接收模式

◆ quote_type

EMQBseType quote_type

行情类型

◆ rx_cpu_id

int32_t rx_cpu_id

用于接收的cpu id,-1表示不绑定

◆ rx_pkt_num

int32_t rx_pkt_num

接收内存大小 单位为4MB

◆ spsc_size

int32_t spsc_size

缓存队列长度,单位K


该结构体的文档由以下文件生成: