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
,
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
;