aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/pkt_sched.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h
index 1c12afd113d6..b090d55d5eb8 100644
--- a/include/net/pkt_sched.h
+++ b/include/net/pkt_sched.h
@@ -64,6 +64,16 @@ typedef long psched_tdiff_t;
64#define PSCHED_IS_PASTPERFECT(t) ((t) == 0) 64#define PSCHED_IS_PASTPERFECT(t) ((t) == 0)
65#define PSCHED_AUDIT_TDIFF(t) 65#define PSCHED_AUDIT_TDIFF(t)
66 66
67struct qdisc_watchdog {
68 struct hrtimer timer;
69 struct Qdisc *qdisc;
70};
71
72extern void qdisc_watchdog_init(struct qdisc_watchdog *wd, struct Qdisc *qdisc);
73extern void qdisc_watchdog_schedule(struct qdisc_watchdog *wd,
74 psched_time_t expires);
75extern void qdisc_watchdog_cancel(struct qdisc_watchdog *wd);
76
67extern struct Qdisc_ops pfifo_qdisc_ops; 77extern struct Qdisc_ops pfifo_qdisc_ops;
68extern struct Qdisc_ops bfifo_qdisc_ops; 78extern struct Qdisc_ops bfifo_qdisc_ops;
69 79