David Tardon
995340074e
tree-wide: use ASSERT_PTR more
2022-09-13 08:13:27 +02:00
Zbigniew Jędrzejewski-Szmek
891fc28b45
tree-wide: drop duplicated semicolons
2022-07-05 21:49:12 +02:00
Sebastian Pucilowski
f81ac115dc
Fix "link-local" language inconsistencies
...
"Link-local" and "link local" are used throughout man pages and program
output, with the former used far more than the latter. This commit makes
it consistent throughout the project.
2022-03-31 12:08:29 +02:00
Yu Watanabe
2b25f4eb23
network: move link_set_ipv6ll_stable_secret() to networkd-ipv6ll.c
2022-02-10 17:34:06 +09:00
Yu Watanabe
045d7232b5
Merge pull request #19852 from yuwata/network-stable-secret
...
network: introduce IPv6StableSecretAddress= to configure secret key for generating IPv6LL address
2021-06-09 12:30:57 +09:00
Yu Watanabe
e56e1a15b5
network: also adjust IPv6 MTU by the maximum MTU of the interface
2021-06-09 04:59:23 +09:00
Yu Watanabe
9e1432d5cc
network: introduce IPv6StableSecretAddress= setting
...
Previously, IPv6LinkLocalAddressGenerationMode= is not set, then we
define the address generation mode based on the result of reading
stable_secret sysctl value. This makes the mode is determined by whether
a secret address is specified in the new setting.
Closes #19622 .
2021-06-09 04:56:48 +09:00
Yu Watanabe
fa28381202
network: merge link_configure() and link_configure_continue() again
...
It is not necessary to stop whole configuration process until MTU and
IPv6LL address generation mode are set. But it is enough just setting
IPv6 MTU again after MTU is set, and dropping IPv6LL address after
setting the address generation mode.
2021-06-08 06:33:27 +09:00
Yu Watanabe
d8350b60e0
network: move logic for setting proxy_ndp sysctl to networkd-sysctl.c
2021-06-08 06:33:27 +09:00
Susant Sahani
d75bf6cfe2
network: Add "route_localnet" sysctl support
2021-02-18 21:04:17 +09:00
Florian Klink
d3ccb1b4ba
network: fix IPv6PrivacyExtensions=kernel handling
...
When set to "kernel", systemd is not supposed to touch that sysctl.
5e0534f1c1 , part of
https://github.com/systemd/systemd/pull/17240 forgot to handle that
case.
Fixes https://github.com/systemd/systemd/issues/18003
2020-12-24 08:54:20 +09:00
Florian Klink
7eeaf72b88
network: fix typo
...
IPv6 privacy extensions are plural, not singular.
2020-12-23 12:56:45 +01:00
Yu Watanabe
dca63b5b46
Merge pull request #17474 from yuwata/network-drop-link-deserialization-logic
...
network: drop link deserialization logic
2020-11-27 09:08:01 +09:00
Yu Watanabe
db9ecf0501
license: LGPL-2.1+ -> LGPL-2.1-or-later
2020-11-09 13:23:58 +09:00
Yu Watanabe
a41768533f
network: always enable sysctl property promote_secondaries
...
systemd-sysctl already enables promote_secondaries for all interface.
So, networkd also enables it unconditionally.
2020-10-28 15:44:10 +09:00
Yu Watanabe
9b3e49fc00
network: fix typo
2020-10-23 23:07:12 +09:00
Yu Watanabe
3773eb5485
network: introduce network_adjust_ipv6_accept_ra()
2020-10-15 07:06:36 +09:00
Yu Watanabe
5e0534f1c1
network: move sysctl related functions to networkd-sysctl.c
2020-10-07 02:50:51 +09:00