diff options
| author | yangwei <[email protected]> | 2023-10-20 18:05:18 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-10-20 18:05:18 +0800 |
| commit | 246603d22613baefe900c26c36d4a434a1aaf761 (patch) | |
| tree | a90ccfdc0415b5d3d0f7b0dae6e4830867a9e9b7 | |
| parent | 1b7a5d242573b83302bd634cbecbd4e12e0246f5 (diff) | |
✨ feat(marsio_dl_io_raw_pkt_send): 增加rehash发送选项,提高注包性能
| -rw-r--r-- | src/packet_io/packet_io_marsio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet_io/packet_io_marsio.c b/src/packet_io/packet_io_marsio.c index 0fa847a..43af6ff 100644 --- a/src/packet_io/packet_io_marsio.c +++ b/src/packet_io/packet_io_marsio.c @@ -346,7 +346,7 @@ int marsio_dl_io_raw_pkt_send(void *phandle, unsigned char *data,int datalen, vo int ret;
marsio_buff_t *send_mbuf[1];
char *real_buf;
- uint16_t send_option = 0;
+ uint16_t send_option = MARSIO_SEND_OPT_REHASH;
ret = ptr_marsio_buff_malloc_global(sapp_marsio4_instance, send_mbuf, 1, MARSIO_SOCKET_ID_ANY, thread_seq);
if((ret < 0) || (NULL == send_mbuf[0])){
|
