summaryrefslogtreecommitdiff
path: root/src/network/netdev/ipvlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/ipvlan.h')
-rw-r--r--src/network/netdev/ipvlan.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/network/netdev/ipvlan.h b/src/network/netdev/ipvlan.h
index 8b698ebd1a..fb426d37e5 100644
--- a/src/network/netdev/ipvlan.h
+++ b/src/network/netdev/ipvlan.h
@@ -1,10 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
-
#include <linux/if_link.h>
-#include "missing.h"
+#include "missing_if_link.h"
#include "netdev/netdev.h"
typedef enum IPVlanMode {
@@ -39,5 +38,5 @@ IPVlanMode ipvlan_mode_from_string(const char *d) _pure_;
const char *ipvlan_flags_to_string(IPVlanFlags d) _const_;
IPVlanFlags ipvlan_flags_from_string(const char *d) _pure_;
-int config_parse_ipvlan_mode(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
-int config_parse_ipvlan_flags(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
+CONFIG_PARSER_PROTOTYPE(config_parse_ipvlan_mode);
+CONFIG_PARSER_PROTOTYPE(config_parse_ipvlan_flags);