diff options
| author | Qiuwen Lu <[email protected]> | 2017-06-23 13:25:29 +0800 |
|---|---|---|
| committer | Qiuwen Lu <[email protected]> | 2017-06-23 13:25:29 +0800 |
| commit | 5b108513a2c85e8159108469939d16f75f47dbd7 (patch) | |
| tree | 95d220e73ec6ca98b89ad8997f9015732850c067 /include/external | |
| parent | bfae3e5ecb79dfda104024cce92aff8c3107cb97 (diff) | |
修正Tunnat有历史记录发包报文长度填写错误,外层MAC地址、IP地址没有翻转的Bug。
Diffstat (limited to 'include/external')
| -rw-r--r-- | include/external/marsio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/external/marsio.h b/include/external/marsio.h index 904db89..7578ca1 100644 --- a/include/external/marsio.h +++ b/include/external/marsio.h @@ -65,6 +65,7 @@ enum mr_sendpath_option extern "C" { #endif +#include <stdio.h> #include <stdint.h> #include <stddef.h> #include <netinet/in.h> @@ -165,6 +166,8 @@ uint16_t marsio_buff_tailroom(const marsio_buff_t *m); uint32_t marsio_get_pkt_type(marsio_buff_t *m); +void marsio_pktmbuf_dump(FILE *f, const marsio_buff_t *m, unsigned dump_len); + marsio_buff_t * marsio_buff_clone_deep(struct mr_instance * instance, marsio_buff_t * md, int socket_id, int thread_id); |
