summaryrefslogtreecommitdiff
path: root/src/network/networkd-ipv4ll.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-06-30 03:57:47 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-06-30 04:45:56 +0900
commitca5ad760a5ab5d8e281ef675dd703db30620d5a6 (patch)
treee1da39ebaa08302eb309f631fdb4af19feddd295 /src/network/networkd-ipv4ll.h
parent539bcc831b67a047e4e19469eb4471fc4ea024b6 (diff)
downloadsystemd-ca5ad760a5ab5d8e281ef675dd703db30620d5a6.tar.gz
network: move conf parsers and function prototypes
Diffstat (limited to 'src/network/networkd-ipv4ll.h')
-rw-r--r--src/network/networkd-ipv4ll.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/network/networkd-ipv4ll.h b/src/network/networkd-ipv4ll.h
new file mode 100644
index 0000000000..49b6fb56ad
--- /dev/null
+++ b/src/network/networkd-ipv4ll.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+#include "conf-parser.h"
+
+#define IPV4LL_ROUTE_METRIC 2048
+
+typedef struct Link Link;
+
+int ipv4ll_configure(Link *link);
+
+CONFIG_PARSER_PROTOTYPE(config_parse_ipv4ll);