diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-07-05 19:25:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-06 05:52:16 -0400 |
commit | dc7f9f6e8838556f226c2ebd1da7bb305cb25654 (patch) | |
tree | c346ae8a155e187f4f88ba70788dc10ef5ff4c43 /include/net/pkt_sched.h | |
parent | 95ec3eb417115fbb2c73b59e2825f6dd5d2f6cf6 (diff) |
net: sched: constify tcf_proto and tc_action
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_sched.h')
-rw-r--r-- | include/net/pkt_sched.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h index 65afc496620..fffdc603f4c 100644 --- a/include/net/pkt_sched.h +++ b/include/net/pkt_sched.h | |||
@@ -99,9 +99,9 @@ static inline void qdisc_run(struct Qdisc *q) | |||
99 | __qdisc_run(q); | 99 | __qdisc_run(q); |
100 | } | 100 | } |
101 | 101 | ||
102 | extern int tc_classify_compat(struct sk_buff *skb, struct tcf_proto *tp, | 102 | extern int tc_classify_compat(struct sk_buff *skb, const struct tcf_proto *tp, |
103 | struct tcf_result *res); | 103 | struct tcf_result *res); |
104 | extern int tc_classify(struct sk_buff *skb, struct tcf_proto *tp, | 104 | extern int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, |
105 | struct tcf_result *res); | 105 | struct tcf_result *res); |
106 | 106 | ||
107 | /* Calculate maximal size of packet seen by hard_start_xmit | 107 | /* Calculate maximal size of packet seen by hard_start_xmit |