Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / iproute2 / tc / tc_core.h
blob8a11ed7986638bcff800f7eb00a1b6e9911a31ac
1 #ifndef _TC_CORE_H_
2 #define _TC_CORE_H_ 1
4 #include <asm/types.h>
5 #include <linux/pkt_sched.h>
7 long tc_core_usec2tick(long usec);
8 long tc_core_tick2usec(long tick);
9 unsigned tc_calc_xmittime(unsigned rate, unsigned size);
11 void tc_calc_ratespec(struct tc_ratespec* spec, __u32* rtab, unsigned bps,
12 int cell_log, unsigned mtu, unsigned char mpu, int atm_cell_tax,
13 char overhead);
15 int tc_setup_estimator(unsigned A, unsigned time_const, struct tc_estimator *est);
17 int tc_core_init(void);
19 extern struct rtnl_handle g_rth;
20 extern int is_batch_mode;
22 #endif