diff options
Diffstat (limited to 'lib/route/cls')
-rw-r--r-- | lib/route/cls/basic.c | 2 | ||||
-rw-r--r-- | lib/route/cls/cgroup.c | 2 | ||||
-rw-r--r-- | lib/route/cls/fw.c | 2 | ||||
-rw-r--r-- | lib/route/cls/u32.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/route/cls/basic.c b/lib/route/cls/basic.c index 1460b72..f151807 100644 --- a/lib/route/cls/basic.c +++ b/lib/route/cls/basic.c @@ -67,7 +67,7 @@ static int basic_msg_parser(struct rtnl_cls *cls) struct rtnl_basic *basic = rtnl_cls_data(cls); int err; - err = tca_parse(tb, TCA_BASIC_MAX, (struct rtnl_tca *) cls, basic_policy); + err = tca_parse(tb, TCA_BASIC_MAX, (struct rtnl_tc *) cls, basic_policy); if (err < 0) return err; diff --git a/lib/route/cls/cgroup.c b/lib/route/cls/cgroup.c index e5f38b8..36ff4d4 100644 --- a/lib/route/cls/cgroup.c +++ b/lib/route/cls/cgroup.c @@ -47,7 +47,7 @@ static int cgroup_msg_parser(struct rtnl_cls *cls) struct nlattr *tb[TCA_CGROUP_MAX + 1]; int err; - err = tca_parse(tb, TCA_CGROUP_MAX, (struct rtnl_tca *) cls, + err = tca_parse(tb, TCA_CGROUP_MAX, (struct rtnl_tc *) cls, cgroup_policy); if (err < 0) return err; diff --git a/lib/route/cls/fw.c b/lib/route/cls/fw.c index 8cf25b9..b8055fe 100644 --- a/lib/route/cls/fw.c +++ b/lib/route/cls/fw.c @@ -44,7 +44,7 @@ static int fw_msg_parser(struct rtnl_cls *cls) struct nlattr *tb[TCA_FW_MAX + 1]; int err; - err = tca_parse(tb, TCA_FW_MAX, (struct rtnl_tca *) cls, fw_policy); + err = tca_parse(tb, TCA_FW_MAX, (struct rtnl_tc *) cls, fw_policy); if (err < 0) return err; diff --git a/lib/route/cls/u32.c b/lib/route/cls/u32.c index 80b8851..38214c9 100644 --- a/lib/route/cls/u32.c +++ b/lib/route/cls/u32.c @@ -70,7 +70,7 @@ static int u32_msg_parser(struct rtnl_cls *cls) struct nlattr *tb[TCA_U32_MAX + 1]; int err; - err = tca_parse(tb, TCA_U32_MAX, (struct rtnl_tca *) cls, u32_policy); + err = tca_parse(tb, TCA_U32_MAX, (struct rtnl_tc *) cls, u32_policy); if (err < 0) return err; @@ -345,7 +345,7 @@ void rtnl_u32_set_handle(struct rtnl_cls *cls, int htid, int hash, { uint32_t handle = (htid << 20) | (hash << 12) | nodeid; - tca_set_handle((struct rtnl_tca *) cls, handle ); + rtnl_tc_set_handle((struct rtnl_tc *) cls, handle ); } int rtnl_u32_set_classid(struct rtnl_cls *cls, uint32_t classid) |