Loading include/net/pkt_cls.h +3 −3 Original line number Diff line number Diff line Loading @@ -131,14 +131,14 @@ tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, extern int tcf_exts_validate(struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, struct tcf_ext_map *map); const struct tcf_ext_map *map); extern void tcf_exts_destroy(struct tcf_proto *tp, struct tcf_exts *exts); extern void tcf_exts_change(struct tcf_proto *tp, struct tcf_exts *dst, struct tcf_exts *src); extern int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map); const struct tcf_ext_map *map); extern int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map); const struct tcf_ext_map *map); /** * struct tcf_pkt_info - packet information Loading net/sched/cls_api.c +3 −3 Original line number Diff line number Diff line Loading @@ -482,7 +482,7 @@ EXPORT_SYMBOL(tcf_exts_destroy); int tcf_exts_validate(struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, struct tcf_ext_map *map) const struct tcf_ext_map *map) { memset(exts, 0, sizeof(*exts)); Loading Loading @@ -535,7 +535,7 @@ void tcf_exts_change(struct tcf_proto *tp, struct tcf_exts *dst, EXPORT_SYMBOL(tcf_exts_change); int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map) const struct tcf_ext_map *map) { #ifdef CONFIG_NET_CLS_ACT if (map->action && exts->action) { Loading Loading @@ -571,7 +571,7 @@ EXPORT_SYMBOL(tcf_exts_dump); int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map) const struct tcf_ext_map *map) { #ifdef CONFIG_NET_CLS_ACT if (exts->action) Loading net/sched/cls_basic.c +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ struct basic_filter struct list_head link; }; static struct tcf_ext_map basic_ext_map = { static const struct tcf_ext_map basic_ext_map = { .action = TCA_BASIC_ACT, .police = TCA_BASIC_POLICE }; Loading net/sched/cls_fw.c +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ struct fw_filter struct tcf_exts exts; }; static struct tcf_ext_map fw_ext_map = { static const struct tcf_ext_map fw_ext_map = { .action = TCA_FW_ACT, .police = TCA_FW_POLICE }; Loading net/sched/cls_route.c +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ struct route4_filter #define ROUTE4_FAILURE ((struct route4_filter*)(-1L)) static struct tcf_ext_map route_ext_map = { static const struct tcf_ext_map route_ext_map = { .police = TCA_ROUTE4_POLICE, .action = TCA_ROUTE4_ACT }; Loading Loading
include/net/pkt_cls.h +3 −3 Original line number Diff line number Diff line Loading @@ -131,14 +131,14 @@ tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, extern int tcf_exts_validate(struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, struct tcf_ext_map *map); const struct tcf_ext_map *map); extern void tcf_exts_destroy(struct tcf_proto *tp, struct tcf_exts *exts); extern void tcf_exts_change(struct tcf_proto *tp, struct tcf_exts *dst, struct tcf_exts *src); extern int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map); const struct tcf_ext_map *map); extern int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map); const struct tcf_ext_map *map); /** * struct tcf_pkt_info - packet information Loading
net/sched/cls_api.c +3 −3 Original line number Diff line number Diff line Loading @@ -482,7 +482,7 @@ EXPORT_SYMBOL(tcf_exts_destroy); int tcf_exts_validate(struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, struct tcf_ext_map *map) const struct tcf_ext_map *map) { memset(exts, 0, sizeof(*exts)); Loading Loading @@ -535,7 +535,7 @@ void tcf_exts_change(struct tcf_proto *tp, struct tcf_exts *dst, EXPORT_SYMBOL(tcf_exts_change); int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map) const struct tcf_ext_map *map) { #ifdef CONFIG_NET_CLS_ACT if (map->action && exts->action) { Loading Loading @@ -571,7 +571,7 @@ EXPORT_SYMBOL(tcf_exts_dump); int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts, struct tcf_ext_map *map) const struct tcf_ext_map *map) { #ifdef CONFIG_NET_CLS_ACT if (exts->action) Loading
net/sched/cls_basic.c +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ struct basic_filter struct list_head link; }; static struct tcf_ext_map basic_ext_map = { static const struct tcf_ext_map basic_ext_map = { .action = TCA_BASIC_ACT, .police = TCA_BASIC_POLICE }; Loading
net/sched/cls_fw.c +1 −1 Original line number Diff line number Diff line Loading @@ -47,7 +47,7 @@ struct fw_filter struct tcf_exts exts; }; static struct tcf_ext_map fw_ext_map = { static const struct tcf_ext_map fw_ext_map = { .action = TCA_FW_ACT, .police = TCA_FW_POLICE }; Loading
net/sched/cls_route.c +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ struct route4_filter #define ROUTE4_FAILURE ((struct route4_filter*)(-1L)) static struct tcf_ext_map route_ext_map = { static const struct tcf_ext_map route_ext_map = { .police = TCA_ROUTE4_POLICE, .action = TCA_ROUTE4_ACT }; Loading