4 #include <linux/types.h>
5 #include <linux/workqueue.h>
6 #include <net/sch_generic.h>
9 struct work_struct work
;
12 #define INIT_DELAYED_WORK(_work, _func) \
13 INIT_WORK(&(_work)->work, _func, &(_work)->work)
15 #define INIT_WORK_NEW(_work, _func) INIT_WORK(_work, _func, _work)
17 #define schedule_delayed_work(_work, interval) schedule_delayed_work(&(_work)->work, interval)
18 #define cancel_delayed_work(_work) cancel_delayed_work(&(_work)->work)
20 static inline struct Qdisc
*_qdisc_create_dflt(struct net_device
*dev
, struct Qdisc_ops
*ops
)
22 return qdisc_create_dflt(dev
, ops
);
25 #define qdisc_create_dflt(_dev, _ops, _handle) \
26 _qdisc_create_dflt(_dev, _ops)
This page took 0.05445 seconds and 5 git commands to generate.