]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: Add get_size64 and get_size64_and_cell
authorJay Vosburgh <jay.vosburgh@canonical.com>
Tue, 16 Sep 2025 21:57:29 +0000 (14:57 -0700)
committerDavid Ahern <dsahern@kernel.org>
Thu, 18 Sep 2025 02:18:49 +0000 (02:18 +0000)
commit8798ab4c4c0258bf69f787ce45aa94325e66ea6f
tree68cb901c068f7d2daa293bbadb0643c87ce46c2c
parent1ee417ac43ee02fdc4458a647f3cf2e4f8a48d65
tc: Add get_size64 and get_size64_and_cell

In preparation for accepting 64 bit burst sizes, create 64-bit
versions of get_size and get_size_and_cell.  The 32-bit versions become
wrappers around the 64-bit versions.

Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
include/utils.h
lib/utils_math.c
tc/tc_util.c
tc/tc_util.h