diff options
author | Petr Machata <[email protected]> | 2020-03-02 19:56:02 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-03 17:03:52 -0800 |
commit | 84ea1f8541721c1852bc95f4d50a603c661eabc6 (patch) | |
tree | 1c47a1bbf2c49e7a478b71e820840faddd5a1fc6 /lib/test_overflow.c | |
parent | a29b56c45114bedfd4d016495b93b35c3468bd72 (diff) |
selftests: forwarding: lib: Add tc_rule_handle_stats_get()
The function tc_rule_stats_get() fetches a given statistic of a TC rule
given the rule preference. Another common way to reference a rule is using
its handle. Introduce a dual to the aforementioned function that gets a
statistic given rule handle.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Amit Cohen <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions