]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/tc_util.c
tc: actions: add helpers to parse and print control actions
authorJiri Pirko <jiri@mellanox.com>
Tue, 16 May 2017 17:29:36 +0000 (19:29 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 22 May 2017 20:31:51 +0000 (13:31 -0700)
commite67aba559581143f9bc34f0706b0c3feeeab08fa
treef246231af7d3102d087d7deb7e70c2e510cf109e
parent732f03461bc48cf94946ee3cc92ab5832862b989
tc: actions: add helpers to parse and print control actions

Each tc action is terminated by a control action. Each action parses and
prints then intividually. Introduce set of helpers and allow to share
this code.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
17 files changed:
tc/m_bpf.c
tc/m_connmark.c
tc/m_csum.c
tc/m_gact.c
tc/m_ife.c
tc/m_mirred.c
tc/m_nat.c
tc/m_pedit.c
tc/m_police.c
tc/m_sample.c
tc/m_simple.c
tc/m_skbedit.c
tc/m_skbmod.c
tc/m_tunnel_key.c
tc/m_vlan.c
tc/tc_util.c
tc/tc_util.h