]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/tc_core.h
lib: introduce print_nl
[mirror_iproute2.git] / tc / tc_core.h
index 5a693badde4c509a4134c0c43d5f57f10ce063a2..1dfa9a4f773bd5b4039e35fb4b15e8fd1e964ab3 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _TC_CORE_H_
 #define _TC_CORE_H_ 1
 
@@ -18,8 +19,8 @@ unsigned tc_core_time2tick(unsigned time);
 unsigned tc_core_tick2time(unsigned tick);
 unsigned tc_core_time2ktime(unsigned time);
 unsigned tc_core_ktime2time(unsigned ktime);
-unsigned tc_calc_xmittime(unsigned rate, unsigned size);
-unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks);
+unsigned tc_calc_xmittime(__u64 rate, unsigned size);
+unsigned tc_calc_xmitsize(__u64 rate, unsigned ticks);
 int tc_calc_rtable(struct tc_ratespec *r, __u32 *rtab,
                   int cell_log, unsigned mtu, enum link_layer link_layer);
 int tc_calc_size_table(struct tc_sizespec *s, __u16 **stab);