summaryrefslogtreecommitdiff
path: root/shaping/include/shaper_aqm.h
diff options
context:
space:
mode:
Diffstat (limited to 'shaping/include/shaper_aqm.h')
-rw-r--r--shaping/include/shaper_aqm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/shaping/include/shaper_aqm.h b/shaping/include/shaper_aqm.h
index 2367d92..3436eae 100644
--- a/shaping/include/shaper_aqm.h
+++ b/shaping/include/shaper_aqm.h
@@ -1,5 +1,6 @@
#pragma once
#include <time.h>
+#include <uuid/uuid.h>
#include "shaper_stat.h"
@@ -37,5 +38,5 @@ struct shaper_aqm_codel_para {
};
int shaper_aqm_need_drop(struct shaping_profile_info *profile, struct shaping_packet_wrapper *pkt_wrapper, enum shaping_packet_dir dir, struct timespec *curr_time, unsigned long long latency_us);
-int shaper_aqm_blue_need_drop(int profile_id, struct shaper_aqm_blue_para *para, int curr_queue_len);
-int shaper_aqm_codel_need_drop(int profile_id, struct shaper_aqm_codel_para *para, unsigned long long curr_time_ms, unsigned long long latency_ms); \ No newline at end of file
+int shaper_aqm_blue_need_drop(uuid_t profile_uuid, struct shaper_aqm_blue_para *para, int curr_queue_len);
+int shaper_aqm_codel_need_drop(uuid_t profile_uuid, struct shaper_aqm_codel_para *para, unsigned long long curr_time_ms, unsigned long long latency_ms); \ No newline at end of file