android_kernel_sony_sdm845/include/uapi/linux/tc_act
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Qiaobin Fu 4cd2cb6b26 UPSTREAM: net:sched: add action inheritdsfield to skbedit
The new action inheritdsfield copies the field DS of
IPv4 and IPv6 packets into skb->priority. This enables
later classification of packets based on the DS field.

v5:
*Update the drop counter for TC_ACT_SHOT

v4:
*Not allow setting flags other than the expected ones.

*Allow dumping the pure flags.

v3:
*Use optional flags, so that it won't break old versions of tc.

*Allow users to set both SKBEDIT_F_PRIORITY and SKBEDIT_F_INHERITDSFIELD flags.

v2:
*Fix the style issue

*Move the code from skbmod to skbedit

Original idea by Jamal Hadi Salim <jhs@mojatatu.com>

Change-Id: I2bc4b3740326c5af902daef2fbd10c8b16fdaaaf
Signed-off-by: Qiaobin Fu <qiaobinf@bu.edu>
Reviewed-by: Michel Machado <michel@digirati.com.br>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:57:02 +07:00
..
tc_bpf.h UPSTREAM: bpf: expose prog id for cls_bpf and act_bpf 2026-05-15 17:54:51 +07:00
tc_connmark.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_csum.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_defact.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_gact.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_ife.h net sched ife action: Introduce skb tcindex metadata encap decap 2016-09-19 21:55:28 -04:00
tc_ipt.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_mirred.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_nat.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_pedit.h sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
tc_skbedit.h UPSTREAM: net:sched: add action inheritdsfield to skbedit 2026-05-15 17:57:02 +07:00
tc_skbmod.h net_sched: Introduce skbmod action 2016-09-15 19:33:47 -04:00
tc_tunnel_key.h net/sched: Introduce act_tunnel_key 2016-09-10 20:53:56 -07:00
tc_vlan.h net/sched: act_vlan: Introduce TCA_VLAN_ACT_MODIFY vlan action 2016-09-22 01:34:20 -04:00