diff options
| author | Jiri Pirko <jiri@resnulli.us> | 2013-02-11 19:12:06 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-02-12 18:59:45 -0500 |
| commit | 0e243218bac42ebd0a9c19ceb0003410d302d008 (patch) | |
| tree | 349b50998170157b46adbd5cc75c16423a664d20 /include | |
| parent | b757c9336d63f94c6b57532bb4e8651d8b28786f (diff) | |
act_police: move struct tcf_police to act_police.c
It's not used anywhere else, so move it.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/act_api.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index 112c25c393a2..06ef7e926a66 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h | |||
| @@ -35,21 +35,6 @@ struct tcf_common { | |||
| 35 | #define tcf_lock common.tcfc_lock | 35 | #define tcf_lock common.tcfc_lock |
| 36 | #define tcf_rcu common.tcfc_rcu | 36 | #define tcf_rcu common.tcfc_rcu |
| 37 | 37 | ||
| 38 | struct tcf_police { | ||
| 39 | struct tcf_common common; | ||
| 40 | int tcfp_result; | ||
| 41 | u32 tcfp_ewma_rate; | ||
| 42 | u32 tcfp_burst; | ||
| 43 | u32 tcfp_mtu; | ||
| 44 | u32 tcfp_toks; | ||
| 45 | u32 tcfp_ptoks; | ||
| 46 | psched_time_t tcfp_t_c; | ||
| 47 | struct qdisc_rate_table *tcfp_R_tab; | ||
| 48 | struct qdisc_rate_table *tcfp_P_tab; | ||
| 49 | }; | ||
| 50 | #define to_police(pc) \ | ||
| 51 | container_of(pc, struct tcf_police, common) | ||
| 52 | |||
| 53 | struct tcf_hashinfo { | 38 | struct tcf_hashinfo { |
| 54 | struct tcf_common **htab; | 39 | struct tcf_common **htab; |
| 55 | unsigned int hmask; | 40 | unsigned int hmask; |
