noxiouz
f9ebd7bb06
network: extract link_get_bit_rates() into networkd-speed-meter.c
...
Move the bit-rate computation out of property_get_bit_rates() in
networkd-link-bus.c into a standalone link_get_bit_rates() helper in
networkd-speed-meter.c, which already owns the speed meter state.
Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-18 22:55:52 +00:00
Daan De Meyer
baa3fadfb7
network: Clean up includes
...
Split out of #37344 .
2025-05-22 02:15:43 +09:00
Daan De Meyer
1cf40697e3
tree-wide: Sort includes
...
This was done by running a locally built clang-format with
https://github.com/llvm/llvm-project/pull/137617 and
https://github.com/llvm/llvm-project/pull/137840 applied on all .c
and .h files.
2025-04-30 09:30:51 +02:00
David Tardon
995340074e
tree-wide: use ASSERT_PTR more
2022-09-13 08:13:27 +02:00
Zbigniew Jędrzejewski-Szmek
24c0f38591
sd-netlink: rename sd_netlink_message_request_dump to sd_netlink_message_set_request_dump
2022-08-19 11:52:25 +02:00
Yu Watanabe
6eab614db8
network: rename Manager::links -> Manager::links_by_index
...
This also renames link_get() -> link_get_by_index().
2021-07-01 00:49:02 +09:00
Susant Sahani
cda7fc8db3
network: tighten variable scope used in loop ( #18277 )
2021-01-17 15:38:33 +09:00
Yu Watanabe
db9ecf0501
license: LGPL-2.1+ -> LGPL-2.1-or-later
2020-11-09 13:23:58 +09:00
Zbigniew Jędrzejewski-Szmek
90e74a66e6
tree-wide: define iterator inside of the macro
2020-09-08 12:14:05 +02:00
Yu Watanabe
6a1af3d4ca
network: split out DBus related prototypes to networkd-link-bus.h
2019-06-16 09:13:12 +09:00
Yu Watanabe
a879e1a46e
network: monitor link bit rates
2019-06-01 10:24:47 +09:00