summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-02-10 20:38:56 +0900
committerGitHub <noreply@github.com>2022-02-10 20:38:56 +0900
commitac7e18be76a6069e29b01d13152256bc195cb639 (patch)
tree6d41166b165bf66d1c7652d9df96e014beaf81b6 /src/network/networkd-network.h
parent19ff06b3a4cb2a2e1612e5774f75a145995b4849 (diff)
parent2becdbccd1a8d377c67f3f00c6e34cf3e53e87c7 (diff)
downloadsystemd-ac7e18be76a6069e29b01d13152256bc195cb639.tar.gz
Merge pull request #22452 from yuwata/network-ipv6ll
network: use sysctl to set IPv6LL address generation mode when the interface is already up
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r--src/network/networkd-network.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index 1456cc12ef..47248f790b 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -18,6 +18,7 @@
#include "networkd-dhcp-common.h"
#include "networkd-dhcp4.h"
#include "networkd-dhcp6.h"
+#include "networkd-ipv6ll.h"
#include "networkd-lldp-rx.h"
#include "networkd-ndisc.h"
#include "networkd-radv.h"
@@ -38,15 +39,6 @@ typedef enum KeepConfiguration {
_KEEP_CONFIGURATION_INVALID = -EINVAL,
} KeepConfiguration;
-typedef enum IPv6LinkLocalAddressGenMode {
- IPV6_LINK_LOCAL_ADDRESSS_GEN_MODE_EUI64 = IN6_ADDR_GEN_MODE_EUI64,
- IPV6_LINK_LOCAL_ADDRESSS_GEN_MODE_NONE = IN6_ADDR_GEN_MODE_NONE,
- IPV6_LINK_LOCAL_ADDRESSS_GEN_MODE_STABLE_PRIVACY = IN6_ADDR_GEN_MODE_STABLE_PRIVACY,
- IPV6_LINK_LOCAL_ADDRESSS_GEN_MODE_RANDOM = IN6_ADDR_GEN_MODE_RANDOM,
- _IPV6_LINK_LOCAL_ADDRESS_GEN_MODE_MAX,
- _IPV6_LINK_LOCAL_ADDRESS_GEN_MODE_INVALID = -EINVAL,
-} IPv6LinkLocalAddressGenMode;
-
typedef enum ActivationPolicy {
ACTIVATION_POLICY_UP,
ACTIVATION_POLICY_ALWAYS_UP,
@@ -386,7 +378,6 @@ CONFIG_PARSER_PROTOTYPE(config_parse_ntp);
CONFIG_PARSER_PROTOTYPE(config_parse_required_for_online);
CONFIG_PARSER_PROTOTYPE(config_parse_required_family_for_online);
CONFIG_PARSER_PROTOTYPE(config_parse_keep_configuration);
-CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_link_local_address_gen_mode);
CONFIG_PARSER_PROTOTYPE(config_parse_activation_policy);
CONFIG_PARSER_PROTOTYPE(config_parse_link_group);
CONFIG_PARSER_PROTOTYPE(config_parse_ignore_carrier_loss);
@@ -396,8 +387,5 @@ const struct ConfigPerfItem* network_network_gperf_lookup(const char *key, GPERF
const char* keep_configuration_to_string(KeepConfiguration i) _const_;
KeepConfiguration keep_configuration_from_string(const char *s) _pure_;
-const char* ipv6_link_local_address_gen_mode_to_string(IPv6LinkLocalAddressGenMode s) _const_;
-IPv6LinkLocalAddressGenMode ipv6_link_local_address_gen_mode_from_string(const char *s) _pure_;
-
const char* activation_policy_to_string(ActivationPolicy i) _const_;
ActivationPolicy activation_policy_from_string(const char *s) _pure_;