chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
importd: create a loopback btrfs file system for /var/lib/machines, if necessary
[elogind.git]
/
src
/
libsystemd-network
/
network-internal.h
diff --git
a/src/libsystemd-network/network-internal.h
b/src/libsystemd-network/network-internal.h
index 981c4e0e213a1685bfe77886f923a2c185b0b73a..06aba893ceba9fa62f2bc755ec4432bd0fe09f42 100644
(file)
--- a/
src/libsystemd-network/network-internal.h
+++ b/
src/libsystemd-network/network-internal.h
@@
-21,18
+21,16
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <netinet/ether.h>
-#include <netinet/in.h>
#include <stdbool.h>
#include "udev.h"
#include "condition.h"
bool net_match_config(const struct ether_addr *match_mac,
#include <stdbool.h>
#include "udev.h"
#include "condition.h"
bool net_match_config(const struct ether_addr *match_mac,
- c
onst char
*match_path,
- c
onst char
*match_driver,
- c
onst char
*match_type,
- c
onst char
*match_name,
+ c
har * const
*match_path,
+ c
har * const
*match_driver,
+ c
har * const
*match_type,
+ c
har * const
*match_name,
Condition *match_host,
Condition *match_virt,
Condition *match_kernel,
Condition *match_host,
Condition *match_virt,
Condition *match_kernel,
@@
-42,8
+40,7
@@
bool net_match_config(const struct ether_addr *match_mac,
const char *dev_parent_driver,
const char *dev_driver,
const char *dev_type,
const char *dev_parent_driver,
const char *dev_driver,
const char *dev_type,
- const char *dev_name,
- bool ignore_name_match);
+ const char *dev_name);
int config_parse_net_condition(const char *unit, const char *filename, unsigned line,
const char *section, unsigned section_line, const char *lvalue,
int config_parse_net_condition(const char *unit, const char *filename, unsigned line,
const char *section, unsigned section_line, const char *lvalue,
@@
-57,6
+54,10
@@
int config_parse_ifname(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);
const char *section, unsigned section_line, const char *lvalue,
int ltype, const char *rvalue, void *data, void *userdata);
+int config_parse_ifnames(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_ifalias(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_ifalias(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);