summaryrefslogtreecommitdiff
path: root/shaping/test/stub.cpp
diff options
context:
space:
mode:
authorliuchang <[email protected]>2023-05-08 06:54:16 +0000
committerliuchang <[email protected]>2023-05-08 06:54:16 +0000
commit36db46774880dceab9abfb1965f0d228257ec4d5 (patch)
treed4b3f818288c75cbb509bd3f62e75e3e6550331c /shaping/test/stub.cpp
parentd8c5e552a9ee59f5d94df49ca71f9c5927107713 (diff)
send log wrapped by mpack
Diffstat (limited to 'shaping/test/stub.cpp')
-rw-r--r--shaping/test/stub.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/shaping/test/stub.cpp b/shaping/test/stub.cpp
index 67ba815..b2d8cc9 100644
--- a/shaping/test/stub.cpp
+++ b/shaping/test/stub.cpp
@@ -604,4 +604,24 @@ char * marsio_buff_mtod(marsio_buff_t * m)
{
return NULL;
}
+
+int marsio_buff_malloc_global(struct mr_instance * instance, marsio_buff_t * marsio_buff[], unsigned int nr_mbufs, int socket_id, int thread_id)
+{
+ return 0;
+}
+
+char * marsio_buff_append(marsio_buff_t * m, uint16_t len)
+{
+ return NULL;
+}
+
+int marsio_buff_set_metadata(marsio_buff_t * m, enum mr_buff_metadata_type type, void * data, unsigned int sz_data)
+{
+ return 0;
+}
+
+int marsio_buff_set_sid_list(marsio_buff_t * m, sid_t * slist, uint8_t sz_slist)
+{
+ return 0;
+}
/***************************************************/ \ No newline at end of file