net: sched: alias action flags with TCA_ACT_ prefix
authorVlad Buslov <vlad@buslov.dev>
Tue, 24 Nov 2020 16:40:54 +0000 (18:40 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Nov 2020 20:34:44 +0000 (12:34 -0800)
commitf460019b4c9e0389b932e1ca2c01b598c7ae769e
treecdf4ac42e90f0b3f178d16cbb13d0f096ce8e5e6
parentb6d69fc8e8cfd1694e709c16e6192339bde68923
net: sched: alias action flags with TCA_ACT_ prefix

Currently both filter and action flags use same "TCA_" prefix which makes
them hard to distinguish to code and confusing for users. Create aliases
for existing action flags constants with "TCA_ACT_" prefix.

Signed-off-by: Vlad Buslov <vlad@buslov.dev>
Link: https://lore.kernel.org/r/20201124164054.893168-1-vlad@buslov.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/rtnetlink.h
net/sched/act_api.c