Generic actions in tc(8) Linux Generic actions in tc(8) (NAME) tc-gact - (generic action) (SYNOPSIS) tc ... action gact CONTROL [ RAND ] [ INDEX ] CONTROL := { reclassify | drop | continue | pass | pipe | goto chain CHAIN_INDEX | jump JUMP_COUNT } RAND := random RANDTYPE CONTROL VAL RANDTYPE := { netrand | determ } VAL := JUMP_COUNT := INDEX := (DESCRIPTION) gact (reclassify) (drop) (pass pipe) (accept) . : (determ) (netrand). (OPTIONS) random RANDTYPE CONTROL VAL VAL . CONTROL tc . CONTROL tc-actions(8) . (EXAMPLES) (ingress) : # tc filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip src 10.0.0.9/32 flowid 1:16 action drop netrand: # tc filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip src 10.0.0.9/32 flowid 1:16 action drop random netrand ok 10 ( ): # tc filter add dev eth0 parent ffff: protocol ip prio 6 u32 match ip src 10.0.0.9/32 flowid 1:16 action drop random determ ok 2 (SEE ALSO) tc(8), tc-actions(8), tc-u32(8) iproute2 11 Jan 2023 Generic actions in tc(8)